C#/VB code Auth
The security team will need to determine which scenario to go with: delegated or app-only. The recommendation is of course to use the technology that is designed to work specifically for most contexts: app only. However, this is totally up to case by case.
If a delegated scenario is desired, the redirect URI must be reconfigured. Additionally, if an ROPC flow is desired (Microsoft highly recommend AGAINST using the ROPC flow if possible), then the app registration will also need to be set to allow Public Client Flows in the ‘Authentication Tab’ of the App Registration
If an app-only scenario is desired, then the proper app-only permissions must be granted to the app registration: List mailFolders - Microsoft Graph v1.0 | Microsoft Learn
Using Delegated ROPC Auth

With the above app registration settings, teams managed to set up the auth using Instantiate a public client app (MSAL.NET) - Microsoft Entra | Microsoft Learn + addition of redirectURI to json file
Last updated