Hi,
I'm trying to authenticate on microsoft office 365 using Oauth 2.0.
I always have the following error with the dll : "AUTHENTICATE failed (NO)."
My Azure App, and my token are OK, i can authenticate using another librairy.
Could you help me ?
My code :
using (Imap _imap = new Imap())
{
_imap.Connect("outlook.office365.com", 993, ComponentPro.Net.SslSecurityMode.Implicit);
_imap.Authenticate(_return.access_token.Value, ImapAuthenticationMethod.OAuth20);
_imap.Disconnect();
}
asked 8/10/2022 7:55:15 AM