Why am i not able to delete a finetune job in azure openAI

Ghaith Almasri 20 Reputation points
2025-02-19T09:15:19.21+00:00

When I attempt to delete a finetune job I get an error, even the API endpoing is not working for me. What could be the reason?

{ "error": { "code": "internalFailure", "message": "Service has failed unexpectedly, retrying may help. RequestId:d5962f9f-01a5-4684-987f-d61180fd9fd8" } }

internalFailure

Service has failed unexpectedly, retrying may help. RequestId:d5962f9f-01a5-4684-987f-d61180fd9fd8

PropertiesStack traceError: Request failed with status code 500 at ht (https://ai.azure.com/assets/manualChunk_data-fetch-bd489cf3.js:14:85613) at dt (https://ai.azure.com/assets/manualChunk_data-fetch-bd489cf3.js:14:85796) at XMLHttpRequest.S (https://ai.azure.com/assets/manualChunk_data-fetch-bd489cf3.js:15:1655)Target-Client request IDcdf68991-5b08-4384-b598-1d628691985cTrace ID3941a996-f85d-4624-95a1-7527d957dc10Service request ID-APIM request IDd5962f9f-01a5-4684-987f-d61180fd9fd8

User's image

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
4,116 questions
{count} votes

Accepted answer
  1. santoshkc 15,435 Reputation points Microsoft External Staff Moderator
    2025-02-19T11:35:51.37+00:00

    Hi @Ghaith Almasri,

    The error message you are encountering, "internalFailure", indicates that the Azure OpenAI service has failed unexpectedly. This is often a temporary issue, and retrying the request after some time may resolve it. Ensure that you are attempting to delete the correct resource.

    Deleting a fine-tuned model's deployment does not delete the model itself, you can re-deploy it later. You can try deleting the deployment via the Azure AI Foundry portal, via REST API, Azure CLI, or other supported methods. If you are still unable to delete the job, verify that you have the necessary Cognitive Services OpenAI Contributor role assigned, as even high-level service administrators require this explicit permission for fine-tuning actions.

    Please refer to: Delete Fine-tune models.

    Thank you.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.