terminal provisioning state 'Failed'

akshay bhat 0 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.
2,965 questions
Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
904 questions
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
992 questions
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 46,831 Reputation points Microsoft Employee
    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.