Dynamic Unifed group

Glenn Maxwell 10,751 Reputation points
2020-07-27T18:02:48.387+00:00

Hi Experts

I am using exchange hybrid environment, i have custom attributes in AD for all users which are synced to Azure AD. For example
I have manager Tim, Time reports to Roger and Roger Reports to John, i want to create dynamic unified group for Johns Organization,please help me with the syntax. i have permanent employees who employee ids stats with 5000, for example 5000,5001 and temporary employee whose employee ids starts with T1000, T1001

for example user todd has this AD attribute in extensionAttribute05---|John|Roger|<Tim>|

How do i use the below information and create a query to build unified group.

John Temporary-----(user.extensionAttribute05 -like 'John') and (user.employeeId -like 'T*')
John Permanent-----(user.extensionAttribute05 -like 'John') and (user.employeeId -notlike 'T*')

13962-tes.jpg

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,368 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,488 questions
{count} votes

6 additional answers

Sort by: Most helpful
  1. Glenn Maxwell 10,751 Reputation points
    2020-07-28T13:58:47.517+00:00

    i have the below dynamic membership rule but i am not getting any users populated
    (user.extensionAttribute10 -eq "'john'") and (user.employeeId -ne "'T*'")

    0 comments No comments

  2. Glenn Maxwell 10,751 Reputation points
    2020-07-29T03:18:00.88+00:00

    will the below query work, becoz no members have been found
    14145-test2.jpg

    0 comments No comments