To rectify this error, firstly you need to retrieve the key with a right format, and to do that use this command:
$key1 = az storage account keys list --account-name storeactjan --query "[0].value" | tr -d '"'
After that, create your file share.
az storage share create --account-name storeactjan --name filesharejan --account-key $key1
I hope this will helps.
Want to become an Azure expert? Join Azure certification now!!
Want to know more about Azure storage? Watch this tutorial on What is Azure Storage and Storage security: