Authenticate to Azure Devops Python API using Managed identity
I have currently been authenticating to Azure Devops Python API via personal access tokens, but we are now asked to move to using user-assigned managed identities. How can I use an MSI to authenticate, both with and without the Python wrapper?