Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
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