web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Dexterity Mail_xxx Functions with GP 18.4 and Email with MFA

(0) ShareShare
ReportReport
Posted on by 20

Do the functions in the Mail function library for Dexterity, e.g. Mail_AddressListCreate() and Mail_SendDialog() work with Exchange Web Services (EWS) when Multi-Factor Authentication (MFA) is enabled?

We have been using these Mail_xxx functions successfully for years with EWS (else, for MAPI we use the MAPI_xxx functions), but now when using Exchange with MFA enabled we are getting an Exchange login prompt that we cannot get past when trying to use the Mail_xxx functions.

We ARE able to successfully check for MFA and login as needed with syEmailObj_IsMSGraphEnabled(), syEmailObj_IsMSGraphSingedIn() and syEmailObj_MSGraphEmail_Logon(), and we can also successfully use syEmailObj_MSGraphEmail_SendEmail() to send out emails as well.

But we are specifically looking to continue to support the functionality in the Mail_SendDialog() function which opens the Compose window that allows a message to be composed and sent by the user.

Thank you in advance for any help with this.

Categories:
I have the same question (0)
  • Verified answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,137 Most Valuable Professional on at

    Hi Mickie 

    My understanding is that the old functions will not work when MFA is needed.

    The MFA functionality was implemented in Dynamics and the Dexterity functions were not updated.

    Regards

    David 

  • Mickie Stamm Profile Picture
    20 on at

    Hi David -

    Thank you for your reply and hope you are doing well!

    100% spot on there - and on further digging, we see it documented here as well:

    learn.microsoft.com/.../email-troubleshooting-guide

    Specifically, this section: "When you have modern authentication enabled and you try to use the "SEND TO" option in Microsoft Dynamics GP, it will still prompt for the Exchange login. Modern authentication is not enabled off the "SEND TO" button/option. An alternative workaround to this is use the Report Option Windows as modern authentication is enabled there. For example if you are printing a Trial Balance, go to Reports | Financial Trial Balance and create a report option from this window for the report to email and modern authentication is enabled in all Report Option windows. Many customers use this for posting reports too so it will be a process change to use the Report Options window where modern authentication is now enabled VS the "SEND TO" option."

    Thanks again,

       - Mickie

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans