Earn recognition and rewards for your Microsoft Fabric Community contributions and become the hero our community deserves.
Learn moreSee when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap
Hi Team,
We are using Git Enterprise for our data engineering lakehouse version and trying to do CICD for the code migration. However, while using the service account (entra account) to run the 'update from git' RestAPI, we are getting the below error.
Also, the same is working with our individual user bearer token (with interactive mode).
Does the service account need to be there in Git as well, if so what is the configuration need to be provided to the service account ?
Error while making the RestAPI : https://api.fabric.microsoft.com/v1/workspaces/<workspace id>/git/status
Error: The tenant administrator has not enabled the specified Git provider type.
Get Bearer Token Response:
Get Bearer Token Response:
"token_type": "Bearer",
"scope": "https://api.fabric.microsoft.com/App.Read.All https://api.fabric.microsoft.com/Capacity.Read.All https://api.fabric.microsoft.com/Connection.Read.All https://api.fabric.microsoft.com/DataPipeline.Execute.All https://api.fabric.microsoft.com/DataPipeline.Read.All https://api.fabric.microsoft.com/DataPipeline.ReadWrite.All https://api.fabric.microsoft.com/Dataset.Read.All https://api.fabric.microsoft.com/Dataset.ReadWrite.All https://api.fabric.microsoft.com/Environment.Execute.All https://api.fabric.microsoft.com/Environment.ReadWrite.All https://api.fabric.microsoft.com/Fabric.Extend https://api.fabric.microsoft.com/Item.Execute.All https://api.fabric.microsoft.com/Item.Read.All https://api.fabric.microsoft.com/Item.ReadWrite.All https://api.fabric.microsoft.com/Item.Reshare.All https://api.fabric.microsoft.com/Pipeline.Deploy https://api.fabric.microsoft.com/Pipeline.Read.All https://api.fabric.microsoft.com/Pipeline.ReadWrite.All https://api.fabric.microsoft.com/Workspace.GitCommit.All https://api.fabric.microsoft.com/Workspace.GitUpdate.All https://api.fabric.microsoft.com/Workspace.Read.All https://api.fabric.microsoft.com/Workspace.ReadWrite.All https://api.fabric.microsoft.com/.default",
"expires_in": 3643,
"ext_expires_in": 3643,
"access_token": ""
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the community members for the issue worked. If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Thanks
Hi @VigneshJanarEY
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If our responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi Srisakthi,
we have enabled the tenant setting as mentioned in the document, which i have refered earlier, still the same issue. As i mentioned earlier, the service account used in RestAPI is O365 entra account and our Git enterpise is using the AD authentication (currently the service account is not there in Git Enterprise cloud) . How to configure this account and is there any workaround ?
Thanks,
Vignesh
I am available now
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster. If not please let us know the update on the issue so that we will look into it.
Thank you.
Hi @VigneshJanarEY ,
Have you enabled tenant level settings ?
The error message says Git provider is not enabled. Make sure to enable the settings at tenant level and also provide enough permission for Service Principal in the workspace
Regards,
Srisakthi
User | Count |
---|---|
13 | |
5 | |
3 | |
3 | |
3 |
User | Count |
---|---|
8 | |
8 | |
7 | |
6 | |
6 |