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
Hi viveksairam89
It's been a while since I heard back from you and I wanted to follow up. Have you had a chance to try the solutions that have been offered?
If the issue has been resolved, can you mark the post as resolved? If you're still experiencing challenges, please feel free to let us know and we'll be happy to continue to help!
Looking forward to your reply!
Thanks
Cheri Srikanth
viveksairam89
1 year agoFrequent Visitor
Hi Thanks for checing i have found a solution and resolved for the same script