Azure DevOps pipeline release permission

Han Shih 施學翰 146 Reputation points
2021-07-22T07:58:03.617+00:00

I am trying to create a release pipeline to deploy function app & app service.

  • Everything is fine in the build stage.
    116937-image.png
  • However, when I try to deploy my code. Error occurs.
    116908-image.png
  • After some googling, I think it has something to do with my permission.
    116949-image.png
  • To prove it, repeat all the steps above in my personal account. And the deployment is successful.
    116963-image.png
  • The only difference is that I have to authorize for "service connection"
    116956-image.png
  • I found that I create an "Azure resource manager" with "service principal" (the same thing "app registrations" ???)
    116910-image.png
  • And it links to an "app registration" I just created, which has very high permission (maybe I misunderstood?)
    117031-image.png
    ---

Finally, here is my question:
If I try to achieve this with my workplace account, should I create an "app registrations" with the same high permission?
(In general, the service admin will not allow me to do so since "administrator permission" sounds risky)

Correct me if my understanding is wrong.
Any suggestion is appreciated.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,136 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2021-07-22T11:03:03.89+00:00

    The product group for Azure DevOps / TFS actively monitors questions over at
    https://developercommunity.visualstudio.com/report?space=21&entry=problem
    https://developercommunity.visualstudio.com/report?space=22&entry=problem

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.