How to fix A0002 NO AUTHENTICATE failed. in a vb6 app

Softworld Ventures 5 Reputation points
2024-03-02T09:16:19.2733333+00:00

I have a vb6 app that will be retrieving mails from my outlook email account (example@outlook.com) which is my registered azure account ID. I can retrieve my token everytime I want to check for new mails using imap4, but on applying it later on in the app to be able to retrieve my mails, i keep getting this error: Mail Server: A0002 NO AUTHENTICATE failed.

So, what really is the issue because it was working initially when I newly created my azure account?

I have attached my app log file.

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,408 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,446 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,850 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
503 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,766 questions
{count} vote