Error saving Azure virtual machine scale set autoscaling settings

Vaishali Ramchandran 41 Reputation points
2022-11-26T13:11:16.42+00:00

I keep getting this error "There was an error saving setting. Please try again in a few moments" when i save the settings for my VM scale set autoscaling. I have tried many times, still no luck. Tried googling this error, but did not get any solutions. Can you guys take a look and share your thoughts?

I am on the default subscription (free tier). Is it because there are restrictions to my subscription that I am not allowed to use autoscale for my VMSS?

264299-error.jpg

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
0 comments No comments
{count} vote

Answer accepted by question author
  1. Prrudram-MSFT 28,486 Reputation points Microsoft Employee Moderator
    2022-11-26T19:25:01.92+00:00

    Hello @Vaishali Ramchandran ,

    Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.

    As far as I know, and the documentation is considered auto-scale feature is supported on Free/Trial subscriptions as well. In order to test this scenario, I have set up a free trial and reproduced the error successfully
    264399-image.png

    Cause:
    As this error doesn't give any clues or reasons for failure. I have enabled network traces on the browser(Developer tools option in browser) and looked at the network trace logs, and found that the reason of failure is that it needs "Microsoft.Insights" resource provider to be registered on the subscription.

    Sinppet from network traces:
    extension: Microsoft_Azure_Monitoring
    {"error":{"code":"MissingSubscriptionRegistration","message":"The subscription is not registered to use namespace 'microsoft.insights'. See https://aka.ms/rps-not-found for how to register

    Solution:
    I have checked and registered the 'microsoft.insights' provider from ->Subscriptions->Resource Providers blade->microsoft.insights as it was not registered.

    264376-image.png

    Once it got registered, I was able to set the auto-scale with custom configuration as you can see in the below screenshot
    264408-image.png

    Hope this helps!

    Please "Accept as Answer" and Upvote if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.

    8 people found this answer helpful.

0 additional answers

Sort by: Most 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.