Forum Discussion

giulio-diluca's avatar
9 months ago
Solved

API updateFromGit | Service Principal | PowerBIFeatureDisabled

Hello,

I'm calling Calling POST https://api.fabric.microsoft.com/v1/workspaces/554a94be-d87b-4443-9ebc-5de9d9c92d2c/git/updateFromGit with SPN credentials to a new workspace.
- SPN is Admin in the workspace
- SPN can use Fabric APIs ( Tenant settings )
I get this error
"""

    {
      "errorCode": "PowerBIFeatureDisabled",
      "message": "An error occurred while processing the operation",
      "relatedResource": {
        "resourceId": "a768ebe2-4ac6-9831-4d5c-7704539dc377",
        "resourceType": "SynapseNotebook"
      }
    },
    {
      "errorCode": "PowerBIFeatureDisabled",
      "message": "An error occurred while processing the operation",
      "relatedResource": {
        "resourceId": "53abcf7f-d85d-88d0-4483-f71a0bbc8f1d",
        "resourceType": "Pipeline"
      }
    },
    {
      "errorCode": "PowerBIFeatureDisabled",
      "message": "An error occurred while processing the operation",
      "relatedResource": {
        "resourceId": "64f7a126-6f68-96c1-46f6-1cce29b24cfa",
        "resourceType": "Lakehouse"
      }
    },
    {
      "errorCode": "PowerBIFeatureDisabled",
      "message": "An error occurred while processing the operation",
      "relatedResource": {
        "resourceId": "7d3f2b4b-0693-bd06-4f33-0480649c787e",
        "resourceType": "Pipeline"
      }
    }
  ],
  "message": "Failed to sync between Git and the workspace"
}

Don't understand why considering that if i deploy to 'DEV' workspace with same SPN it work fine.
If i do the update from git by myself to this new workspace and then recall the API ( is an automation with disconnect branch and so on ... ) with, of, course, the SPN, it work!
Maybe is the capacity? the new workspace have SKU F128 while DEV have SKUF256.

Thanks for the help,
Regards

6 Replies

  • Couple of things to check.

    1: Is the target workspace configured for Git integration?

    2: Is the target workspace definitely using a Fabric or Power BI Premium capacity?

    3: Have you checked your Git settings in your admin settings to ensure can work properly with your Git provider of choice?

  • v-priyankata's avatar
    v-priyankata
    Community Support

    Hi giulio-diluca 

    Thank you for reaching out to the Microsoft Fabric Forum Community.

    lbendlin KevinChant yaronprigal Thanks for the inputs.

    I hope the information provided by users was helpful. If you still have questions, please don't hesitate to reach out to the community.

     

  • Both F SKUs should work fine. Sounds more like the git integration is not properly configured/permitted on the failing capacity. Talk to the capacity or tenant admin to go through the admin center settings.

     

    Another reason could be a region mismatch but hopefully that is not the case for you.