The Microsoft Azure AD + MSA Users Python Sample Code by Navya Canumalla demonstrates how to use Azure AD with a 3rd party Python-Flask library (flask-oauthlib) to do oAuth 2.0 against the v2.0 endpoint.