Remediation
From Azure Portalβ
- From Azure Home select the Portal Menu.
- Select
Microsoft Entra ID
. - Then
External Identities
. - Select
External collaboration settings
. - Under
Guest user access
, changeGuest user access restrictions
to beGuest user access is restricted to properties and memberships of their own directory objects
.
From PowerShellβ
- From a PowerShell session enter:
Set-AzureADMSAuthorizationPolicy -GuestUserRoleId '2af84b1e-32c8-42b7-82bc-daa82404023b'
- Check that the setting was applied by entering:
Get-AzureADMSAuthorizationPolicy
- Make certain that the
GuestUserRoleId
is equal to the earlier entered value of2af84b1e-32c8-42b7-82bc-daa82404023b
.