Cannot contact web site '' or the web site does not support SharePoint Online credentials




  • Avatar
    Britton Karon

    Using $UserCredential = Get-Credential throws the legacy login window. By using this, you are prevented from using the modern login. As such, the script above fails. The script above works if you eliminate the credentials piece:

    Connect-SPOService -URL
    Set-SPOTenant -LegacyAuthProtocolsEnabled $True


  • Avatar
    Britton Karon

    After you do the Set-SPOTenant -LegacyAuthProtocolsEnabled $True, you might get the following error:

    Your migration failed checking source credentials. The Application ID (AppID) for which the service ticket is requested does not exist on the system.

    This means your admin account needs to an OnMicrosoft account. That is,


  • Avatar
    Rob Latino

    Hi Britton Karon,

    I'm going to run this feedback by our technical SMEs and validation team and will update the article accordingly when ready. I'll follow up in these comments once the article is updated. We appreciate your feedback.

Please sign in to leave a comment.