Share via

NoRegisteredProviderFound when starting a VM using Compute API Version 2021-07-01 in EastUs

Peter Retief 101 Reputation points
2021-09-18T16:06:15.333+00:00

I am trying to use Logic Apps to trigger the start of a VM by an HTTP request. I can successfully trigger the API call, but I get the following error:
{
"error": {
"code": "NoRegisteredProviderFound",
"message": "No registered resource provider found for location 'eastus' and API version '2021-07-01\"' for type 'virtualMachines'. The supported api-versions are '2015-05-01-preview, 2015-06-15, 2016-03-30, 2016-04-30-preview, 2016-08-30, 2017-03-30, 2017-12-01, 2018-04-01, 2018-06-01, 2018-10-01, 2019-03-01, 2019-07-01, 2019-12-01, 2020-06-01, 2020-12-01, 2021-03-01, 2021-04-01, 2021-07-01'. The supported locations are 'eastus, eastus2, westus, centralus, northcentralus, southcentralus, northeurope, westeurope, eastasia, southeastasia, japaneast, japanwest, australiaeast, australiasoutheast, australiacentral, brazilsouth, southindia, centralindia, westindia, canadacentral, canadaeast, westus2, westcentralus, uksouth, ukwest, koreacentral, koreasouth, francecentral, southafricanorth, uaenorth, switzerlandnorth, germanywestcentral, norwayeast, jioindiawest, westus3'."
}
}

Microsoft.Compute is registered as a service provider for my subscription.

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

0 comments No comments

Answer accepted by question author

Peter Retief 101 Reputation points
2021-09-23T06:34:09.357+00:00

I received great support from Microsoft. The basic problem was that my call to the Compute API was a GET instead of a POST. Here is the successful HTTP step:

134585-image.png

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. prmanhas-MSFT 17,976 Reputation points Microsoft Employee Moderator
    2021-09-20T12:30:11.997+00:00

    @Peter Retief Apologies for the delay in response and all the inconvenience caused because of the issue.

    The error message should give you suggestions for the supported locations and API versions. You can change your template to one of the suggested values. Most providers are registered automatically by the Azure portal or the command-line interface you're using, but not all. If you haven't used a particular resource provider before, you may need to register that provider.

    Can you please check steps as mentioned here.

    Let me know if it helped or not.

    Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.

    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.