Assistance with Dynamic Membership

Isaac Viruet 20 Reputation points
2024-07-10T16:40:44.45+00:00

Hi,

I created a dynamic security group in Azure and am trying to see if i can get membership to the group based on the suffix (@suffix.com). I've tried selecting User Principal Name, but it doesn't take.

Assistance is appreciated!

Best,

IV

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
5,072 questions
Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
706 questions
Microsoft Entra
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 107.3K Reputation points MVP
    2024-07-11T06:55:42.2933333+00:00

    If the idea is to have "domain-based" membership, you can use something like this for the rule:

    (user.userPrincipalName -Contains "tenant.onmicrosoft.com") -and (user.userType -ne "Guest")
    

    I've used the default domain as example, replace it as needed.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.