I am writing an outlook plugin in C# using Microsoft Graph 5. My development environment is Visual Studio.I need to authenticate with an azure tenancy using Microsoft.Identity. Please show me complete, working and well commented code to demonstrate how I can authenticate using a registered app secret. The code should be presented as one or more files which can be added to my project.