Hi RaviTejaManchikanti-5724,
From the error it looks like its resource provider registration issue for your subscription. So you can do one thing, just go to the subscription--> then click on "Resource Providers" and check whether Microsoft.compute resource provider is registered or not. If it is showing not registered, then please registered the same and try again whether you are still getting the error or not.
Thanks & Regards,
Pritam Ghatak (Prips)
Do click on "Mark as Answer" and Upvote on the post that helps you, this can be beneficial to other community members.