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 Security | Microsoft Entra | Microsoft Entra ID

1 answer

Sort by: Most helpful
  1. Vasil Michev 127.8K Reputation points MVP Volunteer Moderator
    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.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.