Hi Team,
When i tried to configure hotmail with Office 365 in azure logic app for sending email ,but it gave below exception message " Failed with error: 'OAuth2Certificate authorization flow failed for service 'Office 365 (Discovery, Certificate)'. O365 discovery endpoint returned status code 401 (Unauthorized). Response: {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":"Access denied. You do not have permission to perform this action or access this resource."}"
I am using visual studio 2015 enterprise subscription for use of azure .
please help.
Thanks,
Anirban
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@tutul2010 Thanks for reaching out! We will investigate and get back to you on this.
@tutul2010 If you are trying to send emails using your hotmail (or now outlook.com account) you would have to use the Outlook.com connector and not the Office 365 Outlook connector

Resolved 👍 .
Thanks for help.
@tutul2010 Glad that resolved it!
I've opened a bug to improve the error message. Thanks!
Thanks and solution helped. It will also helpful if some one can point out FAQ on Logic App topic as new to this subject.
Got this solution after extensive search. Another issue facing was related with trigger not responding to a task of sending an automatic reply. Couldn't establish the reason for the same.
I created a work item to update the doc about which connector to use if you have a @hotmail.com account.
I am getting the error while adding the 'Outlook.com' connector and tried for 'Send an Email' action. The issue is "Failed with error: 'The browser is closed.'. Please sign in again."

Hi @ganeshspwr,
Thanks for reaching out!
For product issues, please post your question in the Azure Logic Apps section at Microsoft Q&A.
For new doc questions, please open a new GitHub issue.
Most helpful comment
@tutul2010 If you are trying to send emails using your hotmail (or now outlook.com account) you would have to use the
Outlook.comconnector and not theOffice 365 Outlookconnector