azureoutlookazure-logic-apps

Unauthorized error when signing to outlook email in azure logic app


Error Details:

{ "status": 401, "message": "Unauthorized\r\nclientRequestId: d820d73c-4538-4464-afd8-b28d9d6d9706\r\nserviceRequestId: 04dd4b5c-f6e9-0377-f98a-c74e381df0fb", "error": { "message": "Unauthorized" }, "source": "office365-si.azconn-si-001.p.azurewebsites.net" }

enter image description here

I'm signing to personal outlook mail in azure consumption logic app withe the above steps and getting the unauthorized error.

What might be the issue and also the solution? As I'm beginner, seeking your help.


Solution

  • There are two Outlook related connectors, you need to make sure you’re using the right one.

    Personal Accounts

    https://learn.microsoft.com/en-us/connectors/outlook

    Work/School Accounts

    https://learn.microsoft.com/en-us/connectors/office365/

    If you’re using the V3 trigger, you’re using the wrong connector for personal accounts. The connector for personal accounts is still on V2.

    I think you’ll find that is your issue.