Not able to login using the user created through azure cli for sftp #27795
Labels
Auto-Assign
Auto assign by bot
Auto-Resolve
Auto resolve by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Storage
az storage
Milestone
Describe the bug
Not able to login using the user created through azure cli for sftp.
I have two users one created from the azure cli with permissions and one manually from azure portal. The permissions are same for both.
When I use the ftp client to login with the user which created from azure portal works fine but it is failing for the user created through azure-cli.
On comparison of both users by getting all the users,
az storage account local-user list --account-name myAccountName -g myResourceGroup
There looks to be a "Blob" and "blob". If it is "Blob" (created from azure-cli) it looks to be not working
Related command
creating the user
az storage account local-user create --account-name $storageAccountName --resource-group $resourceGroupName --user-name $localUserName --home-directory $homeDirectory $scopes --has-ssh-password $true
To list the users and permissions
az storage account local-user list --account-name $storageAccountName -g $resourceGroupName
Errors
There were no errors observed.
Issue script & Debug output
Provided the info
Expected behavior
The user created using the azure-cli should be working when we try to login from sftp.
Should be ideally the same behavior as we are are creating a new user from azure portl.
Environment Summary
azure-cli 2.51.0
Additional context
No response
The text was updated successfully, but these errors were encountered: