Forum Discussion

viveksairam89's avatar
viveksairam89
Frequent Visitor
1 year ago
Solved

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...
  • ibarrau's avatar
    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,