Configure and send email from D35FO via Microsoft Graph
Dr. Umesh Pandit
Advisor Solution Architect for Microsoft Dynamics 365, Azure, PPAC, CRM, M365 and AI
To create an app, follow these steps.
Sign in to the portal.azure.com by using an Azure tenant admin account.
Make sure you have Admin rights for the tenant to register applications.
Go to AAD>(Microsoft Entra ID > App registrations > New application.
Enter the following values:
Name – Enter the name of your app> Like "D365FOMails"
Supported account types – Enter only accounts that are directly in this organization (single tenant).
Select Register.
Copy the Value of Application (client) ID (You will use this value to connect to the Microsoft Graph service from your finance and operations environment.)
Note: Be sure to capture the Application (client) ID value before you continue.
To add permissions, follow these steps:
Select Manage > API permissions > Add a permission > Microsoft APIs > Microsoft Graph.
Select Application permissions, and enable Mail.Send.
By default, the app should include the User.Read delegated permission for Microsoft Graph.
If that permission is missing, you must add it from the delegated permissions.
Select Add permissions.
Select Grant admin consent for to allow emails to be sent.
To create a client secret, follow these steps:
Select Manage > Certificates and secrets.
On the Client secrets tab, select New client secret.
Enter a value in the Description and Expires fields, and then select Add.
Make a note of the Secret value value.
You will use this value to connect to the Microsoft Graph service from your Dynamics 365 finance and operations environments.
#MSDyn365FO #XppGroupies #Dynamics365 #Exchangeover #MicrosoftGraph #AppDevelopment #Azure #AppRegistration #APIPermissions #ClientSecrets #AzurePortal #MicrosoftIntegration #TechTutorial #AzureTalks #D365fo #D365 #DXC #WeareDXC
Leading ERP AI with expertise in Microsoft ERP|CRM|Azure|PP
9 个月Microsoft Graph enhances productivity by providing a unified programmability model to access data across Microsoft 365, Windows, and Enterprise Mobility + Security. It enables building apps that leverage this vast amount of data to enhance creativity, productivity, and collaboration within organizations.