question

CarlosMartins-2798 avatar image
0 Votes"
CarlosMartins-2798 asked MayankBargali-MSFT commented

Azure logic apps - Office365 connection problem

Hi all,

I am having problems connecting with outlook within Azure logic apps.
I followed the steps in this guide: https://docs.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
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @CarlosMartins-2798

Can you share the full exception messages that you are getting along with the trigger/action name?

0 Votes 0 ·


Hi @MayankBargali-MSFT ,

Here is the message:
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

The action is:
Send an Email (V2)

I have a trigger that that runs when a SFTP folder is altered. It is working fine. Just can't perform the action.

Thanks

0 Votes 0 ·

Hi @CarlosMartins-2798

I have looked into the logs and I can see the same authentication issue while creating the test connection for your logic app. Want to confirm if you have tried to change the connection and add a new one and see if it helps you. I have tested the scenario at my end and I was not able to reproduce the issue.


13342-image.png


13343-image.png



If you are still facing the issue I wish to engage with you offline for a closer look and provide quick and specialized assistance, please send an email with the subject line “Attn:Mayank” to AzCommunity[at]Microsoft[dot]com referencing this thread.

0 Votes 0 ·
image.png (19.2 KiB)
image.png (13.9 KiB)
MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered CarlosMartins-2798 commented

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.



image.png (40.1 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @MayankBargali-MSFT ,


Thanks again for your support. Seems that you are correct, for some reason I don't have an email at my contact info. The problem is that I can't change that. Any idea how to do it? is that what you meant?


13315-capturar.jpg


Regards,


0 Votes 0 ·
capturar.jpg (89.4 KiB)
CarlosMartins-2798 avatar image
0 Votes"
CarlosMartins-2798 answered MayankBargali-MSFT commented

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



image.png (15.2 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @CarlosMartins-2798

Thanks for the update. Glad to know that the issue is resolved now.

0 Votes 0 ·