Unable to set Azure OpenAI Assistant to work with gpt-4.1-mini even though it's deployed and available

David Captur 140 Reputation points
2025-04-26T07:51:36.2533333+00:00

I have a correctly deployment model GPT-4.1-mini in Azure Open AI which is shown up as an option in the Assistants Playground of AI Foundry. When I'm trying to set the Assistant to use this deployment (which has a deployment status of Completed) I am getting this error:

Deployment not found**: Selected deployment may be in progress or deleted. Please try again in a few minutes or select another deployment.**

User's image

The deployment is correct, I can use it elsewhere such as for chat completion, just failing when I try to set it for an Assistant.

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,444 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sina Salam 20,671 Reputation points Moderator
    2025-04-27T01:39:03.1766667+00:00

    Hello David Captur,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you are unable to set Azure OpenAI Assistant to work with gpt-4.1-mini even though it's deployed and available.

    The error occurs because Azure OpenAI’s Assistants API restricts compatibility to specific models. While GPT-4.1-mini is functional for standard chat completions, it lacks official support for Assistants as of April 2025. This discrepancy triggers a misleading “Deployment not found” error, despite the model being deployed correctly. The issue stems from backend validation rejecting unauthorized models, even if they appear in the AI Foundry Playground UI due to synchronization delays or bugs. - https://learn.microsoft.com/en-us/azure/ai-services/openai/whats-new and https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/model-retirements

    To resolve this, replace the unsupported GPT-4.1-mini deployment with a compatible model such as GPT-4 Turbo (gpt-4-turbo), GPT-4 (gpt-4), or GPT-3.5-Turbo (gpt-3.5-turbo). Redeploy one of these models via the Azure portal, then update your Assistant configuration to reference the new deployment. This ensures compatibility with Assistants’ advanced features like persistent threads and tool integrations. Or you continue with somewhere else it works as you stated.

    I hope this is helpful! Do not hesitate to let me know if you have any other questions or clarifications.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.

    1 person found this answer helpful.

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.