The script performs a lot of saftey checks to make sure the groups are ready to go.
Recently a commenter discovered that you could get to the point where the group was created - but when the on premsies SMTP addresses would be added it would fail indicating a domain was not an accepted domain. It is possible that the on premises organization has one or more accepted domains that are not in Exchange Online.
The script now does a pre-req check to ensure that all accepted domains that represent email addresses on the object are accepted domains in exchange online. Current behavior if one is found broken is to abend and rely on the administrator to handle.
The script performs a lot of saftey checks to make sure the groups are ready to go.
Recently a commenter discovered that you could get to the point where the group was created - but when the on premsies SMTP addresses would be added it would fail indicating a domain was not an accepted domain. It is possible that the on premises organization has one or more accepted domains that are not in Exchange Online.
The script now does a pre-req check to ensure that all accepted domains that represent email addresses on the object are accepted domains in exchange online. Current behavior if one is found broken is to abend and rely on the administrator to handle.