Archive
Posts Tagged ‘GenericContribute’
Azure DevOps (ADO) | Pipeline failure | You need the Git ‘GenericContribute’ permission
While pushing the code to Repo using ‘Command Line Script’ task in ADO pipeline, got the following permission issue.
- Following is the script used in ‘Command Line Script’ task to push the code to main branch.
echo commit all changes
git config user.email "rajeevpentyala@live.com"
git config user.name "Rajeev Pentyala"
git checkout main
git add --all
git commit -m "solution init"
echo push code to new repo
git -c http.extraheader="AUTHORIZATION: bearer $(System.AccessToken)" push origin main
Reason for the issue:
- Account under which the ADO pipeline running, does not have required permissions to Push the code.
Fix:
- Go to Settings -> Repositories
- Under ‘Security’ tab, select the ‘ALM Build Service(User_Name)‘ and grant highlighted privileges.
🙂
Categories: DevOps
Tags: DevOps, GenericContribute, Permission
Stats
- 1,559,528 hits
Tweets
- New blog post for Power Apps Beginners : Canvas Apps | Options to store configuration data rajeevpentyala.com/2023/02/06/beg… 2 hours ago
- RT @ManuelaPichler_: I suffered a concussion last week, and I'm so glad to see this video is actually REAL and not just something my brain… 1 week ago
- RT @TaikiYoshidaEN: Awesome to see we have a shiny new public facing website for Power CAT! 😻😻😻 microsoft.github.io/powercat/ #PowerApps #PowerA… 1 week ago
- RT @ravichada: 🎥 The demo video is ready now. Do check out the Dataverse Security Roles risk assessment tool in action. Leave a comment or… 1 week ago
- RT @ManuelaPichler_: CoE kit but make it more fluent-y #comingsoon https://t.co/kcSzPqwZhM 1 week ago
Join 400 other subscribers
Top Posts
- Power Apps component framework (PCF) - Beginner guide
- Power Automate Flows | 'Callback Registration Expander' System Jobs stuck at 'Waiting For Resources'
- Associate/Disassociate plugin messages in CRM
- [Code Snippet] Custom Workflow Activity with Input and Output Params
- [Step by Step] Postman tool with Microsoft Dataverse Web API
- Auto generate new GUID for ‘uniqueidentifier’ column in SQL Table
- God Mode - Level Up - Dynamics 365 Chrome Extension
- Canvas App -Working with Bing Maps connector
- Power Apps - 'Environment Variables' and their usage in Canvas Apps
- [Step by Step] Model-driven apps | In-app notifications