generate_embed_token
Mint scoped, short-lived Power BI embed tokens for datasets, reports, or target workspaces, enabling secure browser embedding in your application.
Instructions
Mint a Power BI EMBED token (POST /GenerateToken) for the given datasets / reports / target workspaces - the scoped, short-lived token an embedding app hands to the browser. Needs an AAD access token with the Power BI scopes (accessToken param or DAXOPS_PBI_TOKEN); the AAD token itself is never echoed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reportIds | No | comma-separated report ids | |
| datasetIds | No | comma-separated dataset ids | |
| accessToken | No | AAD access token with Power BI scopes; omit to use DAXOPS_PBI_TOKEN | |
| workspaceIds | No | comma-separated target workspace ids |