Configure Microsoft Graph in D365F&O

Configure Microsoft Graph in D365F&O

Users would have received an alert when navigated to Email Parameters page in D365F&O if the configuration is still mapped to Exchange .

"[3 days left] You are using the Exchange email provider, which is deprecated and will stop sending emails in 3 days (mid-September 2024). Take action now to complete a transition to the Microsoft Graph email provider before then to avoid missing emails. "


Article content
Deprecation alert

What is Microsoft Graph?

Microsoft Graph is the gateway to data and intelligence in Microsoft 365. It provides a unified programmability model that you can use to access the tremendous amount of data in Microsoft 365, Windows, and Enterprise Mobility + Security. Use the wealth of data accessible through Microsoft Graph to build apps for organizations and consumers that interact with millions of users.

Microsoft Graph enables you to integrate with the best of Microsoft 365, Windows, and Enterprise Mobility + Security services in Microsoft 365, using REST APIs and client libraries. Additionally, it offers security and intelligence that can boost user productivity, creativity, and team collaboration, and protect business resources and users' data.

Send email with Microsoft Graph

For customers who use Office 365, Microsoft Graph is the recommended email provider for Dynamics 365 finance and operations apps. This email provider replaces the deprecated Exchange email provider.

Permissions needed:

Users must have the following permissions to set up the Microsoft Graph integration:

  • System administrator in the application to link the Dynamics 365 finance and operations environment to Microsoft Graph.
  • An administrator for your Azure Active Directory (Azure AD) account. If you aren't the administrator, an administrative user must perform the first part of the configuration for you.

I have created a post where it describes about creating a new APP registration .

After creating the APP registration, assign proper permission for the App registration to grant access to Microsoft Graph



Article content
Navigate to API Permissions
Article content
Mail permission

By default, the app should include the User.Read delegated permission for Microsoft Graph.

Add the Mail.Send permission and click 'Grant admin consent'.

Now the set up is ready in portal. Let us go to D365FO and configure the email parameters


Article content
Email paramters


Send a test email using Graph set up .

Article content
Test email

See you in next post..


Akilesh Murugesan

Microsoft Dynamics 365 Finance and Operations Technical Developer | MB-500 Certified | Azure : Functions, OpenAI Services, Storage Services, AI Foundry | Copilot Studio, AI Plug-in | Python | C#,dll |

5mo

While testing email, I'm getting the following error, "The remote server returned an error: (405) Method Not Allowed.". I tested the authentication, that's working fine, but it is failing when performing "Test email". Please let me know how can I resolve this issue.

Like
Reply
Dimitris Kalogirou

Power Platform Analyst at Office Line S.A

8mo

Thank you! Excellent!

Arpan Sen

D365FO Technical Consultant

8mo

Excellent 👌👌👌

Santosh Ramamurthy

Senior Manager | Delivering Cloud-Enabled Technology Solutions ✳️ Product Development ⚡ Cricket Fanatic

8mo

Insightful

To view or add a comment, sign in

More articles by Anitha Eswaran

Insights from the community

Others also viewed

Explore topics