Failure to deploy the Model for AI900 first exercise

Nureyin Reddy 20 Reputation points
2024-08-29T10:55:46.9733333+00:00

Good Day

I am trying to do this step in the AI900 first exercise:

Deploy and test the model

  1. On the Model tab for the best model trained by your automated machine learning job, select Deploy and use the Real-time endpoint option to deploy the model with the following settings:
    • Virtual machine: Standard_DS3_v2
    • Instance count: 3
    • Endpoint: New
    • Endpoint name: Leave the default or make sure it’s globally unique
    • Deployment name: Leave default
    • Inferencing data collection: Disabled
    • Package Model: Disabled
  2. Wait for the deployment to start - this may take a few seconds. The Deploy status for the predict-rentals endpoint will be indicated in the main part of the page as Running.
  3. Wait for the Deploy status to change to Succeeded. This may take 5-10 minutes.

However, the deployment always fails with error code: {"code":"SubscriptionNotRegistered","message":"Resource provider [N/A] isn't registered with Subscription [N/A]. Please see troubleshooting guide, available here: https://aka.ms/register-resource-provider","details":[],"additionalInfo":[]}

I also noticed that on the Best Model summary, the Algorithm name is not showing MaxAbsScaler or LightGBM. So I am not sure if these are related or not.

Azure | Azure Training
{count} votes

2 answers

Sort by: Most helpful
  1. VarunTha 14,850 Reputation points Microsoft External Staff Moderator
    2024-09-13T17:16:21.62+00:00

    Hi Nureyin Reddy,
    Thank you for your patience.

    To continue your learning please try this workaround:

    Click the "Edit and submit" and "Submit training job", then we are able to complete the task successfully (as shown):

    User's image

    If the issue still persists, please do let us know.

    I hope this information is helpful, please Upvote & Accept Answer so that it would be helpful to community members.


  2. VarunTha 14,850 Reputation points Microsoft External Staff Moderator
    2024-10-25T17:24:35.8166667+00:00

    Hi Nureyin Reddy,
    Thank you for your patience

    Error Message:

    {"code":"SubscriptionNotRegistered","message":"Resource provider [N/A] isn't registered with Subscription [N/A]. Please see troubleshooting guide, available here: https://aka.ms/register-resource-provider","details":[],"additionalInfo":[]}

    To resolve this issue, please ensure that 'Microsoft.Storage' is registered in addition to 'Microsoft.MachineLearningServices' in your Subscription Resource Provider settings.

    1.Go to Azure Portal → Select your Subscription → Select Settings → Resource Providers.

    • In the Resource Providers section, check that 'Microsoft.MachineLearningServices' is registered.
    • If not, click the Register button and allow a few minutes for the registration to complete before deploying the model again.

    2.Confirm that your subscription has enough quota for the resources you intend to deploy, particularly for virtual machine sizes.

    3.Ensure your account has the required permissions (Contributor role or higher).

    4.If needed, try creating your Azure Machine Learning workspace and deploying your model in a different region.

    We’ve followed these steps according to the exercise instructions now it's working fine and not encountered any issues. Please find the attached screenshot for reference: t 1

    t 2

    Please don't hesitate to reach out again if the problem continues. We're here to help!

    If you have found the answer provided to be helpful, please click on the "Accept Answer and Upvote" button so that it is useful for other members in the Microsoft Q&A community.


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.