Skip to content

{iothub} partitionIds are empty if user changes shared access policy registryReadWrite #29641

@kiranpradeep

Description

@kiranpradeep

Describe the bug

The below command correctly lists paritionIds until I update the shared access policy named registryReadWrite to as below (enabled all 4 options)

policy

Related command

az iot hub show -n <name> --query properties.eventHubEndpoints.events.partitionIds

Errors

partitionIds array is empty

Issue script & Debug output

az.log

Expected behavior

patitionIds should be listed irrespective of whether registryReadWrite policy is updated or not.

Environment Summary

azure-cli 2.62.0

core 2.62.0
telemetry 1.1.0

Extensions:
azure-iot 0.24.0

Dependencies:
msal 1.28.1
azure-mgmt-resource 23.1.1

Python location '/opt/homebrew/Cellar/azure-cli/2.62.0/libexec/bin/python'
Extensions directory '/Users/kpp/.azure/cliextensions'

Python (Darwin) 3.11.9 (main, Apr 2 2024, 08:25:04) [Clang 15.0.0 (clang-1500.3.9.4)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Auto-AssignAuto assign by botIoTIoT/CLIService AttentionThis issue is responsible by Azure service team.act-observability-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions