question

SrbhTheComputerGuy-6169 avatar image
0 Votes"
SrbhTheComputerGuy-6169 asked ·

Find distribution groups that have nested dynamic distribution groups

This is a 2 part question; We are planning to move all of our on premises dynamic distribution groups to Office 365. For this this activity we create a DDG with similar configuration on the O365 with prefix "new-onpremDDG" and later we add prefix "notused-onpremDDG" on the on premise DDG in on-prem and its corresponding cloud contact. In the due course, we remove the prefix "new-" from the cloud based DDG and thats how we are moving them. Our eventual goal is to get rid of the on-premises DDG and its corresponding cloud contact objects.

Q1) So the question here is, if at all an on premise DDG is member of a distribution group; will that distribution group get affected since its member DDG now has a new object with same email address?

Q2) Is there a powershell script to determine the Distribution groups that have nested DDG's as members.

office-exchange-online-itprooffice-itprooffice-exchange-hybrid-itpro
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LucasLiu-MSFT avatar image
0 Votes"
LucasLiu-MSFT answered ·

Hi @SrbhTheComputerGuy-6169 ,
1.According to my test, I create a new Dynamic distributoin group in Office 365, and set it display name and email address to be the same as a dynamic distriobution group in on-premises Exchange server. When I send an email to this email address, both dynamic distribution group received email. If you do not delete the dynamic distribution group with the same email address in the on-premises Exchange server. Then the mail sent to the dynamic distribution group in Office 365 may be accidentally sent to other recipients.

2.According to me research and test, I found a script could export all distribution group and all members in Exchange and Offcie 365. You could judge whether the distribution group is nested dynamic distribution group according to the exported members.
For more information: Export all distribution Group and all members in Exchange and Office 365
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
75691-1.png



If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.





1.png (20.4 KiB)
·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.