Azure / azure-cli

Azure Command-Line Interface
MIT License
4.03k stars 3.01k forks source link

az iot hub identy fails API Version #28843

Open Gamecock opened 7 months ago

Gamecock commented 7 months ago

Describe the bug

Command fails to execute because of API version

Related command

az iot hub identity assign

Errors

(NoRegisteredProviderFound) No registered resource provider found for location 'westus' and API version '2022-04-01' for type 'storageAccounts/blobServices'. The supported api-versions are '2023-05-01, 2023-04-01, 2023-01-01, 2022-09-01, 2022-05-01, 2021-09-01, 2021-08-01, 2021-06-01, 2021-05-01, 2021-04-01, 2021-02-01, 2021-01-01, 2020-08-01-preview, 2019-06-01, 2019-04-01, 2018-11-01, 2018-07-01, 2018-03-01-preview, 2018-02-01, 2017-10-01, 2017-06-01, 2016-12-01, 2016-05-01'. The supported locations are 'eastus, eastus2, westus, westeurope, eastasia, southeastasia, japaneast, japanwest, northcentralus, southcentralus, centralus, northeurope, brazilsouth, australiaeast, australiasoutheast, southindia, centralindia, westindia, canadaeast, canadacentral, westus2, westcentralus, uksouth, ukwest, koreacentral, koreasouth, francecentral, australiacentral, southafricanorth, uaenorth, switzerlandnorth, germanywestcentral, norwayeast, westus3, jioindiawest, swedencentral, qatarcentral, polandcentral, italynorth, israelcentral, mexicocentral'. Code: NoRegisteredProviderFound Message: No registered resource provider found for location 'westus' and API version '2022-04-01' for type 'storageAccounts/blobServices'. The supported api-versions are '2023-05-01, 2023-04-01, 2023-01-01, 2022-09-01, 2022-05-01, 2021-09-01, 2021-08-01, 2021-06-01, 2021-05-01, 2021-04-01, 2021-02-01, 2021-01-01, 2020-08-01-preview, 2019-06-01, 2019-04-01, 2018-11-01, 2018-07-01, 2018-03-01-preview, 2018-02-01, 2017-10-01, 2017-06-01, 2016-12-01, 2016-05-01'. The supported locations are 'eastus, eastus2, westus, westeurope, eastasia, southeastasia, japaneast, japanwest, northcentralus, southcentralus, centralus, northeurope, brazilsouth, australiaeast, australiasoutheast, southindia, centralindia, westindia, canadaeast, canadacentral, westus2, westcentralus, uksouth, ukwest, koreacentral, koreasouth, francecentral, australiacentral, southafricanorth, uaenorth, switzerlandnorth, germanywestcentral, norwayeast, westus3, jioindiawest, swedencentral, qatarcentral, polandcentral, italynorth, israelcentral, mexicocentral'.

Issue script & Debug output

cli.knack.cli: Command arguments: ['iot', 'hub', 'identity', 'assign', '--name', '{hub}', '--resource-group', '{group}', '--system-assigned', '--role', 'Storage Blob Data Contributor', '--scopes', '/subscriptions/{subscrip[tion}/resourceGroups/{group}/providers/Microsoft.Storage/storageAccounts/{storageaccount}/BlobServices/Containers/landing', '--debug'] cli.knack.cli: init debug log: Enable color in terminal. Enable VT mode. cli.knack.cli: Event: Cli.PreExecute [] cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x0000020F66D552D0>, <function OutputProducer.on_global_arguments at 0x0000020F66EA3F40>, <function CLIQuery.on_global_arguments at 0x0000020F670F12D0>] cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate [] cli.azure.cli.core: Modules found from index for 'iot': ['azure.cli.command_modules.iot', 'azext_iot'] cli.azure.cli.core: Loading command modules: cli.azure.cli.core: Name Load Time Groups Commands cli.azure.cli.core: iot 0.304 19 82 cli.azure.cli.core: Total (1) 0.304 19 82 cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next'] cli.azure.cli.core: Loading extensions: cli.azure.cli.core: Name Load Time Groups Commands Directory cli.azure.cli.core: azure-iot 0.036 103 337 C:\Users\Me.azure\cliextensions\azure-iot cli.azure.cli.core: Total (1) 0.036 103 337 cli.azure.cli.core: Loaded 117 groups, 419 commands. cli.azure.cli.core: Found a match in the command table. cli.azure.cli.core: Raw command : iot hub identity assign cli.azure.cli.core: Command table: iot hub identity assign cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x0000020F697743A0>] cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\Me.azure\commands\2024-04-26.11-46-29.iot_hub_identity_assign.23676.log'. az_command_data_logger: command args: iot hub identity assign --name {} --resource-group {} --system-assigned --role {} --scopes {} --debug cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x0000020F69777010>] cli.knack.commands: Configured default 'RgOnityDevTest' for arg resource_group_name cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad [] cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x0000020F697C5000>, <function register_cache_arguments..add_cache_arguments at 0x0000020F697C5120>] cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded [] cli.knack.cli: Event: CommandInvoker.OnPreParseArgs [] cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x0000020F66ECC040>, <function CLIQuery.handle_query_parameter at 0x0000020F670F1360>, <function register_ids_argument..parse_ids_arguments at 0x0000020F697C5090>, <function handler at 0x0000020F6981DAB0>] cli.azure.cli.core.commands.client_factory: Getting management service client client_type=IotHubClient cli.azure.cli.core.auth.persistence: build_persistence: location='C:\Users\Me\.azure\msal_token_cache.bin', encrypt=True cli.azure.cli.core.auth.binary_cache: load: C:\Users\Me.azure\msal_http_cache.bin urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None) msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/{guid}/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/{guid}/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/{guid}/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/{guid}/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/{guid}/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/{guid}/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/{guid}/kerberos', 'tenant_region_scope': 'NA', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'} msal.application: Broker enabled? False cli.azure.cli.core.commands.client_factory: Getting management service client client_type=ResourceManagementClient urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None) msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/{guid}/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/{guid}/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/{guid}/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/{guid}/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/{guid}/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/{guid}/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/{guid}/kerberos', 'tenant_region_scope': 'NA', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'} msal.application: Broker enabled? False cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={} cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={} msal.application: Cache hit an AT msal.telemetry: Generate or reuse correlation_id: a5961909-6410-4fbb-b021-00273bf36c5f cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/{subscrip[tion}/resourcegroups/{group}?api-version=2022-09-01' cli.azure.cli.core.sdk.policies: Request method: 'HEAD' cli.azure.cli.core.sdk.policies: Request headers: cli.azure.cli.core.sdk.policies: 'Accept': 'application/json' cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': '259cd097-03e4-11ef-94d3-3887d52cdc4b' cli.azure.cli.core.sdk.policies: 'CommandName': 'iot hub identity assign' cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--name --resource-group --system-assigned --role --scopes --debug' cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.51.0 (MSI) azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.10.10 (Windows-10-10.0.19045-SP0)' cli.azure.cli.core.sdk.policies: 'Authorization': '' cli.azure.cli.core.sdk.policies: Request body: cli.azure.cli.core.sdk.policies: This request has no body urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443 urllib3.connectionpool: https://management.azure.com:443 "HEAD /subscriptions/{subscrip[tion}/resourcegroups/{group}?api-version=2022-09-01 HTTP/1.1" 204 0 cli.azure.cli.core.sdk.policies: Response status: 204 cli.azure.cli.core.sdk.policies: Response headers: cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache' cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache' cli.azure.cli.core.sdk.policies: 'Content-Length': '0' cli.azure.cli.core.sdk.policies: 'Expires': '-1' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11999' cli.azure.cli.core.sdk.policies: 'x-ms-request-id': '6027afc4-ee82-4769-936d-54d5b4a3f062' cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': '6027afc4-ee82-4769-936d-54d5b4a3f062' cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'EASTUS:20240426T154629Z:6027afc4-ee82-4769-936d-54d5b4a3f062' cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff' cli.azure.cli.core.sdk.policies: 'X-Cache': 'CONFIG_NOCACHE' cli.azure.cli.core.sdk.policies: 'X-MSEdge-Ref': 'Ref A: 410AFD96222442CCB488DE70869C6227 Ref B: BN1AA2051014031 Ref C: 2024-04-26T15:46:29Z' cli.azure.cli.core.sdk.policies: 'Date': 'Fri, 26 Apr 2024 15:46:28 GMT' cli.azure.cli.core.sdk.policies: Response content: cli.azure.cli.core.sdk.policies: cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={} cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={} msal.application: Cache hit an AT msal.telemetry: Generate or reuse correlation_id: 2cade940-b9b4-4576-b066-56a26496ad10 cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/{subscrip[tion}/providers/Microsoft.Devices/checkNameAvailability?api-version=2022-04-30-preview' cli.azure.cli.core.sdk.policies: Request method: 'POST' cli.azure.cli.core.sdk.policies: Request headers: cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json' cli.azure.cli.core.sdk.policies: 'Content-Length': '31' cli.azure.cli.core.sdk.policies: 'Accept': 'application/json' cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': '259cd097-03e4-11ef-94d3-3887d52cdc4b' cli.azure.cli.core.sdk.policies: 'CommandName': 'iot hub identity assign' cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--name --resource-group --system-assigned --role --scopes --debug' cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.51.0 (MSI) azsdk-python-azure-mgmt-iothub/2.3.0 Python/3.10.10 (Windows-10-10.0.19045-SP0)' cli.azure.cli.core.sdk.policies: 'Authorization': '' cli.azure.cli.core.sdk.policies: Request body: cli.azure.cli.core.sdk.policies: {"name": "{hub}"} urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443 urllib3.connectionpool: https://management.azure.com:443 "POST /subscriptions/{subscrip[tion}/providers/Microsoft.Devices/checkNameAvailability?api-version=2022-04-30-preview HTTP/1.1" 200 111 cli.azure.cli.core.sdk.policies: Response status: 200 cli.azure.cli.core.sdk.policies: Response headers: cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache' cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache' cli.azure.cli.core.sdk.policies: 'Content-Length': '111' cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json; charset=utf-8' cli.azure.cli.core.sdk.policies: 'Expires': '-1' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-writes': '1199' cli.azure.cli.core.sdk.policies: 'x-ms-request-id': 'b3edd613-25d4-4f39-8a52-4acf54105542' cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': 'b3edd613-25d4-4f39-8a52-4acf54105542' cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'EASTUS:20240426T154631Z:b3edd613-25d4-4f39-8a52-4acf54105542' cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff' cli.azure.cli.core.sdk.policies: 'X-Cache': 'CONFIG_NOCACHE' cli.azure.cli.core.sdk.policies: 'X-MSEdge-Ref': 'Ref A: C4A3FD23FAB84B548685C6749D578141 Ref B: BN1AA2051014023 Ref C: 2024-04-26T15:46:29Z' cli.azure.cli.core.sdk.policies: 'Date': 'Fri, 26 Apr 2024 15:46:30 GMT' cli.azure.cli.core.sdk.policies: Response content: cli.azure.cli.core.sdk.policies: {"nameAvailable":false,"reason":"AlreadyExists","message":"IotHub name '{hub}' is not available"} cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/{subscrip[tion}/resourceGroups/{group}/providers/Microsoft.Devices/IotHubs/{hub}?api-version=2022-04-30-preview' cli.azure.cli.core.sdk.policies: Request method: 'GET' cli.azure.cli.core.sdk.policies: Request headers: cli.azure.cli.core.sdk.policies: 'Accept': 'application/json' cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': '259cd097-03e4-11ef-94d3-3887d52cdc4b' cli.azure.cli.core.sdk.policies: 'CommandName': 'iot hub identity assign' cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--name --resource-group --system-assigned --role --scopes --debug' cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.51.0 (MSI) azsdk-python-azure-mgmt-iothub/2.3.0 Python/3.10.10 (Windows-10-10.0.19045-SP0)' cli.azure.cli.core.sdk.policies: 'Authorization': '*' cli.azure.cli.core.sdk.policies: Request body: cli.azure.cli.core.sdk.policies: This request has no body urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/{subscrip[tion}/resourceGroups/{group}/providers/Microsoft.Devices/IotHubs/{hub}?api-version=2022-04-30-preview HTTP/1.1" 200 3098 cli.azure.cli.core.sdk.policies: Response status: 200 cli.azure.cli.core.sdk.policies: Response headers: cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache' cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache' cli.azure.cli.core.sdk.policies: 'Content-Length': '3098' cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json; charset=utf-8' cli.azure.cli.core.sdk.policies: 'Expires': '-1' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11998' cli.azure.cli.core.sdk.policies: 'x-ms-request-id': 'e47eda58-b705-409f-bca0-e2e6943af5bc' cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': 'e47eda58-b705-409f-bca0-e2e6943af5bc' cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'EASTUS:20240426T154632Z:e47eda58-b705-409f-bca0-e2e6943af5bc' cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff' cli.azure.cli.core.sdk.policies: 'X-Cache': 'CONFIGNOCACHE' cli.azure.cli.core.sdk.policies: 'X-MSEdge-Ref': 'Ref A: 1CF505A7C2A04196B6568E01ADBE00A4 Ref B: BN1AA2051014023 Ref C: 2024-04-26T15:46:31Z' cli.azure.cli.core.sdk.policies: 'Date': 'Fri, 26 Apr 2024 15:46:31 GMT' cli.azure.cli.core.sdk.policies: Response content: cli.azure.cli.core.sdk.policies: {"id":"/subscriptions/{subscrip[tion}/resourceGroups/{group}/providers/Microsoft.Devices/IotHubs/{hub}","name":"{hub}","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{tags},"subscriptionid":"{subscrip[tion}","resourcegroup":"{group}","etag":"BAAAAFEAAAA=","properties":{"locations":[{"location":"West US","role":"primary"},{"location":"East US","role":"secondary"}],"state":"Active","provisioningState":"Succeeded","ipFilterRules":[],"hostName":"{hub}.azure-devices.net","eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"{hub}","endpoint":"sb://iothub-ns-onitycloud-16731898-39844f69e1.servicebus.windows.net/"}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;BlobEndpoint=https://{storageaccount}.blob.core.windows.net/;FileEndpoint=https://{storageaccount}.file.core.windows.net/;QueueEndpoint=https://{storageaccount}.queue.core.windows.net/;TableEndpoint=https://{storageaccount}.table.core.windows.net/;AccountName={storageaccount};AccountKey=****","containerName":"landing","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}{mm}","batchFrequencyInSeconds":60,"maxChunkSizeInBytes":314572800,"encoding":"json","authenticationType":"keyBased","name":"landingdev","id":"3440b4bc-ec18-4eb0-a429-a359b587bdbe","subscriptionId":"{subscrip[tion}","resourceGroup":"{group}"}],"cosmosDBSqlCollections":[]},"routes":[{"name":"DeviceMessages","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"landingdev","source":"DeviceMessages","condition":"true","endpointNames":["landingdev"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"GWV2, RootCertificateV2","disableLocalAuth":false,"allowedFqdnList":[],"rootCertificate":{"enableRootCertificateV2":true,"lastUpdatedTimeUtc":"2023-01-04T15:25:36.914144Z"}},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"{guid}","type":"SystemAssigned","principalId":"cd5f89af-72fb-428a-94d1-c59dcad29d50"},"systemData":{"createdAt":"2022-01-06T10:05:24.6433333Z"}} cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/{subscrip[tion}/resourceGroups/{group}/providers/Microsoft.Devices/IotHubs/{hub}?api-version=2022-04-30-preview' cli.azure.cli.core.sdk.policies: Request method: 'PUT' cli.azure.cli.core.sdk.policies: Request headers: cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json' cli.azure.cli.core.sdk.policies: 'Content-Length': '2368' cli.azure.cli.core.sdk.policies: 'If-Match': "{'IF-MATCH': 'BAAAAFEAAAA='}" cli.azure.cli.core.sdk.policies: 'Accept': 'application/json' cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': '259cd097-03e4-11ef-94d3-3887d52cdc4b' cli.azure.cli.core.sdk.policies: 'CommandName': 'iot hub identity assign' cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--name --resource-group --system-assigned --role --scopes --debug' cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.51.0 (MSI) azsdk-python-azure-mgmt-iothub/2.3.0 Python/3.10.10 (Windows-10-10.0.19045-SP0)' cli.azure.cli.core.sdk.policies: 'Authorization': '*' cli.azure.cli.core.sdk.policies: Request body: cli.azure.cli.core.sdk.policies: {"location": "westus", "tags": {"Business Unit": "Supra-Onity/FSP", "Cost Center": "IC990447", "Application": "OnityNet", "CostCategory": "RND", "Environment": "DEV", "Owner": "TS", "Service": "Function App", "CreatedBy": "Mike Finch"}, "etag": "BAAAAFEAAAA=", "properties": {"disableLocalAuth": false, "allowedFqdnList": [], "ipFilterRules": [], "eventHubEndpoints": {"events": {"retentionTimeInDays": 1, "partitionCount": 4}}, "routing": {"endpoints": {"serviceBusQueues": [], "serviceBusTopics": [], "eventHubs": [], "storageContainers": [{"id": "3440b4bc-ec18-4eb0-a429-a359b587bdbe", "connectionString": "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;BlobEndpoint=https://{storageaccount}.blob.core.windows.net/;FileEndpoint=https://{storageaccount}.file.core.windows.net/;QueueEndpoint=https://{storageaccount}.queue.core.windows.net/;TableEndpoint=https://{storageaccount}.table.core.windows.net/;AccountName={storageaccount};AccountKey=**", "authenticationType": "keyBased", "name": "landingdev", "subscriptionId": "{subscrip[tion}", "resourceGroup": "{group}", "containerName": "landing", "fileNameFormat": "{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}_{mm}", "batchFrequencyInSeconds": 60, "maxChunkSizeInBytes": 314572800, "encoding": "json"}], "cosmosDBSqlCollections": []}, "routes": [{"name": "DeviceMessages", "source": "DeviceMessages", "condition": "true", "endpointNames": ["events"], "isEnabled": true}, {"name": "landingdev", "source": "DeviceMessages", "condition": "true", "endpointNames": ["landingdev"], "isEnabled": true}], "fallbackRoute": {"name": "$fallback", "source": "DeviceMessages", "condition": "true", "endpointNames": ["events"], "isEnabled": true}}, "storageEndpoints": {"$default": {"sasTtlAsIso8601": "PT1H", "connectionString": "", "containerName": ""}}, "messagingEndpoints": {"fileNotifications": {"lockDurationAsIso8601": "PT1M", "ttlAsIso8601": "PT1H", "maxDeliveryCount": 10}}, "enableFileUploadNotifications": false, "cloudToDevice": {"maxDeliveryCount": 10, "defaultTtlAsIso8601": "PT1H", "feedback": {"lockDurationAsIso8601": "PT1M", "ttlAsIso8601": "PT1H", "maxDeliveryCount": 10}}, "features": "GWV2, RootCertificateV2", "rootCertificate": {"enableRootCertificateV2": true}}, "sku": {"name": "S1", "capacity": 1}, "identity": {"type": "SystemAssigned"}} urllib3.connectionpool: https://management.azure.com:443 "PUT /subscriptions/{subscrip[tion}/resourceGroups/{group}/providers/Microsoft.Devices/IotHubs/{hub}?api-version=2022-04-30-preview HTTP/1.1" 201 5499 cli.azure.cli.core.sdk.policies: Response status: 201 cli.azure.cli.core.sdk.policies: Response headers: cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache' cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache' cli.azure.cli.core.sdk.policies: 'Content-Length': '5499' cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json; charset=utf-8' cli.azure.cli.core.sdk.policies: 'Expires': '-1' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-resource-requests': '4999' cli.azure.cli.core.sdk.policies: 'Azure-AsyncOperation': 'https://management.azure.com/subscriptions/{subscrip[tion}/providers/Microsoft.Devices/locations/westus/operationResults/b3NfaWhfYjZlNzg4MDUtNzlhNy00Mjk0LTljNGEtYjliYTdkZDBiMWI2?api-version=2022-04-30-preview&operationSource=os_ih&asyncinfo&t=638497431941406185&c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0MjA1NjEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYMYYup1R1RZPIwVtk7z89JkrsDK8coPmULAovQOy3jgtdJ-z5oyCO28-zQ4LRHmuyeq1ROWdQR5e828FYihyBqnnQQea3EcS6CFfXpYes-7NPXy73E_P3goJLJU7bfuZ4iDPGZxXIIjo6_Uex0eX_AuBJeq8ZFcmNy3x0loDHkDww9lMprf49PmIZJEAshTnLBtfT3BC7JAuTTl2duIcC6YRT8vITdFw1HxFqywnOqD35zttD8vp0XowEP4ksBLfhJWduspxICp4Yu2ouSlh-T4GmsjQaTjrzZpw29eEj3gUyzTfkDY-WEGsEujkl9a9FCX1_AvT-9Eqmd7uYqV6kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBg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cli.core.sdk.policies: 'x-ms-correlation-request-id': 'daad7e7c-8715-4e34-887b-96f421aeaa80' cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'EASTUS:20240426T154634Z:daad7e7c-8715-4e34-887b-96f421aeaa80' cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff' cli.azure.cli.core.sdk.policies: 'X-Cache': 'CONFIG_NOCACHE' cli.azure.cli.core.sdk.policies: 'X-MSEdge-Ref': 'Ref A: 92A35A000469492396AB7CFF235879E5 Ref B: BN1AA2051014023 Ref C: 2024-04-26T15:46:32Z' cli.azure.cli.core.sdk.policies: 'Date': 'Fri, 26 Apr 2024 15:46:33 GMT' cli.azure.cli.core.sdk.policies: Response content: cli.azure.cli.core.sdk.policies: {"id":"/subscriptions/{subscrip[tion}/resourceGroups/{group}/providers/Microsoft.Devices/IotHubs/{hub}","name":"{hub}","type":"Microsoft.Devices/IotHubs","location":"westus","tags":{tags},"subscriptionid":"{subscrip[tion}","resourcegroup":"{group}","etag":"BAAAAFEAAAA=","properties":{"operationsMonitoringProperties":{"events":{"None":"None","Connections":"None","DeviceTelemetry":"None","C2DCommands":"None","DeviceIdentityOperations":"None","FileUploadOperations":"None","Routes":"None"}},"provisioningState":"Accepted","ipFilterRules":[],"eventHubEndpoints":{"events":{"retentionTimeInDays":1,"partitionCount":4},"operationsMonitoringEvents":{"retentionTimeInDays":1,"partitionCount":4,"partitionIds":["0","1","2","3"],"path":"{hub}-operationmonitoring","endpoint":"sb://iothub-ns-onitycloud-16731898-39844f69e1.servicebus.windows.net/","internalAuthorizationPolicies":[{"ClaimType":"SharedAccessKey","ClaimValue":"None","KeyName":"scaleunitsend-dfbf106c-f450-44f2-ac0b-509152e5c3f9-iothub","PrimaryKey";"{key},"SecondaryKey";"{key},"Rights":["Send"],"CreatedTime":"Thu, 06 Jan 2022 10:07:16 GMT","ModifiedTime":"Thu, 06 Jan 2022 10:07:16 GMT"},{"ClaimType":"SharedAccessKey","ClaimValue":"None","KeyName":"owner-887ae5ba-2137-4800-a67b-6e1e2398a2a4-iothub","PrimaryKey";"{key},"SecondaryKey";"{key},"Rights":["Listen","Manage","Send"],"CreatedTime":"Thu, 06 Jan 2022 10:07:16 GMT","ModifiedTime":"Thu, 06 Jan 2022 10:07:16 GMT"}],"authorizationPolicies":[{"ClaimType":"SharedAccessKey","ClaimValue":"None","KeyName":"iothubowner","PrimaryKey";"{key},"SecondaryKey";"{key},"Rights":["Listen"],"CreatedTime":"Thu, 06 Jan 2022 10:22:10 GMT","ModifiedTime":"Thu, 06 Jan 2022 10:22:10 GMT"},{"ClaimType":"SharedAccessKey","ClaimValue":"None","KeyName":"service","PrimaryKey";"{key},"SecondaryKey";"{key},"Rights":["Listen"],"CreatedTime":"Thu, 06 Jan 2022 10:22:10 GMT","ModifiedTime":"Thu, 06 Jan 2022 10:22:10 GMT"},{"ClaimType":"SharedAccessKey","ClaimValue":"None","KeyName":"Test_Device_andService","PrimaryKey";"{key},"SecondaryKey";"{key},"Rights":["Listen"],"CreatedTime":"Thu, 06 Jan 2022 10:22:10 GMT","ModifiedTime":"Thu, 06 Jan 2022 10:22:10 GMT"},{"ClaimType":"SharedAccessKey","ClaimValue":"None","KeyName":"OnityNET","PrimaryKey";"{key},"SecondaryKey";"{key},"Rights":["Listen"],"CreatedTime":"Thu, 06 Jan 2022 10:22:10 GMT","ModifiedTime":"Thu, 06 Jan 2022 10:22:10 GMT"},{"ClaimType":"SharedAccessKey","ClaimValue":"None","KeyName":"OnityNETAPI","PrimaryKey";"{key},"SecondaryKey";"{key},"Rights":["Listen"],"CreatedTime":"Thu, 06 Jan 2022 10:22:10 GMT","ModifiedTime":"Thu, 06 Jan 2022 10:22:10 GMT"}]}},"routing":{"endpoints":{"serviceBusQueues":[],"serviceBusTopics":[],"eventHubs":[],"storageContainers":[{"connectionString":"DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;BlobEndpoint=https://{storageaccount}.blob.core.windows.net/;FileEndpoint=https://{storageaccount}.file.core.windows.net/;QueueEndpoint=https://{storageaccount}.queue.core.windows.net/;TableEndpoint=https://{storageaccount}.table.core.windows.net/;AccountName={storageaccount};AccountKey=****","containerName":"landing","fileNameFormat":"{iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}{mm}","batchFrequencyInSeconds":60,"maxChunkSizeInBytes":314572800,"encoding":"json","authenticationType":"keyBased","name":"landingdev","id":"3440b4bc-ec18-4eb0-a429-a359b587bdbe","subscriptionId":"{subscrip[tion}","resourceGroup":"{group}"}],"cosmosDBSqlCollections":[]},"routes":[{"name":"DeviceMessages","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true},{"name":"landingdev","source":"DeviceMessages","condition":"true","endpointNames":["landingdev"],"isEnabled":true}],"fallbackRoute":{"name":"$fallback","source":"DeviceMessages","condition":"true","endpointNames":["events"],"isEnabled":true}},"storageEndpoints":{"$default":{"sasTtlAsIso8601":"PT1H","connectionString":"","containerName":""}},"messagingEndpoints":{"fileNotifications":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"enableFileUploadNotifications":false,"cloudToDevice":{"maxDeliveryCount":10,"defaultTtlAsIso8601":"PT1H","feedback":{"lockDurationAsIso8601":"PT1M","ttlAsIso8601":"PT1H","maxDeliveryCount":10}},"features":"GWV2, RootCertificateV2","disableLocalAuth":false,"allowedFqdnList":[],"rootCertificate":{"enableRootCertificateV2":true,"microsoftMigratedRootCert":false}},"sku":{"name":"S1","tier":"Standard","capacity":1},"identity":{"tenantId":"{guid}","type":"SystemAssigned","principalId":"cd5f89af-72fb-428a-94d1-c59dcad29d50"}} cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/{subscrip[tion}/providers/Microsoft.Devices/locations/westus/operationResults/b3NfaWhfYjZlNzg4MDUtNzlhNy00Mjk0LTljNGEtYjliYTdkZDBiMWI2?api-version=2022-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Vtb3XRCTquz_JfY_4eQJpUy0p6F37f0oaTQkBvUF7HDDvkm49rmKF4nDFjPGNEqm53KbVEak46WTgD9fGZLQH1XouZGRe0LxQVIWm-K-MYMbrDWF_njKsIaV5Z4VxgFVaX5SlzHvr6coDX5oXwwksEsw8E8g0LfZCpfT5mCwgDPrDv2Ekk26koWUYlmJWgkky22R538qwuJmE6F33YwWStmUGfZfFDyjek8Rd_KyuEuC9IZfk4TTmVjyJmKPi5GhIJGwiATMpLJwt5jD_Hkgbq6vMwud4ZbIE&s=kj1qIw2O4vD7m2nzlwAPewl-b-ZglYUGJjCrbxYHseIc0L7qcsm5L1twXAsL30zvkpgh_DWeftkaG6MdBQzh5izPH01vcPLwx37b9ZCIdm7UdYsAGooZRn8RNGrWokcKFNxpV6__dTLJ5WQKs9_z7Q3JUwmscmsfnC1j6uh0EkyxZgVD8hNrT2cPoiBzYAE7pcg9Nl_SMX5IHeWfFv7SuX3UUDB5XdEMhUZYAgjpCal0Qvd55mi-YP-lWbWsenoX0wyxXUD86kBstMKyqzBpuVkuMzRIsCBvJH3jqtq71qGYg1cLqXhJbKrziSJQ1t_uikckHF294COdk4NB0c1LkQ&h=Pv_siT3JcLBuZ8X01ym3kjYo0c5sEqkg92K-13lpe3A' cli.azure.cli.core.sdk.policies: Request method: 'GET' cli.azure.cli.core.sdk.policies: Request headers: cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': '259cd097-03e4-11ef-94d3-3887d52cdc4b' cli.azure.cli.core.sdk.policies: 'CommandName': 'iot hub identity assign' cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--name --resource-group --system-assigned --role --scopes --debug' cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.51.0 (MSI) azsdk-python-azure-mgmt-iothub/2.3.0 Python/3.10.10 (Windows-10-10.0.19045-SP0)' cli.azure.cli.core.sdk.policies: 'Authorization': '***' cli.azure.cli.core.sdk.policies: Request body: cli.azure.cli.core.sdk.policies: This request has no body urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/{subscrip[tion}/providers/Microsoft.Devices/locations/westus/operationResults/b3NfaWhfYjZlNzg4MDUtNzlhNy00Mjk0LTljNGEtYjliYTdkZDBiMWI2?api-version=2022-04-30-preview&operationSource=os_ih&asyncinfo&t=638497431941406185&c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0MjA1NjEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALYMYYup1R1RZPIwVtk7z89JkrsDK8coPmULAovQOy3jgtdJ-z5oyCO28-zQ4LRHmuyeq1ROWdQR5e828FYihyBqnnQQea3EcS6CFfXpYes-7NPXy73E_P3goJLJU7bfuZ4iDPGZxXIIjo6_Uex0eX_AuBJeq8ZFcmNy3x0loDHkDww9lMprf49PmIZJEAshTnLBtfT3BC7JAuTTl2duIcC6YRT8vITdFw1HxFqywnOqD35zttD8vp0XowEP4ksBLfhJWduspxICp4Yu2ouSlh-T4GmsjQaTjrzZpw29eEj3gUyzTfkDY-WEGsEujkl9a9FCX1_AvT-9Eqmd7uYqV6kCAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW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S--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHyzMCBJbTmiP_gOh98fZltsl9jQdlB-g_OYCr82viu1SgLxte7Za3Vtb3XRCTquz_JfY_4eQJpUy0p6F37f0oaTQkBvUF7HDDvkm49rmKF4nDFjPGNEqm53KbVEak46WTgD9fGZLQH1XouZGRe0LxQVIWm-K-MYMbrDWF_njKsIaV5Z4VxgFVaX5SlzHvr6coDX5oXwwksEsw8E8g0LfZCpfT5mCwgDPrDv2Ekk26koWUYlmJWgkky22R538qwuJmE6F33YwWStmUGfZfFDyjek8Rd_KyuEuC9IZfk4TTmVjyJmKPi5GhIJGwiATMpLJwt5jD_Hkgbq6vMwud4ZbIE&s=kj1qIw2O4vD7m2nzlwAPewl-b-ZglYUGJjCrbxYHseIc0L7qcsm5L1twXAsL30zvkpgh_DWeftkaG6MdBQzh5izPH01vcPLwx37b9ZCIdm7UdYsAGooZRn8RNGrWokcKFNxpV6__dTLJ5WQKs9_z7Q3JUwmscmsfnC1j6uh0EkyxZgVD8hNrT2cPoiBzYAE7pcg9Nl_SMX5IHeWfFv7SuX3UUDB5XdEMhUZYAgjpCal0Qvd55mi-YP-lWbWsenoX0wyxXUD86kBstMKyqzBpuVkuMzRIsCBvJH3jqtq71qGYg1cLqXhJbKrziSJQ1t_uikckHF294COdk4NB0c1LkQ&h=Pv_siT3JcLBuZ8X01ym3kjYo0c5sEqkg92K-13lpe3A HTTP/1.1" 200 20 cli.azure.cli.core.sdk.policies: Response status: 200 cli.azure.cli.core.sdk.policies: Response headers: cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache' cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache' cli.azure.cli.core.sdk.policies: 'Content-Length': '20' cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json; charset=utf-8' cli.azure.cli.core.sdk.policies: 'Expires': '-1' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11999' cli.azure.cli.core.sdk.policies: 'x-ms-request-id': 'e1547d0b-743f-4bc0-b9e5-1aa3d4d1d394' cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': 'e1547d0b-743f-4bc0-b9e5-1aa3d4d1d394' cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'EASTUS:20240426T154634Z:e1547d0b-743f-4bc0-b9e5-1aa3d4d1d394' cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff' cli.azure.cli.core.sdk.policies: 'X-Cache': 'CONFIG_NOCACHE' cli.azure.cli.core.sdk.policies: 'X-MSEdge-Ref': 'Ref A: 9EB7FC46CD5141FBAB5560E0E6CDAF83 Ref B: BN1AA2051014023 Ref C: 2024-04-26T15:46:34Z' cli.azure.cli.core.sdk.policies: 'Date': 'Fri, 26 Apr 2024 15:46:33 GMT' cli.azure.cli.core.sdk.policies: Response content: cli.azure.cli.core.sdk.policies: {"status":"Running"} cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/{subscrip[tion}/providers/Microsoft.Devices/locations/westus/operationResults/b3NfaWhfYjZlNzg4MDUtNzlhNy00Mjk0LTljNGEtYjliYTdkZDBiMWI2?api-version=2022-04-30-preview&operationSource=os_ih&asyncinfo&t=638497431941406185&c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0MjA1NjEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQ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pgh_DWeftkaG6MdBQzh5izPH01vcPLwx37b9ZCIdm7UdYsAGooZRn8RNGrWokcKFNxpV6__dTLJ5WQKs9_z7Q3JUwmscmsfnC1j6uh0EkyxZgVD8hNrT2cPoiBzYAE7pcg9Nl_SMX5IHeWfFv7SuX3UUDB5XdEMhUZYAgjpCal0Qvd55mi-YP-lWbWsenoX0wyxXUD86kBstMKyqzBpuVkuMzRIsCBvJH3jqtq71qGYg1cLqXhJbKrziSJQ1t_uikckHF294COdk4NB0c1LkQ&h=Pv_siT3JcLBuZ8X01ym3kjYo0c5sEqkg92K-13lpe3A' cli.azure.cli.core.sdk.policies: Request method: 'GET' cli.azure.cli.core.sdk.policies: Request headers: cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': '259cd097-03e4-11ef-94d3-3887d52cdc4b' cli.azure.cli.core.sdk.policies: 'CommandName': 'iot hub identity assign' cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--name --resource-group --system-assigned --role --scopes --debug' cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.51.0 (MSI) azsdk-python-azure-mgmt-iothub/2.3.0 Python/3.10.10 (Windows-10-10.0.19045-SP0)' cli.azure.cli.core.sdk.policies: 'Authorization': '' cli.azure.cli.core.sdk.policies: Request body: cli.azure.cli.core.sdk.policies: This request has no body urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/{subscrip[tion}/providers/Microsoft.Devices/locations/westus/operationResults/b3NfaWhfYjZlNzg4MDUtNzlhNy00Mjk0LTljNGEtYjliYTdkZDBiMWI2?api-version=2022-04-30-preview&operationSource=os_ih&asyncinfo&t=638497431941406185&c=MIIHADCCBeigAwIBAgITfARlFdSUZK8kechtYQAABGUV1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMjA1NjEzWhcNMjUwMTI0Mj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uC9IZfk4TTmVjyJmKPi5GhIJGwiATMpLJwt5jD_Hkgbq6vMwud4ZbIE&s=kj1qIw2O4vD7m2nzlwAPewl-b-ZglYUGJjCrbxYHseIc0L7qcsm5L1twXAsL30zvkpgh_DWeftkaG6MdBQzh5izPH01vcPLwx37b9ZCIdm7UdYsAGooZRn8RNGrWokcKFNxpV6__dTLJ5WQKs9_z7Q3JUwmscmsfnC1j6uh0EkyxZgVD8hNrT2cPoiBzYAE7pcg9Nl_SMX5IHeWfFv7SuX3UUDB5XdEMhUZYAgjpCal0Qvd55mi-YP-lWbWsenoX0wyxXUD86kBstMKyqzBpuVkuMzRIsCBvJH3jqtq71qGYg1cLqXhJbKrziSJQ1t_uikckHF294COdk4NB0c1LkQ&h=Pv_siT3JcLBuZ8X01ym3kjYo0c5sEqkg92K-13lpe3A HTTP/1.1" 200 22 cli.azure.cli.core.sdk.policies: Response status: 200 cli.azure.cli.core.sdk.policies: Response headers: cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache' cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache' cli.azure.cli.core.sdk.policies: 'Content-Length': '22' cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json; charset=utf-8' cli.azure.cli.core.sdk.policies: 'Expires': '-1' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11999' cli.azure.cli.core.sdk.policies: 'x-ms-request-id': '9a1cbabd-b2bd-4091-94f7-3385eafb5dd4' cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': '9a1cbabd-b2bd-4091-94f7-3385eafb5dd4' cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'EASTUS:20240426T154705Z:9a1cbabd-b2bd-4091-94f7-3385eafb5dd4' cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff' cli.azure.cli.core.sdk.policies: 'X-Cache': 'CONFIG_NOCACHE' cli.azure.cli.core.sdk.policies: 'X-MSEdge-Ref': 'Ref A: 2F6221AEA36B4926AB34B8F4B245F067 Ref B: BN1AA2051014023 Ref C: 2024-04-26T15:47:04Z' cli.azure.cli.core.sdk.policies: 'Date': 'Fri, 26 Apr 2024 15:47:04 GMT' cli.azure.cli.core.sdk.policies: Response content: cli.azure.cli.core.sdk.policies: {"status":"Succeeded"} cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/{subscrip[tion}/resourceGroups/{group}/providers/Microsoft.Devices/IotHubs/{hub}?api-version=2022-04-30-preview' cli.azure.cli.core.sdk.policies: Request method: 'GET' cli.azure.cli.core.sdk.policies: Request headers: cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': '259cd097-03e4-11ef-94d3-3887d52cdc4b' cli.azure.cli.core.sdk.policies: 'CommandName': 'iot hub identity assign' cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--name --resource-group --system-assigned --role --scopes --debug' cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.51.0 (MSI) azsdk-python-azure-mgmt-iothub/2.3.0 Python/3.10.10 (Windows-10-10.0.19045-SP0)' cli.azure.cli.core.sdk.policies: 'Authorization': '' cli.azure.cli.core.sdk.policies: Request body: cli.azure.cli.core.sdk.policies: This request has no body urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/{subscrip[tion}/resourceGroups/{group}/providers/Microsoft.Devices/IotHubs/{hub}?api-version=2022-04-30-preview HTTP/1.1" 200 3098 cli.azure.cli.core.sdk.policies: Response status: 200 cli.azure.cli.core.sdk.policies: Response headers: cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache' cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache' cli.azure.cli.core.sdk.policies: 'Content-Length': '3098' cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json; charset=utf-8' cli.azure.cli.core.sdk.policies: 'Expires': '-1' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11999' cli.azure.cli.core.sdk.policies: 'x-ms-request-id': 'bd3311c7-5d6c-4a54-b323-3fdcbfdccc96' cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': 'bd3311c7-5d6c-4a54-b323-3fdcbfdccc96' cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'EASTUS:20240426T154705Z:bd3311c7-5d6c-4a54-b323-3fdcbfdccc96' cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff' cli.azure.cli.core.sdk.policies: 'X-Cache': 'CONFIG_NOCACHE' cli.azure.cli.core.sdk.policies: 'X-MSEdge-Ref': 'Ref A: AB6193A6FB324DF487AB70C0C0040498 Ref B: BN1AA2051014023 Ref C: 2024-04-26T15:47:05Z' cli.azure.cli.core.sdk.policies: 'Date': 'Fri, 26 Apr 2024 15:47:04 GMT' cli.azure.cli.core.sdk.policies: Response content: cli.azure.cli.core.sdk.policies: <>

Expected behavior

permission aassigned

Environment Summary

Windows-10-10.0.19045-SP0 Python 3.10.10 Installer: MSI

azure-cli 2.51.0

Extensions: azure-iot 0.23.1 cosmosdb-preview 1.0.0

Dependencies: msal 1.24.0b1 azure-mgmt-resource 23.1.0b2

Additional context

Also Tried Version 2.56.0, 2.58.0, 2.59.0 Also ried with pypi installer and python 11 Same resuts

azure-client-tools-bot-prd[bot] commented 7 months ago

Hi @Gamecock,

This is a known issue.

Please follow https://github.com/Azure/azure-cli/issues/23985#issue-1383263012 to get temporary workaround.

If you feel that further discussion is needed, please add a comment with the text /clibot unresolve to reopen the issue.

yonzhan commented 7 months ago

Thank you for opening this issue, we will look into it.

Gamecock commented 7 months ago

/clibot unresolve Tried 4 versions and cannot find one that works in Azure Cloud .

Elsie4ever commented 6 months ago

Hi @Gamecock, do you have the RP registered for storage before running az iot hub identity? Please try az provider register --namespace 'Microsoft.Storage', thanks! If you still have this issue after register the RP, @ZengTaoxu can you help with issue since I saw you are the owner for storage, thanks!

Gamecock commented 6 months ago

@Elsie4ever @ZengTaoxu I do not have permission to run az provider register, but I could run list. It seems like there already are providers assigned:

az provider list --query "[?namespace=='Microsoft.Storage']"

$ [ { "authorizations": [ { "applicationId": "a6aa9161-5291-40bb-8c5c-923b567bee3b", "roleDefinitionId": "070ab87f-0efc-4423-b18b-756f3bdb0236" }, { "applicationId": "e406a681-f3d4-42a8-90b6-c2b029497af1" }, { "applicationId": "1609d3a1-0db2-4818-b854-fe1614f0718a" }, { "applicationId": "05d97c70-cb7c-4e66-8138-d5ca7c59d206", "roleDefinitionId": "3185b772-d635-455a-8d37-0a41169c8cf9" }, { "applicationId": "b15f3d14-f6d1-4c0d-93da-d4136c97f006", "roleDefinitionId": "0ab74188-1a8f-4ea1-b132-5496c2919f3a" } ], "id": "/subscriptions/0a3f6ddf-b9ad-46a1-b74a-3e3fe912163e/providers/Microsoft.Storage", "namespace": "Microsoft.Storage", "providerAuthorizationConsentState": null, "registrationPolicy": "RegistrationRequired", "registrationState": "Registered", "resourceTypes": [ { "aliases": null, "apiProfiles": null, "apiVersions": [ "2023-05-01", "2023-04-01", "2023-01-01", "2022-09-01", "2022-05-01", "2021-09-01" ], "capabilities": "None", "defaultApiVersion": "2023-01-01", "locationMappings": null, "locations": [ "East US", "East US 2", "West US", "West Europe", "East Asia", "Southeast Asia", "Japan East", "Japan West", "North Central US", "South Central US", "Central US", "North Europe", "Brazil South", "Australia East", "Australia Southeast", "South India", "Central India", "West India", "Canada East", "Canada Central", "West US 2", "West Central US", "UK South", "UK West", "Korea Central", "Korea South", "France Central", "Australia Central", "South Africa North", "UAE North", "Switzerland North", "Germany West Central", "Norway East", "West US 3", "Sweden Central", "Qatar Central", "Poland Central", "Italy North", "Israel Central", "Mexico Central", "Spain Central" ], "properties": null, "resourceType": "storageAccounts/storageTaskAssignments", "zoneMappings": null }, { "aliases": null, "apiProfiles": null, "apiVersions": [ "2023-05-01", "2023-04-01", "2023-01-01", "2022-09-01", "2022-05-01", "2021-09-01", "2021-08-01", "2021-06-01", "2021-05-01", "2021-04-01", "2021-02-01", "2021-01-01", "2020-08-01-preview", "2019-06-01" ], "capabilities": "None", "defaultApiVersion": "2023-01-01", "locationMappings": null, "locations": [ "East US", "East US 2", "West US", "West Europe", "East Asia", "Southeast Asia", "Japan East", "Japan West", "North Central US", "South Central US", "Central US", "North Europe", "Brazil South", "Australia East", "Australia Southeast", "South India", "Central India", "West India", "Canada East", "Canada Central", "West US 2", "West Central US", "UK South", "UK West", "Korea Central", "Korea South", "France Central", "Australia Central", "South Africa North", "UAE North", "Switzerland North", "Germany West Central", "Norway East", "West US 3", "Sweden Central", "Qatar Central", "Poland Central", "Italy North", "Israel Central", "Mexico Central", "Spain Central" ], "properties": null, "resourceType": "storageAccounts/encryptionScopes", "zoneMappings": null }, { "aliases": null, "apiProfiles": null, "apiVersions": [ "2023-05-01", "2023-04-01", "2023-01-01", "2022-09-01", "2022-05-01", "2021-09-01", "2021-08-01", "2021-06-01", "2021-05-01", "2021-04-01", "2021-02-01", "2021-01-01", "2020-08-01-preview", "2019-06-01" ], "capabilities": "None", "defaultApiVersion": "2023-01-01", "locationMappings": null, "locations": [ "East US", "East US 2", "West US", "West Europe", "East Asia", "Southeast Asia", "Japan East", "Japan West", "North Central US", "South Central US", "Central US", "North Europe", "Brazil South", "Australia East", "Australia Southeast", "South India", "Central India", "West India", "Canada East", "Canada Central", "West US 2", "West Central US", "UK South", "UK West", "Korea Central", "Korea South", "France Central", "Australia Central", "South Africa North", "UAE North", "Switzerland North", "Germany West Central", "Norway East", "West US 3", "Sweden Central", "Qatar Central", "Poland Central", "Italy North", "Israel Central", "Mexico Central", "Spain Central" ], "properties": null, "resourceType": "deletedAccounts", "zoneMappings": null }, { "aliases": null, "apiProfiles": null, "apiVersions": [ "2023-05-01", "2023-04-01", "2023-01-01", "2022-09-01", "2022-05-01", "2021-09-01", "2021-08-01", "2021-06-01", "2021-05-01", "2021-04-01", "2021-02-01", "2021-01-01", "2020-08-01-preview", "2019-06-01" ], "capabilities": "None", "defaultApiVersion": "2023-01-01", "locationMappings": null, "locations": [ "East US", "East US 2", "West US", "West Europe", "East Asia", "Southeast Asia", "Japan East", "Japan West", "North Central US", "South Central US", "Central US", "North Europe", "Brazil South", "Australia East", "Australia Southeast", "South India", "Central India", "West India", "Canada East", "Canada Central", "West US 2", "West Central US", "UK South", "UK West", "Korea Central", "Korea South", "France Central", "Australia Central", "South Africa North", "UAE North", "Switzerland North", "Germany West Central", "Norway East", "West US 3", "Sweden Central", "Qatar Central", "Poland Central", "Italy North", "Israel Central", "Mexico Central", "Spain Central" ], "properties": null, "resourceType": "locations/deletedAccounts", "zoneMappings": null }, { "aliases": null, "apiProfiles": [ { "apiVersion": "2017-10-01", "profileVersion": "2019-03-01-hybrid" }, { "apiVersion": "2016-01-01", "profileVersion": "2017-03-09-profile" }, { "apiVersion": "2016-01-01", "profileVersion": "2018-03-01-hybrid" }, { "apiVersion": "2017-10-01", "profileVersion": "2018-06-01-profile" } ], "apiVersions": [ "2023-05-01", "2023-04-01", "2023-01-01", "2022-09-01", "2022-05-01", "2021-09-01", "2021-08-01", "2021-06-01", "2021-05-01", "2021-04-01", "2021-02-01", "2021-01-01", "2020-08-01-preview", "2019-06-01", "2019-04-01", "2018-11-01", "2018-07-01", "2018-03-01-preview", "2018-02-01", "2017-10-01", "2017-06-01", "2016-12-01", "2016-05-01", "2016-01-01", "2015-06-15", "2015-05-01-preview" ], "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation", "defaultApiVersion": "2023-01-01", "locationMappings": null, "locations": [ "East US", "East US 2", "West US", "West Europe", "East Asia", "Southeast Asia", "Japan East", "Japan West", "North Central US", "South Central US", "Central US", "North Europe", "Brazil South", "Australia East", "Australia Southeast", "South India", "Central India", "West India", "Canada East", "Canada Central", "West US 2", "West Central US", "UK South", "UK West", "Korea Central", "Korea South", "France Central", "Australia Central", "South Africa North", "UAE North", "Switzerland North", "Germany West Central", "Norway East", "West US 3", "Sweden Central", "Qatar Central", "Poland Central", "Italy North", "Israel Central", "Mexico Central", "Spain Central" ], "properties": null, "resourceType": "storageAccounts", "zoneMappings": [ { "location": "Australia East", "zones": [ "1", "3", "2" ] }, { "location": "Brazil South", "zones": [ "1", "3", "2" ] }, { "location": "Canada Central", "zones": [ "1", "3", "2" ] }, { "location": "Central India", "zones": [ "1", "3", "2" ] }, { "location": "Central US", "zones": [ "1", "3", "2" ] }, { "location": "East Asia", "zones": [ "1", "3", "2" ] }, { "location": "East US", "zones": [ "1", "3", "2" ] }, { "location": "East US 2", "zones": [ "1", "3", "2" ] }, { "location": "France Central", "zones": [ "1", "3", "2" ] }, { "location": "Germany West Central", "zones": [ "1", "3", "2" ] }, { "location": "Israel Central", "zones": [ "1", "3", "2" ] }, { "location": "Italy North", "zones": [ "1", "3", "2" ] }, { "location": "Japan East", "zones": [ "1", "3", "2" ]

Gamecock commented 6 months ago

@Elsie4ever please provide more information on what to expect, I have to enter a tciket to have this command run in the corporate account.

Gamecock commented 6 months ago

@Elsie4ever @ZengTaoxu I found someone with sufficient permissions to run az provider register it did not change the outcome. I reran list also, no obvious differences. az provider list --query "[?namespace=='Microsoft.Storage']"

$ [ { "authorizations": [ { "applicationId": "a6aa9161-5291-40bb-8c5c-923b567bee3b", "roleDefinitionId": "070ab87f-0efc-4423-b18b-756f3bdb0236" }, { "applicationId": "e406a681-f3d4-42a8-90b6-c2b029497af1" }, { "applicationId": "1609d3a1-0db2-4818-b854-fe1614f0718a" }, { "applicationId": "05d97c70-cb7c-4e66-8138-d5ca7c59d206", "roleDefinitionId": "3185b772-d635-455a-8d37-0a41169c8cf9" }, { "applicationId": "b15f3d14-f6d1-4c0d-93da-d4136c97f006", "roleDefinitionId": "0ab74188-1a8f-4ea1-b132-5496c2919f3a" } ], "id": "/subscriptions/0a3f6ddf-b9ad-46a1-b74a-3e3fe912163e/providers/Microsoft.Storage", "namespace": "Microsoft.Storage", "providerAuthorizationConsentState": null, "registrationPolicy": "RegistrationRequired", "registrationState": "Registered", "resourceTypes": [ { "aliases": null, "apiProfiles": null, "apiVersions": [ "2023-05-01", "2023-04-01", "2023-01-01", "2022-09-01", "2022-05-01", "2021-09-01" ], "capabilities": "None", "defaultApiVersion": "2023-01-01", "locationMappings": null, "locations": [ "East US", "East US 2", "West US", "West Europe", "East Asia", "Southeast Asia", "Japan East", "Japan West", "North Central US", "South Central US", "Central US", "North Europe", "Brazil South", "Australia East", "Australia Southeast", "South India", "Central India", "West India", "Canada East", "Canada Central", "West US 2", "West Central US", "UK South", "UK West", "Korea Central", "Korea South", "France Central", "Australia Central", "South Africa North", "UAE North", "Switzerland North", "Germany West Central", "Norway East", "West US 3", "Sweden Central", "Qatar Central", "Poland Central", "Italy North", "Israel Central", "Mexico Central", "Spain Central" ], "properties": null, "resourceType": "storageAccounts/storageTaskAssignments", "zoneMappings": null }, { "aliases": null, "apiProfiles": null, "apiVersions": [ "2023-05-01", "2023-04-01", "2023-01-01", "2022-09-01", "2022-05-01", "2021-09-01", "2021-08-01", "2021-06-01", "2021-05-01", "2021-04-01", "2021-02-01", "2021-01-01", "2020-08-01-preview", "2019-06-01" ], "capabilities": "None", "defaultApiVersion": "2023-01-01", "locationMappings": null, "locations": [ "East US", "East US 2", "West US", "West Europe", "East Asia", "Southeast Asia", "Japan East", "Japan West", "North Central US", "South Central US", "Central US", "North Europe", "Brazil South", "Australia East", "Australia Southeast", "South India", "Central India", "West India", "Canada East", "Canada Central", "West US 2", "West Central US", "UK South", "UK West", "Korea Central", "Korea South", "France Central", "Australia Central", "South Africa North", "UAE North", "Switzerland North", "Germany West Central", "Norway East", "West US 3", "Sweden Central", "Qatar Central", "Poland Central", "Italy North", "Israel Central", "Mexico Central", "Spain Central" ], "properties": null, "resourceType": "storageAccounts/encryptionScopes", "zoneMappings": null }, { "aliases": null, "apiProfiles": null, "apiVersions": [ "2023-05-01", "2023-04-01", "2023-01-01", "2022-09-01", "2022-05-01", "2021-09-01", "2021-08-01", "2021-06-01", "2021-05-01", "2021-04-01", "2021-02-01", "2021-01-01", "2020-08-01-preview", "2019-06-01" ], "capabilities": "None", "defaultApiVersion": "2023-01-01", "locationMappings": null, "locations": [ "East US", "East US 2", "West US", "West Europe", "East Asia", "Southeast Asia", "Japan East", "Japan West", "North Central US", "South Central US", "Central US", "North Europe", "Brazil South", "Australia East", "Australia Southeast", "South India", "Central India", "West India", "Canada East", "Canada Central", "West US 2", "West Central US", "UK South", "UK West", "Korea Central", "Korea South", "France Central", "Australia Central", "South Africa North", "UAE North", "Switzerland North", "Germany West Central", "Norway East", "West US 3", "Sweden Central", "Qatar Central", "Poland Central", "Italy North", "Israel Central", "Mexico Central", "Spain Central" ], "properties": null, "resourceType": "deletedAccounts", "zoneMappings": null }, { "aliases": null, "apiProfiles": null, "apiVersions": [ "2023-05-01", "2023-04-01", "2023-01-01", "2022-09-01", "2022-05-01", "2021-09-01", "2021-08-01", "2021-06-01", "2021-05-01", "2021-04-01", "2021-02-01", "2021-01-01", "2020-08-01-preview", "2019-06-01" ], "capabilities": "None", "defaultApiVersion": "2023-01-01", "locationMappings": null, "locations": [ "East US", "East US 2", "West US", "West Europe", "East Asia", "Southeast Asia", "Japan East", "Japan West", "North Central US", "South Central US", "Central US", "North Europe", "Brazil South", "Australia East", "Australia Southeast", "South India", "Central India", "West India", "Canada East", "Canada Central", "West US 2", "West Central US", "UK South", "UK West", "Korea Central", "Korea South", "France Central", "Australia Central", "South Africa North", "UAE North", "Switzerland North", "Germany West Central", "Norway East", "West US 3", "Sweden Central", "Qatar Central", "Poland Central", "Italy North", "Israel Central", "Mexico Central", "Spain Central" ], "properties": null, "resourceType": "locations/deletedAccounts", "zoneMappings": null }, { "aliases": null, "apiProfiles": [ { "apiVersion": "2017-10-01", "profileVersion": "2019-03-01-hybrid" }, { "apiVersion": "2016-01-01", "profileVersion": "2017-03-09-profile" }, { "apiVersion": "2016-01-01", "profileVersion": "2018-03-01-hybrid" }, { "apiVersion": "2017-10-01", "profileVersion": "2018-06-01-profile" } ], "apiVersions": [ "2023-05-01", "2023-04-01", "2023-01-01", "2022-09-01", "2022-05-01", "2021-09-01", "2021-08-01", "2021-06-01", "2021-05-01", "2021-04-01", "2021-02-01", "2021-01-01", "2020-08-01-preview", "2019-06-01", "2019-04-01", "2018-11-01", "2018-07-01", "2018-03-01-preview", "2018-02-01", "2017-10-01", "2017-06-01", "2016-12-01", "2016-05-01", "2016-01-01", "2015-06-15", "2015-05-01-preview" ], "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation", "defaultApiVersion": "2023-01-01", "locationMappings": null, "locations": [ "East US", "East US 2", "West US", "West Europe", "East Asia", "Southeast Asia", "Japan East", "Japan West", "North Central US", "South Central US", "Central US", "North Europe", "Brazil South", "Australia East", "Australia Southeast", "South India", "Central India", "West India", "Canada East", "Canada Central", "West US 2", "West Central US", "UK South", "UK West", "Korea Central", "Korea South", "France Central", "Australia Central", "South Africa North", "UAE North", "Switzerland North", "Germany West Central", "Norway East", "West US 3", "Sweden Central", "Qatar Central", "Poland Central", "Italy North", "Israel Central", "Mexico Central", "Spain Central" ], "properties": null, "resourceType": "storageAccounts", "zoneMappings": [ { "location": "Australia East", "zones": [ "1", "3", "2" ] }, { "location": "Brazil South", "zones": [ "1", "3", "2" ] }, { "location": "Canada Central", "zones": [ "1", "3", "2" ] }, { "location": "Central India", "zones": [ "1", "3", "2" ] }, { "location": "Central US", "zones": [ "1", "3", "2" ] }, { "location": "East Asia", "zones": [ "1", "3", "2" ] }, { "location": "East US", "zones": [ "1", "3", "2" ] }, { "location": "East US 2", "zones": [ "1", "3", "2" ] }, { "location": "France Central", "zones": [ "1", "3", "2" ] }, { "location": "Germany West Central", "zones": [ "1", "3", "2" ] }, { "location": "Israel Central", "zones": [ "1", "3", "2" ] }, { "location": "Italy North", "zones": [ "1", "3", "2" ] }, { "location": "Japan East", "zones": [ "1", "3", "2" ] },

Gamecock commented 5 months ago

@Elsie4ever @ZengTaoxu Thought's on if this is a bug or operator error?

Gamecock commented 5 months ago

@Elsie4ever and @ZengTaoxu Any updates, this is still blocking some of our automation efforts.

Elsie4ever commented 4 months ago

Hi @Gamecock, since you still have the issue after register the RP, it seems to be storage issue, according to the error message: No registered resource provider found for location 'westus' and API version '2022-04-01' for type 'storageAccounts/blobServices'. @ZengTaoxu are you the owner of storage since I see you did the latest change, can you help with this issue? thanks!

calvinhzy commented 4 months ago

It seems like the API version '2022-04-01' is an old one that might have been removed from server. Please use a new one like 2023-05-01 for registering 'storageAccounts/blobServices'.

Elsie4ever commented 4 months ago

Thanks @calvinhzy! @Gamecock the storage sdk come with the azure cli, can you try update the azure cli to 2.61.0 using az upgrade and then for storage sdk update to 2023-05-01 please use pip install -U azure-mgmt-storage==21.2.0. and then let me know if the issue is fixed, thanks for the patient!