cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Embedded API - get report object without workspaceId

Is it possible for me to retrieve a report object from the API without passing in a workspaceId and while using a service principal to authenticate? When I try to call:

 

client.Reports.GetReportAsync(reportId);


I get a 403 saying the application is not permitted.

 

However using the same service principal I am successfully able to make a call and retrieve the report using:

 

client.Reports.GetReportInGroupAsync(WorkspaceId, reportId);


Is there a solution or workaround so that I do not need to provide the workspaceId with each request I make to my service? The service principal has been given access to the workspace already.

 

Thanks

 

 

0 REPLIES 0

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.