Repository navigation
Fix single-tenant authentication redirect URI handling and add administrator consent support - #3745
Merged
Merged
Conversation
…strator consent support Fix authentication URL generation when `azure_tenant_id` is configured and the default OneDrive Client for Linux application registration is being used. Changes include: * Fix redirect URI generation for single-tenant authentication when using the default application registration * Retain the registered Microsoft Identity Platform native-client redirect URI: `https://login.microsoftonline.com/common/oauth2/nativeclient` * Add the `--display-admin-consent-url` CLI option * Generate tenant-specific Microsoft Entra ID administrator consent URLs * Improve documentation for `azure_tenant_id` * Add documentation covering Microsoft Entra ID administrator consent workflows and tenant-wide application approval These changes resolve Microsoft Entra ID authentication failures reporting `AADSTS50011` when using `azure_tenant_id` with the default application registration and provide a documented workflow for administrator consent in managed Microsoft 365 and Microsoft Entra ID environments.
Business Account Shared Folder Testing5 Test Cases Run |
Personal Account Shared Folder Testing3 Test Cases Run |
Sharepoint Account Testing64 Test Cases Run |
Business Account Testing64 Test Cases Run |
Personal Account Testing - 15 Character 'driveId'64 Test Cases Run |
Personal Account Testing1 Test Cases Run |
Owner
Author
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Repository owner
locked and limited conversation to collaborators
Jun 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix authentication URL generation when
azure_tenant_idis configured and the default OneDrive Client for Linux application registration is being used.Changes include:
https://login.microsoftonline.com/common/oauth2/nativeclient--display-admin-consent-urlCLI optionazure_tenant_idThese changes resolve Microsoft Entra ID authentication failures reporting
AADSTS50011when usingazure_tenant_idwith the default application registration and provide a documented workflow for administrator consent in managed Microsoft 365 and Microsoft Entra ID environments.