Archive

Posts Tagged ‘Shared location’

‘The given share name\prefix is not a valid name’ error – Azure ‘New-AzureStorageShare’ command

Other day, while I was creating a shared location in Azure using Azure Power Shell cmdlets, I got below error

The given share name/prefix ” is not a valid name for a file share of Microsoft Azure File Service

share name/prefix is not a valid name

share name/prefix is not a valid name

Reason:

  • “New-AzureStorageShare” command accepts share name only in lower case.

Fix:

  • Update the command $s = New-AzureStorageShare “telcoip” -Context $ctx

Refer this Create shared drive using azure  article on steps to share a location in Azure.

🙂