Last updated: 26 May 26 03:29:06 (UTC)

Creating Microsft client ID and secret

The instructions provided are correct for obtaining a unique Client ID and Client Secret to use with rclone for Microsoft OneDrive or Azure Blob Storage.

The key steps are:

  1. Register a new application in the Azure Portal under Microsoft Entra ID > App registrations.
  2. Set the Supported account types to include personal Microsoft accounts (for OneDrive) and set a Redirect URI of http://localhost:53682.
  3. After registration, copy the Application (client) ID.
  4. Under Certificates & secrets, create a new Client Secret, set its expiration (e.g., 24 months), and copy the generated Value (this is your Client Secret).
  5. For full access, add the required API permissions (e.g., Files.ReadWrite.All, offline_access) under API permissions and grant admin consent.