Click here to Skip to main content
15,887,676 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Is it possible to access devops repo within powershell script using managed identity without any manual steps like interactive login (this has to run automatically as azure function)?

The goal is to attach a master branch to appservice but this has to be done within the script while creating appservice. But what about having this automated? How can I authorize the script to attach master branch for CI deployments using managed identity or something else if not possible?

What I have tried:

Manual appservice setup through azure portal or through the script with interactive login works fine of course.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900