Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
bbearchell
Frequent Visitor

Cant access /groups/{group_Id}/reports/{report_id}/GenerateToken

I can access /groups/{group_Id}/reports and get a list of reports but I am unable to get a single report or generate an embedded token. Keep getting 400 bad requests. Any insight and direction would be extremely appreciated.

2 REPLIES 2
nissandookeran
Regular Visitor

For me it was because I was missing the datasetId parameter in my request body like the example at https://msdn.microsoft.com/en-us/library/mt784614.aspx shows

{   
    "accessLevel": "View",
    "identities": [     
        {      
            "username": "EffectiveIdentity",
            "roles": [ "Role1", "Role2" ],
            "datasets": [ "fe0a1aeb-f6a4-4b27-a2d3-b5df3bb28bdc" ]
        }   
    ] 
} 

 

v-micsh-msft
Microsoft Employee
Microsoft Employee

Could you please share the error details?

See if the following thread helps:

Get Report details API responds with 400 bad request

 

Regards,

Michael

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.