gbrueckl / PowerBI.CICD

Template for Github/YAML actions to extract PBIX metadata (.bim) on push
MIT License
41 stars 8 forks source link

Push BIM Files to Git repo action failing #2

Closed bibinbastian closed 2 years ago

bibinbastian commented 2 years ago

HI @gbrueckl Thanks for the great content. I am trying to set it up in Azure Devops and using Devops Git Repo. But looks like there is some permission I am missing and getting this error. Do you know how can I add this permission

remote: 001f# service=git-receive-pack
remote: 0000000000aaTF401027: You need the Git 'GenericContribute' permission to perform this action. Details: identity 'Build\9ae909ca-d00d-4819-ad4a-736f9b355ad8', scope 'repository'.
remote: TF401027: You need the Git 'GenericContribute' permission to perform this action. Details: identity 'Build\9ae909ca-d00d-4819-ad4a-736f9b355ad8', scope 'repository'.
fatal: unable to access 'https://dev.azure.com/Demo233/Test12/_git/Test12/': The requested URL returned error: 403
bibinbastian commented 2 years ago

It was the Project Collection Build Service permission missing. Adding that to user resolved the issue

gbrueckl commented 2 years ago

Great it works now! kindly let me know if you encounter any other issues - I am really interested in feedback from the field