Guest users in Entra ID are classified with a user type of Guest
. These are users who are invited to your organization but are not part of your tenant.
User Type = Guest
.Open Conditional Access: Navigate to Azure Active Directory > Security > Conditional Access.
Create a New Policy: Click New Policy and give it a descriptive name, e.g., "Restrict Guest Access to Power Pages."
Assignments: Users or workload identities:Select Include > All Guests and External Users. Cloud Apps or Actions: Choose Select apps and select the Power Pages application associated with your portal. If unsure, look for the app in Enterprise Applications > Your Power Pages Application. Conditions (Optional): Add conditions like device state or location to further refine access controls.
Access Controls: Grant: Select Block access to prevent guest users from accessing the Power Pages site.
Enable the Policy: Turn the policy On and save it.