How to create a dynamic group using "Employee org data"

Sam Campbell 0 Reputation points
2025-08-11T19:02:55.6266667+00:00

Hello,

I am looking to create a dynamic group within Entra ID that is based on the "Employee org data" fields within user's profiles. Specifically, I could like to use the "Cost center" sub-value within this field.

These are currently being populated by our HRIS, however I have not been able to access information under "Employee org data" by dynamic group rules.

I have tried using various syntax such as:

user.employeeOrgData.costCenter -eq "100"


or

user.costCenter -eq "100"

However, it doesn't appear that these fields are accessible. I haven't been able to find documentation that confirms whether or not these fields are accessible via dynamic rules so I wanted to ask the community.

Are "employee org data" fields available to dynamic group rules, and if so, what is the syntax?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Swaroop Kolli 3,345 Reputation points Microsoft External Staff Moderator
    2025-08-12T05:24:25.5066667+00:00

    Hello @Sam Campbell,

    Unfortunately, Entra ID dynamic groups cannot be built by querying employeeOrgData fields i.e., attributes like Cost Center are not accessible in Azure AD dynamic group rules.

    Please find the properties in the below document which are supported for Dynamic Groups

    https://learn.microsoft.com/en-us/entra/identity/users/groups-dynamic-membership?utm_source=chatgpt.com#supported-properties

    The only workaround at the moment is to create custom attributes to users and make the value as the value of the cost center attribute and use it for dynamic groups.

    Unfortunately, we had hit the limitation, we always look to improve and would love to hear your thoughts. If you have any ideas or feedback on the feature in the question, please let us know your idea in the below given portal and our development team would be constantly monitoring them. https://feedbackportal.microsoft.com/feedback


    If this answered your queries, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

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.