Announcements
Microsoft currently states that GPT-5 family models and later (GPT-5, GPT-5 mini, GPT-5 nano, GPT-5.x, etc.) are not supported for Bring Your Own Model in Prompts. Therefore, if you're unable to add a GPT-5 model from Azure AI Foundry in Copilot Studio, that behavior is expected and is likely due to this limitation rather than a configuration issue.
Ref: Bring your own model for your prompts - Microsoft Copilot Studio | Microsoft Learn
Hi, I ran into the same issue. The error seems to be caused by a parameter mismatch rather than the model deployment itself.The connection is sending the max_tokens parameter, but this model does not support it and expects max_completion_tokens instead. Since the Azure AI Foundry/Copilot Studio connection appears to be adding max_tokens automatically, the model connection fails.
max_tokens
max_completion_tokens
I would suggest checking whether the selected connection type and API version fully support the GPT-5 deployment. If there is an option to configure the token parameter manually, change max_tokens to max_completion_tokens.
If the parameter is not exposed in Copilot Studio, this may be a current limitation or compatibility issue with the connector. In that case, trying a supported API/model configuration or raising it with Microsoft support may be necessary.
Has anyone found a working configuration for GPT-5 in Copilot Studio with the Azure AI Foundry connection?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Mohsin Ali 296
Valantis 160 Super User 2026 Season 2
sannavajjala87 150 Super User 2026 Season 2