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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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