Skip to content

Cold Tier Configuration Not Applying in Lifecycle Policy #27364

Open
@noorjahans

Description

@noorjahans

Description

I have added the following lifecycle policy configuration in my PowerShell Function App code, but it's not working. Could this be due to a required version of the az or az.storage module? If so, what version is needed?

Add-AzStorageAccountManagementPolicyAction -InputObject $action `
    -BaseBlobAction TierToCold `
    -daysAfterModificationGreaterThan 30

Script or Debug output

Environment data

Module versions

Error output

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