Open sdfarquhar opened 7 months ago
Please use Connect-M365Tenant as an alternative. As soon as there is a connection present, this will be reused.
Hi Andi, I have started using this command to test but I still want to point out that in Azure Automations with managed identity this still fails (server timeout) to connect. The only workaround or partial workaround is to do a "connect-exchangeonline" first to establish a connection. This was not the case several weeks ago, so I really believe MS has changed something within the Azure Automation that is causing these connection timeouts. I just tested again with the most current release, 1.1.2, of the MSCloudLoginAssistant and it times out as well unless I pre-connect to Exchange online.
Connect-M365Tenant -Workload ExchangeOnline -TenantID mytenant.onmicrosoft.com -Identity -Verbose -Debug
Connect-ExchangeOnline -ManagedIdentity -Organization mytenant.onmicrosoft.com Connect-M365Tenant -Workload ExchangeOnline -TenantID mytenant.onmicrosoft.com -Identity -Verbose -Debug
It looks like the "Test-MSCloudLogin" cmdlet was removed from this most recent release (1.1.0)?