I secured some of my ASP.NET Web API using Azure AD as you can see in the code screenshot below:
The strange thing is that sometimes when calling the API in parallel (bulk calls) the client gets an error:
Authorization has been denied for this request
I am unable to detect why it happens only sometimes even if the client re-tries the call with another access token. Is there a way to find/debug the exact reason why? It is maybe because I need to resize the Web/DB(DTU) servers?

