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

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.
🙂



Leave a comment