You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Value cannot be null.
Parameter name: Organization cannot be null for Managed Identity based connections.
At C:\Program Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\3.4.0\netFramework\ExchangeOnlineManagement.psm1:762 char:21
+ throw $_.Exception.InnerException;
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [], ArgumentNullException
+ FullyQualifiedErrorId : Value cannot be null.
Parameter name: Organization cannot be null for Managed Identity based connections.
Unfortunately, the error handling obfuscates the real error.
In case of the error, Get-MSCloudLoginOrganizationName does not return anything.
Get-MSCloudLoginOrganizationName-Identity
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: