Skip to content

AccountType StandardV2_LRS is only valid for api-version 2023-05-01 and above #260

Description

@tomm3k

Hi,

I have created an azure storage account with azure files enabled and the new pricing model (V2).

I also tried to enable AD DS authentication as decribed in the docs and I have got the foloowing error:

Set-AzStorageAccount : AccountType StandardV2_LRS is only valid for api-version 2023-05-01 and above.
At C:\Users\Kneetz\Documents\WindowsPowerShell\Modules\AzFilesHybrid\0.3.2.0\AzFilesHybrid.psm1:5109 char:9

  •     Set-AzStorageAccount -ResourceGroupName $ResourceGroupName -A ...
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : CloseError: (:) [Set-AzStorageAccount], CloudException
    • FullyQualifiedErrorId : Microsoft.Azure.Commands.Management.Storage.SetAzureStorageAccountCommand

tried to add apiversion to the command set-azstorageaccount, but that does not work..

any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions