@Roberto Persico I am sorry to hear that the AutoHeal feature did not work as expected. Here are some things you can try to troubleshoot the issue:
Double-check the rule configuration: It's possible that the rule was not configured correctly or is not targeting the correct application. You can verify this by going to the "AutoHeal" tab in the Azure portal and checking the rule's settings.
Make sure the rule is enabled: Sometimes rules can be accidentally disabled. You can verify if the rule is enabled by going to the "AutoHeal" tab in the Azure portal and checking the rule's status.
Verify the rule's action: Make sure that the rule's action is set to "Recycle". You can verify this by going to the "AutoHeal" tab in the Azure portal and checking the rule's settings.
Check the rule's threshold: Make sure that the rule's threshold is set correctly. In your case, the threshold is set to more than 25 HTTP errors (status code 500) in one minute. You can verify this by going to the "AutoHeal" tab in the Azure portal and checking the rule's settings.
- Verify the rule's time window: Make sure that the rule's time window is set correctly. In your case, the time window should be set to one minute. You can verify this by going to the "AutoHeal" tab in the Azure portal and checking the rule's settings.
If none of these suggestions help, please provide more information about your web app and the AutoHeal rule you have configured. This will help me provide more specific guidance.