Complete Microsoft tenant-wide admin consent

Microsoft redirects the administrator here from the adminconsent endpoint, then from an OpenID authorize hop that returns an authorization code. Signed state binds the response to its pending Company connection. Activation redeems that code for the signed-in tenant and stores that token's tid only when a customer-tenant application token includes Calendars.ReadWrite. The unsigned tenant query is not used to choose the tenant.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required
uuid

Unsigned Microsoft tenant hint from the adminconsent redirect. Ignored for binding. A mismatch with the redeemed code's tid is rejected.

string

Microsoft authorization code from the OpenID authorize hop. Required to activate. The stored tenant is that token's tid.

string
Responses

302

Adminconsent succeeded without a code. Redirects to Microsoft authorize so this session can return an authorization code.

400

Consent denied, expired, replayed, or invalid.

409

This Microsoft tenant is already connected to another Company.

424

Microsoft permission verification failed.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json