Skip to content

Storage accounts of type other than 'StorageV2' do not get linked to the log analytics workspace #22747

@sapphire-sk

Description

@sapphire-sk

Related command

  • az monitor log-analytics workspace linked-storage create --type Query -g rg-test01 --workspace-name test01 --storage-accounts testbucket01

Describe the bug

  • When a storage account of type other than 'StorageV2' is linked to a workspace, the command executes successfully. The 'Linked Storage Accounts' summary page on the Portal also displays the storage account specified via the CLI command.
  • However, when the resource is chosen to be edited/modified via the Portal, the storage account field appears blank.
  • Additionally, the 'Storage Account' drop down itself does not list any Storage accounts that are of type other than 'StorageV2'

To Reproduce

  • Create a linked storage account where the storage account specified with type anything other than 'StorageV2'

Expected behavior

  • The Storage account should be displayed not only on the summary section of 'Linked Storage Accounts' but also should appear in the edit section of the linked storage.

Environment summary

  • CLI version: 2.37.0
  • Shell Type: Cloud Shell

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Auto-AssignAuto assign by botMonitoraz monitorService AttentionThis issue is responsible by Azure service team.act-observability-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionThis issue needs attention from Azure service team or SDK team

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions