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 restrictionsto 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
GuestUserRoleIdis equal to the earlier entered value of2af84b1e-32c8-42b7-82bc-daa82404023b.