Skip to content

Let people choose the Microsoft account they connect - #441

Merged
tnkuehne merged 1 commit into
mainfrom
microsoft-select-account
Nov 26, 2026
Merged

tnkuehne merged 1 commit into
mainfrom
microsoft-select-account

Conversation

@tnkuehne

Copy link
Copy Markdown
Contributor

Many people sign in to Microsoft with more than one account, for example a normal account and an administrator account with different security roles. Without prompt, Microsoft may silently use whichever account the browser session holds, so a template could act with the wrong account's permissions.

The Dataverse, Outlook, OneDrive, Teams and Excel templates now send prompt: "select_account" when someone connects their own Microsoft application, as the Google templates already do with select_account consent. Each template's tests check that the authorization address carries the prompt.

Connections through the managed Microsoft client get their authorization options from the installation's OAuth client configuration, not from the template.

Connecting a Microsoft template asks Microsoft to show its account picker,
as the Google templates do, so someone signed in with several accounts, such
as a normal and an administrator account, connects the one they choose
instead of whichever the browser's session holds.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
widefleet-docs 321a368 Nov 26 2026, 11:39 PM

@tnkuehne
tnkuehne merged commit 893dd74 into main Nov 26, 2026
11 checks passed
@tnkuehne
tnkuehne deleted the microsoft-select-account branch November 26, 2026 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant