403 error when Dependabot tries to create a pull request #1245
-
Describe the bug To Reproduce
Expected behavior Extension (please complete the following information):
Server (please complete the following information):
Additional context |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 1 reply
-
I encountered a similar issue just a few days ago. To resolve it, ensure that your build service user has been granted the following permissions: |
Beta Was this translation helpful? Give feedback.
-
@ahmed-ben10 Thanks for your reply. How did you discover/find who your build service user is? And in what menu was that screenshot taken, Project settings, Organization settings, and which submenu? Thanks. |
Beta Was this translation helpful? Give feedback.
-
To find who your Build service user is, go to the dropdown menu on the right in the pipeline page and click on ''Manage security'' : Then go to the permissions tab of the Azure DevOps project settings in the users section you will most likely find the user that you found previously. From here on, you can either modify its permission or add the user to be the member of a group that has the correct permissions! |
Beta Was this translation helpful? Give feedback.
-
@sambouchard-newforma Unfortunately none of the users listed in the Pipeline dropdown can be found in the Permissions > Users tab... thanks for the reply though :) |
Beta Was this translation helpful? Give feedback.
-
Check #1095 (comment) |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I tried to give my "Build service" user and Project Collection Build Service Accounts the mentioned permission without success : With my user PAT in inputs: azureDevOpsAccessToken, it works fine. Any other idea? Thanks in advance! Cheers, |
Beta Was this translation helpful? Give feedback.
-
Finally, I could make it work by following this article : https://medium.com/@sugam.arora23/automated-dependency-management-harnessing-dependabot-for-seamless-updates-on-azure-devops-ea5d1a7aa82c |
Beta Was this translation helpful? Give feedback.
-
I'm seeing a completely new set of permissions here now |
Beta Was this translation helpful? Give feedback.
Finally, I could make it work by following this article : https://medium.com/@sugam.arora23/automated-dependency-management-harnessing-dependabot-for-seamless-updates-on-azure-devops-ea5d1a7aa82c
Basically, I gave the permissions to the user (search for it) "Project Collection Build Service ()" on the security tab on All repositories