If Azure free account can use API management for email login/reading email/deleting email/etc...

shizhibushizhi 0 Reputation points
2024-09-21T02:53:17.8733333+00:00

Recently, when I tried to login in my hotmail account using Java:
String emailImap = "outlook.office365.com";

String email = "*** Email address is removed for privacy ***";

Store store = session.getStore("imaps");

store.connect(emailImap, email, emailPwd);

(The emailPwd is the app password I created in the two-factor authentication step), I got the "AUTHENTICATE failed" issue.
Seems currently hotmail can't be connected by IMAP, and I searched that hotmail only support oAuth 2.0 for API login, is it correct?
To use oAuth 2.0, I have to create an Azure account, I wonder if Azure free account can use API management for email login/reading email/deleting email/etc...
Could you help me with this question?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,117 questions
Microsoft Entra
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.