Azure logic apps - Office365 connection problem

Carlos Martins 26 Reputation points
2020-07-22T01:10:08.6+00:00

Hi all,

I am having problems connecting with outlook within Azure logic apps.
I followed the steps in this guide: https://learn.microsoft.com/en-us/azure/connectors/connectors-create-api-office365-outlook
But when I try to select outlook, either as a trigger or action, I get a connection error as below:

Please check your account info and/or permissions and try again. Details: Unauthorized clientRequestId:.....

Tried many things, even reached chat with Azure suport but couldn't fix it.
Tried many regions, but had same issue.

Any one could help?
Thanks in advance.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
{count} votes

Answer accepted by question author
  1. MayankBargali-MSFT 70,991 Reputation points Moderator
    2020-07-22T09:33:14.39+00:00

    Hi @CarlosMartins-2798

    The below error means that the operation that you are trying to perform doesn't have the required permission.

    Please check your account info and/or permissions and try again. Details: Unauthorized clientRequestId: 4C19CE06-52B2-415A-A294-13776C919253 serviceRequestId: a2d9e6e9-4fda-4830-9f26-281c869b78d6

    I was able to reproduce the issue at my end once I have created a new user in my Active Directory account that doesn't have the mailbox for that user. When I logged in with this user credentials I can see the same behaviour at my end.

    13267-image.png

    Please verify whether the user that you have login in has a mailbox created and has required permission. You can reach out to your team/admin to confirm the same.


1 additional answer

Sort by: Most helpful
  1. Carlos Martins 26 Reputation points
    2020-07-22T21:01:06.32+00:00

    Hi @MayankBargali-MSFT ,

    Just wanted to thank you again for your support.
    I was able to fix the problem. It was a small stupid mistake from my side.
    Since I have a Office 365 account, I was trying to use Office 365 outlook option while creating the action. Using Outlook.com worked fine.

    13401-image.png

    Wish you all the best.

    Regards,
    Carlos


Your answer

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