Using Different Service Connections on same Azure Pipeline

Surya Teja Putta 5 Reputation points
2024-07-01T16:22:27.46+00:00

I have a situation where I need to use two different service accounts on my Pipeline.

one for connecting DevOps to Azure (via service connection)

The second one is for explicitly logging in using AZ login.

Here are my questions

1- Is this a valid scenario where I can use two different ones in a single pipeline?

2- If yes, how can I do this

Thanks a lot

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,537 questions
{count} votes

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.