Forum Discussion

AswanyT's avatar
AswanyT
Frequent Visitor
1 year ago
Solved

403 Forbidden Error When Calling New-FabricWorkspace in PowerShell – Was Working Earlier

  Hi Team, I'm encountering an issue while trying to call the Fabric REST API to create/get a workspace ID using PowerShell. The script was working fine until 19-May-2025, but it started failing fr...
  • v-prasare's avatar
    v-prasare
    1 year ago

    Hi AswanyT,

    • If possible,use managed identity tied to a user that has the necessary Power BI and Fabric admin rights. user principals generally have fewer restrictions in tenant-level operations like workspace creation.
    • If creating new workspaces isn't mandatory in your flow, you can: Pre-create a set of workspaces manually or via user login. Use those workspaces via their ID or name for subsequent automation.

     

    Thanks,

    Prashanth Are

    MS Fabric community support