Dynamics GP Email Error: Login Failed. Why This Happens and How to Fix It.

Road block traffic signal

Written by Laura Schomaker

May 21, 2020

Today, we have a special tips and tricks blog, cowritten by me and two of our experts, Brent and Beth. Beth is one of our in-house Dynamics GP gurus, and Brent is our resident networking and infrastructure expert. While the topic is not exactly related to the current pandemic or remote work issues, it could affect anyone who uses Dynamics GP, whether they are working in the office or from home. And we know just how frustrating it can be when technology doesn’t work as expected. So, we wanted to share a quick story about a Dynamics GP error we ran into recently and how to fix it. 

First a Little Background 

One of our Dynamics GP clients came to us when they suddenly could not email reports via the Dynamics GP print screen. Instead of being able to click the “Send To” button as shown below to send reports to a colleague quickly, their login unexpectedly failed, giving them the error message “Login failed. Check your login information and try again.” 

Screenshot showing what happens when this Dynamics GP email error occurs

When we began looking into the issue, we weren’t sure if it would affect all reports and/or all GP users within a company. Thus far, we’ve seen this Dynamics GP email error appear only a few times. Twice when working on reports, GL Inquiry and Project History, specifically. And, once when we were updating a customer’s email via “Customer Maintenance” within “Sales” to generate invoices.  Although we have not tested for the error on every GP report, our hunch is, it’s possible for it to affect any report you print to screen and then attempt to use the “Send To” button.

 

Why this happens and how to fix it

Many people use MFA (multifactor authentication), specifically two factor authentication to secure their Office 365 accounts. However, Microsoft Dynamics GP does not support this feature. So, if you have it enabled, it can cause issues when the two programs try to communicate with one another.

So, how do we get around this? The best way to do this is to create an application password. If you’re not familiar with them, an application password is “a string of characters which will only work in the limited scope of a of an application action.” Sound complicated?  Think about it this way. How do you log into your PCs? Do you use a PIN, password, or both?  A PIN can only be used on the PC it was setup on and does not work anywhere else. Whereas a password allows you to sign in on any PC with access to your account. In short, either can be used to unlock a computer, but the PIN is device specific and a password is account specific.

 

More on how to create an application password in a minute. But before we get to that, here are three important points to keep in mind:

  • Dynamics GP requires its own application password for this fix to work. If you already have an application password you use for another program, like Outlook, for example, do not use it for GP. In our experience Office 365 will detect this as a reuse and thus block it.
  • The only time you’re able to see your application password is during the setup process. There is no way for a user to view it later. So, copy it down and save it in a safe place.
  • Should you forget your application password, you can delete it and then create a fresh one following the steps below.

 

How to Create an Application Password to Fix “Dynamics GP Email Error: Login Failed”

  1. Sign into your Office 365 account.
  2. Click your profile picture or initials in the top right corner of the screen. Select “My account.”
  3. Choose “Security & Privacy > Additional Security Verification” (Note: This option is only available if your admin has enabled multifactor authentication for the logged in user).
  4. Click “Update my phone numbers used for account security.”
  5. At the top of this page, find the heading “Additional Security Verification.” To the right of this select “App Passwords.”
  6. Click “Create” to get a new app password.
  7. If the system asks, give your app password a name i.e. Dynamics GP or something similar and click “Next.”
  8. Highlight the password that’s shown and press Control + C to copy it.
  9. Open Notepad on your computer.
  10. Place your cursor inside of the new Notepad file and press Control + V. Pasting the password into Notepad before using it removes any formatting that might add unnecessary characters when you paste it into another application.
  11. Open the app that you want to connect with your Office 365 account, in this case it would be Dynamics GP.
  12. Go back to your Notepad. Highlight the password and press Control + C once again.

Once you follow these instructions to set up and save your application password in Dynamics GP, the email error you saw earlier should resolve itself, and you should be able to resume sending reports as usual.

Want more Dynamics GP tips and tricks like these? Visit our blog archives.

Need hands-on help with a Dynamics GP issue, but don’t have a Microsoft partner? Contact us. We have nearly 30 years’ experience helping businesses of all shapes and sizes make the most of their Microsoft Dynamics investment.

You May Also Like…

Dashboards, the Key to Acumatica Analytics: What You Need to Know

Dashboards, the Key to Acumatica Analytics: What You Need to Know

Like most ERPs, Acumatica offers a variety of analytics tools to help you better understand what’s going on inside your business. Since they make it so easy to key in on what’s important to you, the most popular of these analytics tools is probably the dashboard. Learn what they can do and how to set one up.

read more
Eight of Our Favorite Dynamics GP Resources You May Have Missed

Eight of Our Favorite Dynamics GP Resources You May Have Missed

With over 25 years’ experience using Dynamics GP, our experts have a lot of knowledge to share. Whether you are a long-time user looking to learn something new, or considering buying Dynamics GP for the first time, you’ve come to the right place. We revisit eight of our favorite Dynamics GP resources you won’t want to miss.

read more