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.
- For guidance on configuring these policies, review Microsoft's documentation.
- Contact Microsoft Support if there are questions about configuring these policies or the issue persists after changing them.
Reference: PPS-17269
Comments
3 comments
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.
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!!!!
This is not a solution to the problem. Please fix it. You are charging for a service that does not work.
Please sign in to leave a comment.