Can I use the token provided by this MSAL library to make calls to the Azure DevOps rest api?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@dpaulino Thank you for taking the time to detail your question and file this issue. We are investigating and will update you when we have additional information to share.
@dpaulino please take a look at the documentation here: https://docs.microsoft.com/en-us/rest/api/azure/devops/?view=azure-devops-rest-5.1#create-the-request
It's subject to change however per the current Devops REST API doc, it says to use ADAL, most likely as the Devops app is against the v1.0 endpoint.
Please let us know if you have anymore questions otherwise i will be closing this out by eod tomorrow.
@FrankHu-MSFT According to this thread, those docs you sent will be updated for MSAL: https://github.com/MicrosoftDocs/azure-docs/issues/47281#issuecomment-581462389.
I assume MSAL will work, so I will try it out.
@dpaulino thanks for pointing that out, it looks like the devops page will be updated accordingly, and it will be possible to use adal or msal. That being said I will be closing this out by end of day tomorrow. Please let us know if you have any other concerns.