Forum Discussion

Nosyke22's avatar
Nosyke22
New Member
1 year ago
Solved

Embedding PowerBi Report On Java Web Application

I am trying to Embed a report on powerbi on my web application using Java. So anytime i request an access token from azure and send to powerbi it tells me 401 unauthorized. I decoded the token and in...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi Nosyke22 ,

     

    The issue you're facing ,  where only Tenant.Read.All shows up under application permissions for Power BI,  is actually a known limitation in some tenants.

     

    Here’s what’s happening and how to resolve it:

     

     The full set of application permissions (like Report.Read.All, Dataset.Read.All, etc.) sometimes don’t show up by default in Azure when adding the Power BI API. This depends on how Microsoft has enabled Power BI API access for your tenant.

     

    To resolve this:

     

    Make sure the Power BI Service Admin goes to the Power BI Admin Portal

     

    Under Tenant Settings → Developer Settings, enable:

     

    •  “Allow service principals to use Power BI APIs”

     

    •  Add your app or security group under “Apply to specific security groups”

     

    --> If you’ve already done that and the permissions still don’t show, you’ll likely need to open a support ticket with Microsoft. They can help enable the full permission set for your tenant.

    Below is the link to create Microsoft support ticket:
    https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket


    If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!

    Regards,
    B Manikanteswara Reddy