POST /v1.0/myorg/groups/{groupId}/reports/{reportId}/GenerateToken
Reports GenerateTokenInGroup
Generates an embed token to view or edit the specified report from the specified workspace.
This API is relevant only to 'App owns data' embed scenario.
Required scope: (all of the below)
- Report.ReadWrite.All or Report.Read.All
- Dataset.ReadWrite.All or Dataset.Read.All
- Content.Create - required only if allowSaveAs specified in GenerateTokenRequest
Restrictions
Generating Embed Token with RLS may not work for AS Azure or AS OnPrem live connection reports for several minutes after a Rebind.Servers
- https://api.powerbi.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
groupId |
String | Yes | |
reportId |
String | Yes |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
accessLevel |
String | No | |
datasetId |
String | No | |
allowSaveAs |
String | No | |
identities |
String | No |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.