How can I get an OAuth token or permissions for Azure

I am looking to create an app that uses Microsoft Login so that I can access the user’s Microsoft graph.

I would like to be able to get the OAuth token or any tokens that I can then use externally/in another Azure API. Anyone able to help?