Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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": ""
Hi @VigneshJanarEY ,
Have you had a chance to connect with @Srisakthi to resolve your issue, If yes? Please share your insights in this post and accept that as solution so that other community members who may come across this post benefit in the future. If we dont hear back we may consider closing this thread.
For any further discussions or questions, please start a new thread in the Microsoft Fabric Community Forum we’ll be happy to assist.
Thank you for being part of the Microsoft Fabric Community.
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
https://learn.microsoft.com/en-us/rest/api/fabric/core/git/update-from-git?tabs=HTTP
Regards,
Srisakthi
User | Count |
---|---|
6 | |
2 | |
2 | |
2 | |
2 |
User | Count |
---|---|
18 | |
17 | |
5 | |
4 | |
4 |