Open raandree opened 15 hours ago
Reason for this bug is that Get-MSCloudLoginOrganizationName
uses Get-MgDomain
internally. Get-MgDomain
is defined in Microsoft.Graph.Identity.DirectoryManagement
but this module is not a dependency of Microsoft365DSC
.
When trying to connect to ExchangeOnline using
Connect-M365Tenant
you may get the following error:
Unfortunately, the error handling obfuscates the real error.
In case of the error,
Get-MSCloudLoginOrganizationName
does not return anything.