Multi-Factor Authentication
Starting with the Dynamics GP October 2020 release, you will have the ability to use Multi-Factor Authentication for e-mail functionality. This new feature relies on an Azure Active Director App Registration. In this first section we will go over how to perform the Azure side the of the configuration.
Register the app
First, you'll need to have an administrator who can log into the Azure Portal.
In the search box, type App Registration and select that option:
Click on New Registration as shown in the below screenshot:
You will then choose settings for your new application.
Enter the name of Application Name (e.g. GPMBAApp)
Support account types: Based on the domain or accounts used in the organization, user can select the respective option.
Account in any organizational directory (Single tenant)
Account in any organizational directory (Any azure AD account – Multitenant)
Account in any organizational directory (Any azure AD account – Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox).
Click on Register button.
Click on API Permission on the left side panel as shown in the screenshot.
Click on Add permission button.
Microsoft Graph – By default, Microsoft Graph application will have read permission for the user profile. To allow graph application to send an email, we need to add "Mail.Send" permission.
Click on delegated permission.
Search for "Mail. Send" in the select permission search box.
Mark "Mail. Send" checkbox and click on add permission.
Mail.Send permission will be added under Microsoft Graph.
Click on "Authentication" on the left panel under Manage option.
Click on Add Platform.
Enter the value "urn:ietf:wg:oauth:2.0:oob" in the Custom Redirect URIs text box as shown in the screen shot. This uri will redirect to the original application.
Click on Configure button
Save the changes for the application.
Note
As of now, Multi-Factor Authentication is not supported in Web Client. Once the Web Client changes are implemented, Default client type must be set to "Yes" as shown in the screen shot.
Click on Overview on the left side pane. The Application (client) ID can used in the Microsoft Dynamics GP.
From the setup that was done in Azure, now launch Microsoft Dynamics GP 18.3 and go to Tools, Select Setup, choose Company and click Company E-mail Setup.

Note
There is a new column (MSGraphClientID) added to the company table SY04900, syEmailSetupOptions.