Articles in this section

Plesk OneDrive backups fail with OneDrive Business: Microsoft OneDrive returns the error: Unauthenticated

Plesk for Windows Plesk for Linux kb: technical ext: onedrive

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Symptoms

  • The OneDrive backup Plesk extension is configured with a OneDrive business account
  • OneDrive backups fail and show this error in Plesk on both new and existing domains

    Unable to create the remote backup: Transport error: Extension transport: ext://one-drive-backup/subscription/31/: Microsoft OneDrive returns the error: Unauthenticated

  • This error is logged to the backup session logs: /var/log/plesk/PMM/backup-YYYY-MM-DD-hh-mm-ss-id/backup.log

    INFO: TransportError Transport error: Extension transport: ext://one-drive-backup/subscription/31: Required parameter not passed: "refresh_token" [common/plesk-utils/PMM/repository-transport/repository_transport_external.cpp:TransportError] void plesk::RepositoryTransportExternal::HandleHelperExitCode(plesk::tLogExecCmd&)
    INFO: RepositoryError Repository error: file backup_example.com_2501160942.tar not exists

Cause

Conditional Access policies configured in Microsoft Entra ID (formerly known as Azure Active Directory) are restricting access to OneDrive from specific locations or IP addresses.

Resolution

Check the Conditional Access policies in Microsoft Entra ID and ensure that none are blocking access to OneDrive from the server's current location or IP address.

Reference: PPS-17269

Was this article helpful?

Comments

3 comments
Date Votes
  • Why don't you mention, that you NEEED AN MICROSOFT BUSINESS ACCOUNT in order to register for an Microsoft Entra ID? I wasted THREE hours now to find out why that stupid Microsoft OneDrive remote backup you offer with the "Backup to Cloud Pro" Extension DOES NOT WORK!!!!

    -1
  • In my case, it has been working with a normal Onedrive account but suddenly it stopped working a week ago, my hosting company has told me to write here to see if someone can help me.

    3
  • This is not a solution to the problem. Please fix it. You are charging for a service that does not work.

    -1

Please sign in to leave a comment.