Forum Discussion
OneDrive Sharing and Graph "/invite" Endpoint Now Creating Guest Users?
- Jan 16, 2025
I was able to determine that this has to do with https://learn.microsoft.com/en-us/sharepoint/sharepoint-azureb2b-integration.
I could not find a way to disable the integration on the Entra portal, but the article linked above gave me a Powershell command to do it (with the "Sharepoint Online Management" module):
Connect-SPOService -Url https://{tenant}-admin.sharepoint.com
Set-SPOTenant -EnableAzureADB2BIntegration $falseI am now able to share with external users without them automatically being added as guests, and requiring granting permissions and MFA setup.
I was able to determine that this has to do with https://learn.microsoft.com/en-us/sharepoint/sharepoint-azureb2b-integration.
I could not find a way to disable the integration on the Entra portal, but the article linked above gave me a Powershell command to do it (with the "Sharepoint Online Management" module):
Connect-SPOService -Url https://{tenant}-admin.sharepoint.com
Set-SPOTenant -EnableAzureADB2BIntegration $false
I am now able to share with external users without them automatically being added as guests, and requiring granting permissions and MFA setup.