terminal provisioning state 'Failed'

akshay bhat 20 Reputation points
2024-09-14T13:59:14.3233333+00:00

I watched a video from Rob Kerr AI on Azure ML Deploy Inference Point (https://www.youtube.com/watch?v=XE3PWXB260U&t=601s). I am new to deploying ML models on Azure as an endpoint. I tried to implement the same steps and process he followed in the video, but I caught the following error every time.

I am on a pay-as-you-go subscription just for reference.

The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'. (Code: ResourceDeploymentFailure, Target: /subscriptions/9cfea832-5851-43f9-803b-b3058caf27b3/resourceGroups/DIABETES/providers/Microsoft.MachineLearningServices/workspaces/demo_code_diabetes/onlineEndpoints/diabetesm)

I tried a bunch of stuff but couldn't figure out what was going on.

Any help would be greatly appreciated.

Thank you.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,346 questions
Windows for business | Windows Client for IT Pros | Devices and deployment | Set up, install, or upgrade
Microsoft Security | Intune | Configuration Manager | Deployment
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 48,916 Reputation points Microsoft Employee Moderator
    2024-09-17T14:55:24.3266667+00:00

    @akshay bhat For the error:

    "Resource provider [N/A] isn't registered with Subscription [N/A]."

    It has been a known issue recently with some subscriptions. In this case, you will have to follow these steps and try the deployment from portal again.

    1. Delete the failed deployment.
    2. Make sure to register the the resource provider 'Microsoft.PolicyInsights'" in subscription pane from Azure portal.
    3. Recreate the endpoint.

    I hope this helps!!

    See this threads for reference where users confirmed the same worked.

    https://learn.microsoft.com/en-us/answers/questions/2006498/why-am-i-getting-this-error-when-deploying-a-promp

    https://learn.microsoft.com/en-us/answers/questions/2027932/how-to-fix-endpoint-creating-failing-to-provision

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


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.