When doing the provision, either of the following error messages may be encountered:
"Cannot contact web site 'https://xxx-admin.sharepoint.com/"
"The web site does not support SharePoint Online credentials. The response status code is 'Unauthorized'.”
This issue happens when the legacy auhentication protocols has been disabled.
To fix the issue, do the steps below:
- Open SharePoint Admin Center.
- Click Access Control.
- Under the “Control access from apps that don't use modern authentication” section, select Allow.
- Click OK to apply the changes.