Forum Discussion
viveksairam89
1 year agoFrequent Visitor
Unable to Add Service Principal to Power BI Workspace Using Power BI REST API (403 Forbidden Error)
Issue: Service Principal Name (SPN)Power BI REST APIInvoke-RestMethod403 Forbidden Registered an App in Azure ADAPI permissions Workspace Read all Wokspace Readwrite all Enabled "Allow servic...
- 1 year ago
Hi. Is your App registered for login and getting the token a member of the workspace that you want to add another App? the API operations need the App to be part of the workspace.
I hope that helps,
v-csrikanth
1 year agoCommunity Support
I wanted to follow up on previous discussion with ibarrau regarding the API operations and workspace access. Could you please confirm if your app, which is registered for login and obtaining the token, is a member of the workspace where you intend to add another app?
As mentioned, API operations require the app to be part of the workspace. Ensuring this would be critical for your workflow to function properly.
Thanks and Regards,
Cheri Srikanth