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.
Obtaining access token from the Microsoft Identity Azure example
Paul Lee
126
Reputation points
Hi,
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.
Regards
Paul