Your organization uses Microsoft Entra ID. You need to ensure that guest users can only access specific applications and cannot browse the directory for other users. What should you configure?
Trap 1: Enable 'Restrict access to Microsoft Entra administration portal'…
While this setting prevents guests from accessing the Azure management portal, it does not prevent them from using Microsoft Graph API or PowerShell to enumerate directory objects if their permissions allow. It is a management portal restriction, not a comprehensive directory visibility restriction for guest users.
Trap 2: Create a Conditional Access policy that blocks guests from…
Conditional Access policies cannot block specific API endpoints like the Microsoft Graph directly in this granular manner. While you can block access to specific cloud apps, it does not effectively hide directory objects from guests who have legitimate access to other internal applications that query the directory.
Trap 3: Disable the 'Invite guests' setting in the External Collaboration…
Disabling the invite guests setting would prevent you from adding new guests entirely, rather than restricting the permissions of guests already present in your tenant. This solution breaks business workflows rather than enforcing the principle of least privilege for users who are already part of your ecosystem.
- A
Set Guest user access to 'Guest users have limited access to properties and memberships of directory objects'.
This setting restricts guest users to only viewing their own profile and objects they are explicitly assigned to. It prevents them from enumerating other users, groups, or enterprise applications in the directory, which is a vital security hardening step for organizations inviting external partners or contractors to collaborate.
- B
Enable 'Restrict access to Microsoft Entra administration portal' for all guest accounts.
Why wrong: While this setting prevents guests from accessing the Azure management portal, it does not prevent them from using Microsoft Graph API or PowerShell to enumerate directory objects if their permissions allow. It is a management portal restriction, not a comprehensive directory visibility restriction for guest users.
- C
Create a Conditional Access policy that blocks guests from accessing the Microsoft Graph API.
Why wrong: Conditional Access policies cannot block specific API endpoints like the Microsoft Graph directly in this granular manner. While you can block access to specific cloud apps, it does not effectively hide directory objects from guests who have legitimate access to other internal applications that query the directory.
- D
Disable the 'Invite guests' setting in the External Collaboration settings menu.
Why wrong: Disabling the invite guests setting would prevent you from adding new guests entirely, rather than restricting the permissions of guests already present in your tenant. This solution breaks business workflows rather than enforcing the principle of least privilege for users who are already part of your ecosystem.