Open Forum

 View Only
  • 1.  O365 Exchange Authentication

    Posted Oct 18, 2022 10:37 AM
    Since O365 Exchange disabled Basic Authentication we have been having trouble sending Payables emails.  It fails to send from the check processing process it pops up the authentication message but sends no emails.

    Does anyone know of a way to have this work in a batch process like the check processing process?

    ------------------------------
    Richard Kinning
    Hillsborough Transit Authority (HART)
    Tampa FL
    ------------------------------


  • 2.  RE: O365 Exchange Authentication

    Posted Oct 19, 2022 09:54 AM
    Hi Richard,

    We are going through the same thing. It is related to Microsoft O365 moving towards MFA (Multi Factor Authentication). We have our GP support partners and internal IT team trouble shooting for us. We were able to get emails sending again in payables and sales but are still unable to send through Collection Management (not sure if you use that 3rd party add on). We found we are missing an update for Collection Management that specifically addresses the MFA. Here are a few links that helped us get the payables and sales module email working again. 

    https://learn.microsoft.com/en-us/dynamics-gp/installation/email-troubleshooting-guide?source=recommendations#exchangespecificerrors

    https://learn.microsoft.com/en-us/dynamics-gp/whats-new/multi-factor-authentication

    ------------------------------
    Laura Duffey
    Senior Staff Accountant
    New Management Services
    Jacksonville FL
    ------------------------------



  • 3.  RE: O365 Exchange Authentication

    Posted Oct 19, 2022 11:46 AM
    Hi Richard, our GP team wrote about this back in August and I believe that how you fix this depends on the version of GP you're on. If you're comfortable sharing that I'd be happy to bounce it off my people and see what they think. More on what I'm referring to here: https://www.gravoc.com/2022/08/09/preparing-for-dynamics-gp-modern-authentication-deadline-october-2022/

    DJ

    ------------------------------
    Dan Johnson
    Vice President
    GraVoc
    Tewksbury MA
    ------------------------------



  • 4.  RE: O365 Exchange Authentication

    Posted Oct 19, 2022 11:55 AM
    We are already running GP 2018 18.3 and still having these issues.  We are going to try reverting back from 64 bit office to 32 bit office and use MAPI instead of exchange.  I will let you know how that works.

    ------------------------------
    Richard Kinning
    Hillsborough Transit Authority (HART)
    Tampa FL
    ------------------------------



  • 5.  RE: O365 Exchange Authentication

    Posted Oct 20, 2022 02:49 PM
    Can you send a test email from the Workflow Setup window? We had a recent issue where the test emails would send, but the actual user action email would not. We tried many things. We finally added a new client string to the EWS allow list in Exchange, and it started working again.

    ------------------------------
    Angela Morehouse
    CC Industries
    Chicago IL
    ------------------------------



  • 6.  RE: O365 Exchange Authentication

    Posted 25 days ago
    Good Question, Yes workflow email works. Workflow allows us more control so we were able to use a local smtp server to send mail.

    ------------------------------
    Richard Kinning
    Hillsborough Transit Authority (HART)
    Tampa FL
    ------------------------------



  • 7.  RE: O365 Exchange Authentication

    SILVER CONTRIBUTOR
    Posted 22 days ago
    FWIW, we had the same problem last week, and as @Laura Duffey posted, setting up the Azure App Registration was what got us going, and allowed us to use true multi-factor authentication for GP e-mail rather than app passwords.

    Multi-Factor Authentication - Dynamics GP | Microsoft Learn​

    In our case, we use a couple of generic email accounts like 'invoices@', and 'ap@', etc. that are shared by multiple users. We primarily e-mail invoices from a batch using GP Email and a custom SSRS invoice report with GP Reports Viewer from @Victoria Yudin (which also has a just released new version to address modern authentication). Once we had the Azure setup done (the process was simple, and the documentation was really quite good), users were able to sign in with the generic e-mail account user id/password and auth token, and e-mails started sending normally.

    We use a separate O365 e-mail only account/license for each alias, as early on, we could not get either shared mailboxes or a user e-mail alias to work correctly, but may revisit that again now that we're on modern auth. 

    Probably the most difficult part was getting all of the shared users to use the Microsoft Authenticator app on their phones for them all to successfully use MFA. Since the MFA authentication by phone or e-mail can take only a single phone number or e-mail address, this was the only way to share the MFA token for the multiple users. 

    Also somewhat related, we found that our SQL Mail was impacted by the change (it's possible it was also a change to spam filtering), as all e-mail sent from SQL was being quarantined as spam.  Switching from Windows Authentication Using DB service Credentials to Basic Authentication with a username and password allowed the mail to again pass without being quarantined.


    ​​

    ------------------------------
    Jeff Woodard
    Chief Technical Officer
    Transportation Financial Services, Inc.
    West Palm Beach FL
    ------------------------------



If you've found this thread useful, dive deeper into User Group community content by role