New-DistributionGroup is not recognized as a name of a cmdlet, function, script file, or executable program.
0 min
This issue occurred because Office365 Exchange Server Resource was not configured correctly. It was missing a PSCredentials parameter that is required to manage distribution lists in the cloud.