Forum Discussion

DougTraylor's avatar
DougTraylor
Copper Contributor
Mar 24, 2020
Solved

Create an Office 365 Dynamic Distribution List from members of an Azure AD Security Group

Greetings.  We are trying to create a DDL from an on premise AD security group that is replicating to our Azure AD.  I have checked the Azure group, and it has all 3050 users in it that the OnPrem gr...
  • VasilMichev's avatar
    Mar 25, 2020

    What you need to provide for the MemberOfGroup filter is the DistinguishedName of the group, which you can get from Get-Group/Get-DistributionGroup/etc. And yes, it does differ between on-premises and the cloud.

     

    If your group is not mail-enabled though, chances are you will not be able to "see" it with any of the Exchange cmdlets, so that method will not work. 

Resources