Can't run real-time deployment for best model in Azure ML: Resource provider not registered error

Andy Lee 20 Reputation points
2024-09-08T03:33:28.12+00:00

I'm trying to deploy my best model in Azure ML for real-time inference, but I'm encountering an error when creating the endpoint. Here's the error message I'm getting:


Id                : /subscriptions/06a51bdf-888d-417b-b303-b95aea3fb029/resourceGroups/resource-group/providers/Microsoft.Resources/deployments/563af197-82c1-4e84-bb6a-b859578776b7/operations/48D289180D894226

OperationId       : 48D289180D894226

ProvisioningState : Failed

StatusCode        : Conflict

StatusMessage     : Resource provider [N/A] isn't registered with Subscription [N/A]. Please see troubleshooting guide, available here: https://aka.ms/register-resource-provider (Code: SubscriptionNotRegistered)

                    

TargetResource    : /subscriptions/06a51bdf-888d-417b-b303-b95aea3fb029/resourceGroups/resource-group/providers/Microsoft.MachineLearningServices/workspaces/ml_student_ambassador/onlineEndpoints/ml-student-ambassador-ioltg

I've checked my resource providers, and Microsoft.MachineLearningServices is already registered. I'm using an Azure for Students subscription.

What could be causing this error, and how can I resolve it to successfully deploy my model?

Additional information:

  • Subscription type: Azure for Students
  • Resource provider status: Microsoft.MachineLearningServices is registered
  • Deployment method: Azure Portal
  • Azure region: West US 2

Any help or guidance would be greatly appreciated. Thank you!

Azure Machine Learning

Answer accepted by question author
AshokPeddakotla-MSFT 36,021 Reputation points Moderator
2024-09-09T06:27:31.07+00:00

Andy Lee Glad to hear your issue is resolved.

Since the Microsoft Q&A community has a policy that the question author cannot accept their own answer, they can only accept answers by others, I'll repost your solution in case you'd like to Accept the answer.

Error Message:

I'm trying to deploy my best model in Azure ML for real-time inference, but I'm encountering an error when creating the endpoint. Here's the error message I'm getting:

Copy


Id                : /subscriptions/06a51bdf-888d-417b-b303-b95aea3fb029/resourceGroups/resource-group/providers/Microsoft.Resources/deployments/563af197-82c1-4e84-bb6a-b859578776b7/operations/48D289180D894226

OperationId       : 48D289180D894226

ProvisioningState : Failed

StatusCode        : Conflict

StatusMessage     : Resource provider [N/A] isn't registered with Subscription [N/A]. Please see troubleshooting guide, available here: https://aka.ms/register-resource-provider (Code: SubscriptionNotRegistered)

                    

TargetResource    : /subscriptions/06a51bdf-888d-417b-b303-b95aea3fb029/resourceGroups/resource-group/providers/Microsoft.MachineLearningServices/workspaces/ml_student_ambassador/onlineEndpoints/ml-student-ambassador-ioltg

Solution:

Please add Microsoft.PolicyInsights in addition to Microsoft.Cnd to your Subscription Resource Provider. It should solve the issue at this moment.

Steps -

Go to Azure Portal

Select your Subscription

Select Settings

Select Resource Providers

Make sure you add Microsoft.PolicyInsights and Microsoft.Cnd policies. Refresh and retry deployment.

User's image

If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Newest
  1. Andy Lee 20 Reputation points
    2024-09-08T04:01:06.34+00:00

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.