authenticate
Authenticate with Power BI using OAuth 2.0 device code flow. Start by obtaining a URL and one-time code, then complete sign-in. Cached credentials last approximately 90 days.
Instructions
Authenticate with Power BI using the OAuth 2.0 device code flow.
Call this tool first if you have never logged in, or if a previous call returned "Not authenticated".
The tool uses a two-step flow:
First call: returns a URL and a one-time code for you to open in a browser.
Second call: completes the authentication after you have signed in.
Your credentials are cached locally so you will not need to repeat this step until the refresh token expires (~90 days).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||