Relative Content

Tag Archive for powershellauthenticationazure-devopsoauth-2.0

Using OAuth2 for Azure DevOps API with an Application Registration

So, I am trying to use the Azure DevOps REST API with an application registration in Entra to authenticate. Azure DevOps is connected to my tenant, and the application is added as an User that’s been given permissions. I’d like for my personal account to be able to authenticate impersonating as the Application, but i would also like to move this into perhaps an Azure Function or whatever down the road.
What’s ‘this’? ‘This’ is going to be either my Powershell that is going to create and configure new projects. Perhaps even add users to specific projects so I won’t have to. Anything the Azure DevOps REST API supports which I am required to do manually on a daily/weekly base.