Forum Discussion
PowerBI Embed token limit
- 1 year ago
Hello Cilas
Power BI Pro/PPU licenses have embed token limits typically 100 tokens/hour ,for development/testing. For production environments with unlimited tokens, you must purchase Power BI Embedded (A SKUs) or Premium (EM/P SKUs).
• A1 (starting at ~$700/month) supports ~300 renders/hour.
• Higher SKUs (A2–A8) scale compute/memory for heavier loads.
2. Token Lifetime & Refresh
• Embed Token Lifespan: Defaults to 1 hour. This is fixed and cannot be extended via policies.
• Azure AD Refresh Tokens:
• Last 90 days for non-single-page apps.
• Use `setAccessToken()` to auto-refresh tokens before expirationFrom, adjusting Azure AD token policies affects the access token, not the embed token. The embed token’s 1-hour limit is enforced by Power BI regardless of Azure AD settings. So policies don’t extend embed tokens, only access tokens.
if this is helpful please accept the answer
- 1 year ago
No, there is no supported method to extend Power BI embed token expiration beyond 1 hour using Pro/PPU licensing alone
The A SKU (Power BI Embedded) resolves Pro/PPU limitations by providing dedicated Azure-based capacity for unlimited embed token generation.
If this resolves the query please accept the answer
Thank you very much for the clarification!
Can I use an Azure AD Refresh Token with a 90-day expiration to access the embedded content? Using settings like:
let embedConfiguration = {
accessToken: AzureADRefreshToken,
embedUrl: anEmbedUrl,
id: reportId,
pageView: 'fitToWidth',
tokenType: pbi.models.TokenType.Embed,
type: 'report'
};
No, you cannot directly use an Azure AD Refresh Token in the `accessToken` field for Power BI embedding. Here’s why:
1. Token Types Are Incompatible
• Azure AD Refresh Tokens (90-day lifespan) are designed to obtain new access tokens, not to be used directly as embed tokens.
• Embed Tokens (`TokenType.Embed`) have a fixed 1-hour expiration and require backend regeneration