Jump to content

Recommended Posts

Posted

Hi all

 

I have created a new group (Dynamic User) in Azure AD and am having some issues getting the rule syntax to work as expected. Firstly I add user.memberof -any (group.objectId -in ['xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx']) which works fine to pull in members from another group but then I need to pull in members from an additional group and it just will not work if I put -or in between. Has anyone had to do this before that has suceeded atall?

Posted
Hi all

 

I have created a new group (Dynamic User) in Azure AD and am having some issues getting the rule syntax to work as expected. Firstly I add user.memberof -any (group.objectId -in ['xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx']) which works fine to pull in members from another group but then I need to pull in members from an additional group and it just will not work if I put -or in between. Has anyone had to do this before that has suceeded atall?

 

 

Try it like this and it should add users from both groups into the new group. user.memberof -any (group.objectId -in ['xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'])

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...