Creates an OAuth session and returns the Microsoft authorization URL. The user should be redirected to auth_url to complete the OAuth flow. Poll the status endpoint to check for completion.
Special rate limits (stricter than the standard API rate limit) to comply with upstream Microsoft rate limits:
If Microsoft’s upstream OAuth service is temporarily unavailable, requests may return 503.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Default Response
Session ID for polling status
"abc123def456"
Microsoft authorization URL to redirect user to
"https://login.microsoftonline.com/common/oauth2/v2.0/authorize?..."
Session expiry time (10 minutes from creation)
"2026-01-14T12:30:00.000Z"