How to register to this feature Microsoft.Compute/BulkGET RuntimeState

Ravi Teja Manchikanti 46 Reputation points
2020-05-06T06:48:07.903+00:00

When I use below API

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines?api-version=2019-12-01&statusOnly={statusOnly}

Im getting below error

Query param statusOnly=true is only supported when subscription is registered with Microsoft.Compute/BulkGETVMRuntimeState feature.

How to fix this ?

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

2 answers

Sort by: Most helpful
  1. Pritam Ghatak 231 Reputation points
    2020-05-06T17:04:35.977+00:00

    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.

    1 person found this answer helpful.

  2. Sameh Sobhy Abdelrady 6 Reputation points
    2022-07-01T21:11:15.64+00:00

    Try again

    0 comments No comments