Similar question to this; I've started working on an Azure Functions app that'll trigger AzDO build pipelines, but am having trouble authenticating via Oauth. I'm either getting a 203 Non-Authoritative Information status code, or a 400 bad request so far. I've gotten it to work with a personal access token, but would rather have users log in via Azure AD and authenticate that way.
I've tried using the instructions from Authorize access to REST APIs with OAuth 2.0, registering the app and sending requests to the auth and token URLs to no avail.
Is the best option to perform something similar to Service to service calls on behalf of the user, or is there another option I'm missing? Any help and/or examples would be greatly appreciated!