Obtaining access token from the Microsoft Identity Azure example

Paul Lee 126 Reputation points


How do I get the access token from the Azure MS Identity example (ms-identity-python-webapp?

I am also trying to follow this tutorial (https://journeyofthegeek.com/2020/06/22/python-sample-web-app-and-api-for-azure-ad-b2c/) to setup a web app and web api using Azure AD B2C but I don't seem to be able to obtain the access token in this example. The difference in the second example it uses scopes than Microsoft Graph.


Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,678 questions
0 comments No comments
{count} votes

Accepted answer
  1. Paul Lee 126 Reputation points

    I am going to use this example. ms-identity-python-on-behalf-of. This seems to have what I am looking for. Once I get this running, I will make some changes to the b2c example.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful