Cannot contact web site 'XXXX-admin.sharepoint.com' or the web site does not support SharePoint Online credentials
This error occurs if you have disabled the ability for non-modern (legacy) authentication protocols within your SharePoint Online tenant.
In order to migrate to a SharePoint Online Tenant, you must enable legacy authentication protocols. To enable legacy authentication protocols, run the following commands against your SharePoint Online tenant:
Connect-SPOService -URL https://XXXX-admin.sharepoint.com
Set-SPOTenant -LegacyAuthProtocolsEnabled $True
- Log in to the Office 365 Admin Center.
- On the left side of the portal, expand Admin Centers and click SharePoint.
- Take note of the URL in the address bar.