How to tell if a distribution group synced from on premise or O365

There is a boolean attribute for “IsDirSynced” which states if the object is sync’d from on-premise Active Directory rather than being created through Exchange Online / O365.

As such you can use the following powershell command from Exchange Online to view all groups that have been created directly in O365, and therefore can’t be managed via AD groups.

Get-DistributionGroup | ?{$_.IsDirSynced -eq $false}

Total Views: (7)

Leave a Reply

Your email address will not be published. Required fields are marked *

Connect with Facebook

*