Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Special holiday offer! You and a friend can attend FabCon with a BOGO code. Supplies are limited. Register now.

Reply
giulio-diluca
Frequent Visitor

API updateFromGit | Service Principal | PowerBIFeatureDisabled

Hello,

I'm calling Calling POST https://api.fabric.microsoft.com/v1/workspaces/554a94be-d87b-4443-9ebc-5de9d9c92d2c/git/updateFromGi... 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

1 ACCEPTED SOLUTION
yaronprigal
Microsoft Employee
Microsoft Employee

hi @giulio-diluca 

Please check the tenant admin switch "Users can create Fabric items", is it for specific security group ? if yes you might need to add the spn to this group

Enable Microsoft Fabric for your organization - Microsoft Fabric | Microsoft Learn

View solution in original post

6 REPLIES 6
v-priyankata
Community Support
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.

 

yaronprigal
Microsoft Employee
Microsoft Employee

hi @giulio-diluca 

Please check the tenant admin switch "Users can create Fabric items", is it for specific security group ? if yes you might need to add the spn to this group

Enable Microsoft Fabric for your organization - Microsoft Fabric | Microsoft Learn

KevinChant
Super User
Super User

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?

Hi @KevinChant 
thanks for the responses, they was valid and ok in my case

lbendlin
Super User
Super User

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.

Hi @lbendlin 
thanks for the help
Regards

Helpful resources

Announcements
December Fabric Update Carousel

Fabric Monthly Update - December 2025

Check out the December 2025 Fabric Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.