This is a C++ example which uses the Microsoft MSAL Runtime library available for the python MSAL module.