An Azure machine learning service for building and deploying models.
Hi Rongheng,
Thanks for the detailed description, that helps a lot. Based on what you’re seeing (portal showing Internal Server Error and REST returning InvalidModelProviderData), this isn’t a simple syntax issue in your request. It typically indicates that Azure AI Foundry is unable to validate or resolve the Anthropic Marketplace linkage behind the scenes.
A few targeted checks and actions should help you move forward:
The most important point is that Anthropic models (like Claude Sonnet 4.6) are not deployed by manually constructing modelProviderData. That field is internally populated by Azure when it successfully links your Azure AI resource to the Marketplace SaaS subscription. If you try to pass custom values (for example organization name or country), the service will reject the request with InvalidModelProviderData, which matches what you’re seeing.
I recommend starting with the portal instead of REST to establish a clean linkage. In Azure AI Foundry, create the deployment directly from the model catalog. If the Marketplace subscription is correctly recognized, the platform will automatically bind the required provider data. If the same deployment fails in the UI with “Internal Server Error,” it usually confirms the issue is not your payload, but a backend validation or entitlement problem.
Next, please verify that your Anthropic Marketplace subscription is properly connected to the same subscription and tenant as your Azure AI resource. You can check this in the Azure portal under SaaS resources. The subscription should be in an Active state. If there’s any doubt, re-subscribing to the offer often resolves hidden linkage issues by generating a fresh SaaS resource.
Also ensure that you’re deploying in a region where Anthropic models are supported for Azure AI Foundry. Availability can vary, and deploying in an unsupported region can result in generic failures rather than clear validation errors.
Since both UI and REST are failing in your case, I would strongly recommend checking the Activity Log for the failed deployment and capturing the correlation ID. If everything above looks correct, this is very likely a service-side issue, and providing that correlation ID in a support request will allow the product team to identify the exact backend failure.
For reference, the following Microsoft documentation aligns with this setup and expected behavior:
Azure AI Foundry model deployment guidance: https://learn.microsoft.com/azure/ai-foundry/how-to/deploy-models
Azure Marketplace SaaS subscription and activation: https://learn.microsoft.com/azure/marketplace/purchase-saas-offer-in-azure-portal
Azure AI Services REST API (preview reference): https://learn.microsoft.com/azure/ai-services/openai/reference-preview
In short, avoid manually setting modelProviderData, confirm the Marketplace SaaS linkage, and use the portal to validate the deployment path. If it still fails, the correlation ID from Activity Logs will be key to resolving this quickly with Microsoft support.
Hope this helps you get unblocked.