OAuth App must be created in Microsoft Azure AD. These settings typically found here https://docs.microsoft.com/en-us/graph/auth-register-app-v2.
[API Help..]
Parameter |
Label |
Required |
Options |
Description |
Help |
AuthUrl |
Authorization URL |
YES |
Option |
Value |
For Single Tenant |
https://login.microsoftonline.com/{ENTER-TENANT-ID-HERE}/oauth2/v2.0/authorize |
For Multi Tenant |
https://login.microsoftonline.com/common/oauth2/v2.0/authorize |
|
|
|
TokenUrl |
Token URL |
YES |
Option |
Value |
For Single Tenant |
https://login.microsoftonline.com/{ENTER-TENANT-ID-HERE}/oauth2/v2.0/token |
For Multi Tenant |
https://login.microsoftonline.com/common/oauth2/v2.0/token |
|
|
|
ClientId |
Client ID |
YES |
|
|
|
ClientSecret |
Client Secret |
NO |
|
|
|
Scope |
Scope |
YES |
Option |
Value |
offline_access |
offline_access |
https://analysis.windows.net/powerbi/api/Dataset.Read.All |
https://analysis.windows.net/powerbi/api/Dataset.Read.All |
https://analysis.windows.net/powerbi/api/Workspace.Read.All |
https://analysis.windows.net/powerbi/api/Workspace.Read.All |
https://analysis.windows.net/powerbi/api/Workspace.ReadWrite.All |
https://analysis.windows.net/powerbi/api/Workspace.ReadWrite.All |
|
Permissions you want to use.
|
|
ReturnUrl |
Redirect URI (must match App Redirect URI) |
NO |
Option |
Value |
https://zappysys.com/oauth |
https://zappysys.com/oauth |
|
The ReturnUrl must match the URL on the Authentication page for your Application (in Azure Portal, Azure Active Directory > App registrations > Application)
|
|
WorkspaceId |
Default Workspace (Keep Empty for My Workspace - select after generating tokens) |
NO |
|
Leave value empty to use your Power BI default Workspace
|
|
DatasetId |
Default Dataset (select after generating tokens) |
YES |
|
|
|
RetryMode |
RetryMode |
NO |
Option |
Value |
None |
None |
RetryAny |
RetryAny |
RetryWhenStatusCodeMatch |
RetryWhenStatusCodeMatch |
|
|
|
RetryStatusCodeList |
RetryStatusCodeList |
NO |
|
|
|
RetryCountMax |
RetryCountMax |
NO |
|
|
|
RetryWaitTimeMs |
RetryWaitTimeMs |
NO |
|
|
|
RetryMultiplyWaitTime |
RetryMultiplyWaitTime |
NO |
|
|
|
ExtraAttributesForAuthRequest |
Login options |
NO |
Option |
Value |
None |
|
Force login prompt |
prompt=login |
Force permission select |
prompt=consent |
|
Choose this if you want to force login prompt or permission prompt.
|
API Help |