Forum Discussion
semangard-post
Sep 05, 2022Copper Contributor
How to apply a M365 cloud policy to all users (except guests) ?
Hello, I would like to know what is the easiest way to assign a M365 cloud policy to all the users of an Azure AD (except guests). It seems the policy can be assigned currently only to a security g...
mikhailf
Sep 06, 2022Steel Contributor
Hello semangard-post ,
You can try to create a dynamic user group with the following rule "(user.mail -contains "yourdomain.com")". This will add to the group all users with email addresses in your domain, but won't add external/guest users.