How to apply a M365 cloud policy to all users (except guests) ?

Copper Contributor

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 group.

So it is not possible to assign it to the M365 group like "All Company".

How should I proceed to target all the users of my company ?

Regards

screen1.png

1 Reply

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.