0

We have an app which get data from Azure DevOps Services using RestAPI with token. Without authentication it is working fine.

After enabling authentication get errors 500/431 without any explanation. Authentication set for single tenant and with new application registration.


THE ONLY WAY TO GET AROUND THIS PROBLEM WAS TO USE A CONTAINER BUILD FROM AZURE - USE VS CODE TO PUBLISH & BUILD - USING A CUSTOM CONTAINER FAILED ALWAYS


I tried the following without success:

Any advice would be most appreciated

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
galsi
  • 421
  • 1
  • 6
  • 19

1 Answers1

0

The error 500 may occur if you have enabled App Insights monitoring on client-side.

Please check whether you have enabled that option or not like below:

APPINSIGHTS_JAVASCRIPT_ENABLE = true

If it is enabled, disable it by assigning false parameter as suggested in this SO Thread by L. González.

These 500/431 errors occur due to many reasons and to know the exact issue behind the error, try enabling diagnostic logging.

enter image description here

To know more about diagnostic logging please refer this MsDoc

Try restarting the App Service and raise Azure Support Ticket if still the issue persists.

Reference:

how do I fix the azure web app error 500? - Stack Overflow

Rukmini
  • 6,015
  • 2
  • 4
  • 14