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.