What is dynamicMembershipPriority for Entra Groups?

  • Post author:
  • Post category:Microsoft Entra / News
  • Post last modified:
  • Reading time:2 mins read
  • Post published:

My MS Graph Permissions tool again picked up a new Microsoft Graph endpoint before Microsoft have documented it. While checking changes to Group.ReadWrite.All, I found

GET /groups/dynamicMembershipProcessingStatus(state{value},dynamicMembershipPriority={value})

Its name suggests Entra can filter dynamic groups by processing state and an internal priority, but the public Graph documentation does not explain the endpoint or dynamicMembershipPriority just yet.

Also, a commit to Azure Service Operator, merged around 14 hours before I began writing this article, switched its Entra group code to the beta Graph SDK and refreshed its test recordings. The recordings contain a Graph response link labelled PrivatePreview:dynamicMembershipPriority, with dates from April to May 2024, although I think this may just be a default placeholder. Although if not, the date range suggests the concept predates the commit. Its visibility through current metadata and API responses is the most recent part, but not necessarily the service behaviour behind it.

What the beta API returns

I did a little more digging on this property, and as usual, started with the requests that the Entra portal makes to Microsoft Graph. I noticed that the requests that the portal makes to get groups included the dynamicMembershipPriority, however this isn’t returned by default without specifying it in the GET request.

So, I then selected the property directly from Graph beta:

GET https://graph.microsoft.com/beta/groups?$select=id,displayName,dynamicMembershipPriority,groupTypes

Across my dynamic groups, Graph returned high for some values of the dynamicMembershipPriority property, and null value for others. Microsoft does not yet document this property on the public documentation for groups, so there is no official description of it yet.

Priority does not map neatly to rule type

I compared groups marked high with those returning a null value and found no reliable correlation between then. My current theory is that Entra assigns a processing score from a rule’s operators and complexity, then uses it to schedule recalculation of those processing rules. The endpoint’s two parameters fit that idea but they do not prove how Microsoft assigns priority.

I wondered whether it related to the memberOf rule retirement. Microsoft says memberOf rules can slow processing across a tenant, yet groups still using the operator could also return a high priority. The value does not map neatly to that rule type though, and current evidence does not show that a high priority means a group will process faster.

For now, you should treat dynamicMembershipPriority as an undocumented service value rather than a setting you can configure.

Daniel Bradley

Daniel Bradley is a UK-based technical architect and Microsoft MVP in Security. He specialises in Microsoft Entra, Intune, and Microsoft Graph PowerShell and is the author of Microsoft Graph PowerShell for Administrators. He writes and edits Our Cloud Network using experience gained from working with Microsoft cloud environments.

Leave a Reply