Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Dexterity Mail_xxx Functions with GP 18.4 and Email with MFA

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:
  • Mickie Stamm Profile Picture
    Mickie Stamm 20 on at
    RE: Dexterity Mail_xxx Functions with GP 18.4 and Email with MFA

    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

  • Verified answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,917 Most Valuable Professional on at
    RE: Dexterity Mail_xxx Functions with GP 18.4 and Email with MFA

    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 

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans