question

craigsanders avatar image
1 Vote"
craigsanders asked KhoaNguyen-3842 published

Http request failed as there is an error getting AD OAuth token

For a period of a couple of hours on 5 June we had a number of logic app runs fail due to an invalid certificate error message. It did not affect every run (maybe 1 in 20), but this was still enough to cause some head aches as it also caused the process which sends error messages to fail too.

We checked the Azure status history for the period and there was nothing there which seemed to relate.

Does this mean anything to anyone and is there something we need to do to prevent this?

9814-2020-06-11-14-58-5.png



Thanks

Craig

azure-logic-apps
· 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.

Have you find the cause and/or the resolution? Please elaborate if you did

0 Votes 0 ·
SamaraSoucy-MSFT avatar image
0 Votes"
SamaraSoucy-MSFT answered JhaPurushottamKumar-9076 commented

I'm glad that it has resolved. Looking through our internal system I don't see any Logic App tickets that would have caused this error.

It's a good idea to setup your system to handle situations where the platform is having issues- while we are continually improving in this area, problems are going to crop up occasionally.

How are you doing you error handling that it didn't trigger? Is it inside the Logic App or separately in something like Azure Monitor? Using the error path inside Logic Apps will catch most things like malformed data, but setting up Azure Monitor will help catch things like this where it is the platform that is having problems.

· 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,

I am facing same issue while inserting data to Azure storage table .
BadRequest. Http request failed as there is an error getting AD OAuth token: 'AADSTS700030: Invalid certificate - subject name in certificate is not authorized. SubjectNames/SubjectAlternativeNames (up to 10) in token certificate are:

this issue is not permanent. most of time it runs through, but sometimes it fails.


Please help.

0 Votes 0 ·
craigsanders avatar image
0 Votes"
craigsanders answered craigsanders edited

Thanks for your reply. Our error handing basically involves the sending of an email inside the logic app if any of the previous steps have failed. This was triggered but the actual email sending step failed for the same reason (screen shots show initial error and the email error). We'll investigate Azure Monitor.

Thanks.

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.