0
votes

My goal is to get the user's (Office 365 and Outlook.com) mails in a mule project. I am trying to follow the steps described in https://docs.microsoft.com/en-us/outlook/rest/get-started After registering the app the next step would be to authenticate the user using OAuth2. But I am not able to get the auth code.

Whenever I hit https://login.microsoftonline.com/tenantId/oauth2/authorize?client_id=clientId&response_mode=query&response_type=code&scope=openid+Mail.Read in postman, I am getting the sign in html in response.

How do I pass the username and password so that I dont get the signin page in response?

Can anyone help me with this?

1

1 Answers