Skip to content

v1.70.[0-2] in Azure: copy from BLOB to BLOB fails with “ManagedIdentityCredential.GetToken() requires exactly one scope” #8662

@Konstantin-Denin

Description

@Konstantin-Denin

The associated forum post URL from https://forum.rclone.org

https://forum.rclone.org/t/v1-70-0-2-in-azure-copy-from-blob-to-blob-fails-with-managedidentitycredential-gettoken-requires-exactly-one-scope/51773/1

What is the problem you are having with rclone?

Rclone copy from one Azure BLOB to another Azure BLOB fails with "ManagedIdentityCredential.GetToken() requires exactly one scope"
Issue occurs starting v1.70.0.
Versions 1.69.3 and lower are not affected.

What is your rclone version (output from rclone version)

rclone v1.70.2
- os/version: oracle 8.10 (64 bit)
- os/kernel: 5.15.0-307.178.5.el8uek.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.24.4
- go/linking: static
- go/tags: none

Which OS you are using and how many bits (e.g. Windows 7, 64 bit)

Oracle Linux 8.10

Which cloud storage system are you using? (e.g. Google Drive)

Azure BLOB

The command you were trying to run (e.g. rclone copy /tmp remote:tmp)

/bin/rclone copy -cvvP --stats=1m --transfers=1 --min-age=1m --no-traverse --retries 1 --dump bodies --log-file=/backup/logs/az_upload_config_backuphost_2025-07-04_04_25_53.log blob1:backup/ncw_testcase blob2:backup/ncw_testcase

A log from the command with the -vv flag (e.g. output from rclone -vv copy /tmp remote:tmp)

az_upload_backup-1_2025-07-04_04_25_53_redacted.log
Corporate info (BLOB, container, directory, file names) is replaced with dummy values due to security reasons.

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions