question

DigvijaysinhZala-6288 avatar image
0 Votes"
DigvijaysinhZala-6288 asked DigvijaysinhZala-6288 commented

User is authenticated but not connected Limilabs Component

hi,

I have a web app that uses oauth authentication with IMAP/SMTP protocols to access emails in office365/outlook mailboxes. But a few customers had a problem connecting through those protocols Server returns User is authenticated but not connected.

see below URL about detail

133126-image.png


azure-active-directory
image.png (34.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MarileeTurscak-MSFT avatar image
0 Votes"
MarileeTurscak-MSFT answered DigvijaysinhZala-6288 commented

There are several common reasons that I have seen online for this error. From this related thread:


1) It is a Microsoft's mechanism to shut down chatty clients. The solution would be to login to this account less frequently. (Remember to close the connection properly use Close method and 'using' clause around Imap instance).

2) It is due to a bug in MS IMAP implementation. If the client presents a valid user name but an invalid password, the server accepts the login, but subsequent commands fail with the aforementioned error message.

3) It is a shared mailbox and you are using incorrect login scheme. Use Login method and Username@DomainName\SharedMailbox@DomainName for O365 per: https://www.limilabs.com/blog/shared-mailbox-office365

4) It's a server issue and you may need to reboot the server.

Let me know if this helps at all.

[2]: https://confluence.atlassian.com/jirakb/imap-fails-with-a3-bad-user-is-authenticated-but-not-connected-error-in-jira-server-integrated-with-office365-665420269.html

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

hi

we are using Oauth2.0 authentication method USEREMAIL and access TOKEN is valid we have checked and confirm.

one point is noted we are using USER account in our company is ADMIN account all permission is set in admin account.

here is link which we have implemented

https://www.limilabs.com/blog/oauth2-password-grant-office365-exchange-imap-pop3-smtp

you can tell me something and nothing remains in the permission level

0 Votes 0 ·