azure-quickstart-templates icon indicating copy to clipboard operation
azure-quickstart-templates copied to clipboard

IoT Hub DPS - Update resource API versions and create new Bicep file

Open schaffererin opened this issue 2 years ago • 4 comments

PR Checklist

Check these items before submitting a PR...

Contribution Guide

Best Practice Guide

  • [x] - Please check this box once you've submitted the PR if you've read through the Contribution Guide and best practices checklist.

Changelog

schaffererin avatar Apr 14 '22 17:04 schaffererin

@bmoore-msft - Can you take a look of this PR? The error message says "Status Message: No registered resource provider found for location 'westus' and API version 'iothubowner' for type 'IotHubs'. The supported api-versions are '2015-08-15-preview, 2016-02-03, 2017-01-19, 2017-07-01, 2018-01-22, 2018-04-01, 2018-04-01-preview, 2018-12-01-preview, 2019-03-22-preview, 2019-03-22, 2019-07-01-preview, 2019-11-04, 2020-01-01, 2020-03-01, 2020-04-01, 2020-06-15, 2020-07-10-preview, 2020-08-01, 2020-08-31-preview, 2020-08-31, 2021-02-01-preview, 2021-03-03-preview, 2021-03-31, 2021-07-01-preview, 2021-07-01, 2021-07-02-preview, 2021-07-02'. The supported locations are 'westus, australiacentral2, australiasoutheast, canadaeast, centralus, eastus, germanywestcentral, koreasouth, japanwest, southindia, southafricawest, uaenorth, southeastasia, westeurope, norwaywest, norwayeast, uksouth, southcentralus, australiacentral, australiaeast, brazilsouth, canadacentral, centralindia, eastasia, francecentral, germanynorth, japaneast, koreacentral, northeurope, southafricanorth, uaecentral, ukwest, westus2, westcentralus, northcentralus, eastus2'. (Code:NoRegisteredProviderFound)".

Both the API version "2021-07-02" and the location "westus" are listed in the error message as supported. This article, https://docs.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-register-resource-provider?tabs=azure-cli, listed 4 reasons. One of them is "The required resource provider hasn't been registered for your subscription.". Can you check?

mumian avatar May 12 '22 19:05 mumian

@bmoore-msft - can you take a look at this PR?

mumian avatar Jun 28 '22 16:06 mumian

/azp run

bmoore-msft avatar Jul 05 '22 19:07 bmoore-msft

Azure Pipelines successfully started running 2 pipeline(s).

azure-pipelines[bot] avatar Jul 05 '22 19:07 azure-pipelines[bot]

/azp run

bmoore-msft avatar Aug 12 '22 22:08 bmoore-msft

Azure Pipelines successfully started running 2 pipeline(s).

azure-pipelines[bot] avatar Aug 12 '22 22:08 azure-pipelines[bot]