Why my Python Azure function can't run DevOps pipelines with its MI? With my PAT it works fine

Larionov Sergei 0 Reputation points
2024-05-21T06:19:36.57+00:00

Dear colleagues!

I want to run a certain DevOps pipeline from my Python Function App. This whole thing works fine already, the only issue is that I'm running that under my PAT. I want to industrialize the solution and switch it to a Managed Identity. My FA has one switched ON. A corresponding user was added to DevOps with quite high permissions (will be reduced after the problem localization and resolution). Both IDENTITY_ENDPOINT and IDENTITY_HEADER are set. I'm using this code to get the token:

    application_id = "
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,169 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rakesh Gurram 8,415 Reputation points Microsoft Vendor
    2024-09-23T10:24:40.73+00:00

    Hi Larionov Sergei

    Thank you for reaching out to us on the Microsoft Q&A forum.

    This topic is currently not supported in the Q&A forums.

    I recommend initiating a new discussion through the Developer Community

    Moderators are readily available there to assist you and provide guidance.

    Please don't forget to Accept answer and close this thread.

    0 comments No comments

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.