Can't pull custom security attributes when setting Dynamic User in Security Group

Ronald Loun 20 Reputation points
2024-10-07T13:41:27.71+00:00

I am trying to populate users into a Security group using custom security attributes with an attribute set of "site locations" when setting Dynamic User in Membership Type but it is failing.

I can pull the custom attributes from the user account from exchange using user.extensionAttribute1 -eq "Houston".

This does pull up the user however I do not want to go thru exchange and user account if I don't have to.

I would rather predefine custom security attribute that we can assign to users for different security groups and AU's

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,374 questions
Microsoft Intune Grouping
Microsoft Intune Grouping
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Grouping: The arrangement or formation of people or things in a group or groups.
61 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,274 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 108.6K Reputation points MVP
    2024-10-07T15:43:45.1266667+00:00

    You cannot currently leverage custom security attributes for Dynamic group membership filters. It's a common ask though, so Microsoft will hopefully include it in the future. In the meantime, best thing you can do here is vote the corresponding suggestion over at the Feedback portal: https://feedback.azure.com/d365community/idea/c766c341-2ec6-ec11-a81b-0022484ee92d

    1 person found this answer helpful.
    0 comments No comments

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.