Skip to content

Get-AzStorageContainer Cannot Return "PublicAccess" attribute if using AD-based context #12338

Closed
@JoelCBennett

Description

@JoelCBennett

Get-AzStorageContainer command utilizes a -context to authenticate and retrieve values for a storage account. The 'PublicAccess' attribute only returns values if the -context supplied uses a storage account key. If the context utilizes AD credentials it fails to return any values.

See below:
repo

Metadata

Metadata

Assignees

No one assigned

    Labels

    Service AttentionThis issue is responsible by Azure service team.Storagecustomer-reportedquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions