Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Embed For Customer - DirectQuery

I have a React Web App that embeds multiple Power BI reports using the "Embed for your customers" scenario (App owns data). The web app communicates with a backend API (ASP.NET Core Web API), which...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi v-nmadadi-msft ,

     

    I can't configure group claims or app roles in the token for Azure SQL. Only Microsoft can do that, since they own the resource "https://database.windows.net" and determine which claims are included when a token is requested.

     

    The only way this currently works is if the user has fewer than 160 AD groups or more than 200 AD groups. In the latter case, Azure AD replaces the group IDs in the "groups" claim with a Graph API URL, significantly reducing the token size.

     

    I’ve received confirmation from Microsoft that there’s no workaround for this. I’ve submitted a Design Change Request to increase the identityBlob size limit from 10,240 bytes to at least 12,500 bytes, ensuring that tokens for users with around 160-200 AD groups can be accepted by the Power BI API /GenerateToken endpoint. Now, we’ll just have to wait for Microsoft to implement this fix.