POST /v1.0/myorg/GenerateToken

Generate Token

Generates an embed token for multiple reports, datasets and target workspaces. Reports and datasets do not have to be related. The binding of a report to a dataset can be done during embedding. Target workspaces are workspaces where creation of reports is allowed.
This API is relevant only to 'App owns data' embed scenario.

Required scope:

To set the permissions scope, see Register an app.When using service principal for authentication, refer to Service Principal with Power BI document along with considerations and limitations section.

Restrictions

Servers

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
datasets String No
targetWorkspaces String No
reports String No
identities String No

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. 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.
  3. Click Test request to test run your request to the API and see the API's response.