Azure AD Dynamics Groups

Jerome L 201 Reputation points
2020-04-20T14:36:41.473+00:00

I tried looking online and can't find anything... is there a way to set the dynamic rules using PowerShell or Microsoft Graph?

https://learn.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-dynamic-membership

Thanks!

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,090 questions
0 comments No comments
{count} votes

2 additional answers

Sort by: Most helpful
  1. Jerome L 201 Reputation points
    2020-04-20T16:08:46.653+00:00

    Just a follow up for those who can come across this. If you received the error below, the command isn't part of the regular AzureAD module yet. You have to remove the current module, then install preview.

    (Run it with admin rights)

    Uninstall-Module -Name AzureAD
    Install-Module -Name AzureADPreview -force
    

    Error I received when I had the regular module:

    New-AzureADMSGroup : A parameter cannot be found that matches parameter name 'MembershipRule'.
    
    1 person found this answer helpful.

  2. Jerome L 201 Reputation points
    2020-04-20T15:07:15.597+00:00

    Ahhh I should have included "Azure AD" with my search terms. Perfect, thanks!

    0 comments No comments