A catalog of AI models in Microsoft Foundry that you can discover, compare, and deploy using Azure’s built‑in tools for evaluation, fine‑tuning, and inference
Welcome to Microsoft Q&A
Hello @João Abrantes I hope you are doing well.
A 500 Internal Server Error returned by the Azure AI Foundry/OpenAI endpoint generally indicates that the request reached the service but could not be processed successfully. This is typically different from authentication, quota, or content filtering errors, which usually return 4xx status codes.
To help determine whether this is a transient service issue or specific to your deployment, could you please confirm:
Does the issue occur with all deployed models or only a specific model?
Is it affecting every request, or only a subset of requests?
Are the failures isolated to a single Azure region?
Have you noticed any correlation with increased traffic or specific request sizes?
In the meantime, I recommend checking:
Azure AI Foundry metrics, to identify spikes in failed requests, latency, or throttling around the time the errors occur.
Activity Log, to determine whether there were any deployment changes or service events that coincide with the start of the failures.
Your application logs, using the Request ID returned with each 500 response. This can help correlate failed requests with Azure Monitor telemetry and determine whether the failures are intermittent or follow a specific pattern.
If the errors are intermittent, implementing retry logic with exponential backoff is also recommended, as transient 5xx responses can occasionally occur during service operations.
References:
Monitor Azure AI Foundry resources
Azure AI Foundry quotas and limits
If my answer helped you, please consider marking it as accepted. This helps others in the community find similar solutions.