This Entra ID blog post will show how to create an Entra ID dynamic group using an extension attribute.
In our previous Entra ID blog post, we showed how to create a custom extension attribute using Entra ID using Graph API.
After creating a custom extension attribute, the most common use case is to create a dynamic Entra ID group that will add members to the group based on membership.
Create Entra ID Dynamic Group using Extension Attribute
Entra ID P1 and P2 licenses allow Microsoft 365 and Azure customers to create dynamic groups based on membership rules that can include department names, locations, and extension attributes.
To create a dynamic group in Entra ID, Open the Entra ID portal (https://entra.microsoft.com)
Click on Groups and select New Group to create a new group.
From the New Group page, Click on Add dynamic query to create a dynamic rule based on extension attribute.
On the Configure Rules page, add the extension attribute’s name (see previous article) and set the operator and value.
The extension attribute name should look like this:
(user.extension_f23c589766cbjuhtf883feff44aab967e_Test_Extension -eq "test")
When done, click on save.
To view the group members, wait 15-20 minutes while Entra ID expends the group membership and click on the members button.
Related Articles
If your organisation needs assistance with Entra ID don’t hesitate to get in touch with us to find out how we can help.
Trackbacks/Pingbacks