Recommendations to automate user groups based on user employment type

Gary T 0 Reputation points
2025-04-04T14:48:15.5433333+00:00

Hi,

I’m sure others have encountered this issue before. I’m trying to assign users to separate Azure security groups based on their Employee Type property in Entra ID.

For example, I’d like users with "Full Time Employee" as their Employee Type to be dynamically added to a group called FTE, which grants access to apps intended only for full-time employees. I want to do something similar for contractors as well.

However, it seems that dynamic membership rules for security groups do not support the Employee Type attribute directly. Is there a workaround for this?

We are a fully cloud-based environment using Entra ID — no on-premises Active Directory.

Thanks in advance for any guidance!

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,187 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 116.7K Reputation points MVP
    2025-04-04T16:04:01.1033333+00:00

    That's correct, dynamic membership rules do not currently support the employeeType attribute. You have few options: create a static membership group instead, which you can periodically update via PowerShell/Graph API; use a different attribute if possible; if no suitable attribute exists, consider "copying" the value of employeeType to one of the extensionAttributeXX attributes, which are supported for dynamic membership rules.


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.