Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to connect to Gmail for custom email address in Service Desk Project

KiriHQ Support March 13, 2019

I keep getting the error "Unfortunately JIRA couldn't connect to the mail server. Here is what the mail server said: "[AUTHENTICATIONFAILED] Invalid credentials (Failure)" Check out our troubleshooting docs for help resolving the issue." despite following all the instructions and making their changes to the email account and yet it still fails

Before anyone advises that I'm entering the wrong details I can 100% assure you that I am as when I don't enter the app specific password I get this error "Unfortunately JIRA couldn't connect to the mail server. Here is what the mail server said: "[ALERT] Application-specific password required: https://support.google.com/accounts/answer/185833 (Failure)" Check out our troubleshooting docs for help resolving the issue."

So I know that JIRA and the Gmail account are talking but despite deletion of the app specific password and recreating it. As well as enabling less secure apps to work with the account and ensured that I approved it I still can not get JIRA and the Gmail address to connect for the project incoming email address.

I have seen the question that has previously been raised for this issue and unfortunately I can not see how the issue was resolved and require some assistance to fix this problem please

https://community.atlassian.com/t5/Jira-Service-Desk-questions/Unable-to-connect-to-Gmail-Google-Apps-for-custom-email-address/qaq-p/757449

 

7 answers

5 votes
sfaria April 30, 2020

Just got it to work for G suite do the following:

  1. Turn less secure apps on
  2. Turn 2 step verification on
  3. Create app password
  4. Login with email address and app password
Tor Magne Svendsen June 16, 2020

This is the solution :) 

Worked as a charm

Like TEST TEST likes this
David Aguirre July 3, 2020

Works! Perfect

Dover Janis July 20, 2020

Can you expand on this. Where do you go for step 3?

sfaria July 20, 2020

Use this article it goes in exact details

 

https://support.google.com/accounts/answer/185833?hl=en

4 votes
Torey Baker July 23, 2019

For G-Suite users - after you enable access to less-secure apps in the Admin console, you need to go to the specific Gmail account you are using, go to the Account Settings, and explicitly allow Less Secure Apps for that user. You also need to enable IMAP for that account.

2 votes
Tony Vlcek October 28, 2019

For GSuite Users

1️⃣ Go to Google Account settings and enable less secure apps (https://myaccount.google.com/u/3/lesssecureapps)

2️⃣  Enable IMAP in Gmail

endaff.bowen April 1, 2020

Any body solved it , as my issue is the same;

I've seen a lot of questions in the forums on this, but how do I get Jira Service desk access to a Gsuite email account with 2FA enabled. (Relates to Connect to customer email account from a Email Requests for a specific Jira Service Desk project)

I have added App specific password as been mentioned in previous questions as a solution but then fails with authentication issues not that 2fa is on, also IMAP is on for the particular account.

First Step with normal Password;

Screenshot 2020-04-01 at 14.08.52.png

Second Step after creating a APP specific 16 length password

Screenshot 2020-04-01 at 14.09.02.png

To one particular on less secure apps, we can't enable less secure apps on our gsuite domain "Google is beginning to shut off Google Account access to less secure apps, the enforcement option is no longer available. We recommend turning off less secure apps access now. You should start using alternatives to less secure apps."

Tony Vlcek April 1, 2020

🤔 I didn't know about them shutting down less secure apps. Everything is okay with our service desk (so far).

Now I found some articles where google talks about this:
https://gsuiteupdates.googleblog.com/2020/03/less-secure-app-turn-off-suspended.html
and

https://gsuiteupdates.googleblog.com/2019/12/less-secure-apps-oauth-google-username-password-incorrect.html

 

According to the second one, Less Secure Apps  should work until June.

I'm personally not aware of any alternatives, I think that Jira will have to implement OAuth for Gsuite, but I might be wrong.

endaff.bowen April 2, 2020

 

As I tried switching on less secure apps for first time on our gsuite , it wouldnt let me so its not something we already had on.

Thanks for the links will look at them, and see if they help.

sfaria April 30, 2020

Just got it to work for Gsuite do the following:

  1. Turn less secure apps on
  2. Turn 2 step verfication on
  3. Create app password
  4. Login with email address and app password
Like # people like this
Yatish Madhav
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 23, 2020

Thanks @sfaria - Your method worked ... It was a bit of a runaround but worked ... Thank you.

Like spryce likes this
PHC Admin March 3, 2023

is there anything about Jira or Atlassian that is not a run around?

1 vote
Nick Bartlett June 29, 2019

same issue

0 votes
Elena Caramanico October 27, 2020

I have same problem...still not working... 

sfaria November 16, 2020

Login the email box

  1. Manage your Google account
  2. Security
  3. go to section called "Signing in to Google"
  4. Setup 2 factor (once done go back to section called "Signing in to Google")
  5. Select Apps password
  6. Go to Atlassian and sign in with it (project setting --> email requests)

I do see issue when doing it with different browsers (chrome -- worked, internet explorer --failed, Firefox --worked) 

Like Tarcísio Bannwart likes this
Tarcísio Bannwart November 19, 2020

PERFECT!

0 votes
Tom van der Wielen April 16, 2020

Ok for anyone finding this already almost a year later. For me, adding 2 step verification and then creating an app password worked.

I already approved less secure apps beforehand

sfaria April 30, 2020

worked perfectly!

Deleted user May 22, 2020

which settings you have choosen. I will try after few hours ago, app password is not accepting in my side

Dave Anderson July 9, 2020

App Passwords are not working for me either.

 

Atlassian, please implement OAUTH instead of app passwords.

0 votes

A support ticket has been created for this issue also JST-460515

Justine Tran April 9, 2019

Are there any follow ups on this? My team is having the same issue. 

Tiago Tavares April 17, 2019

The same is happening to us right now! 

endaff.bowen April 1, 2020

Did you solve it ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events