Hi Joël,
Thank you for your detailed message and for providing the session log along with the background.
I’ve reviewed the situation, and based on the information provided, including the session log from WinSCP, it seems that the issue is likely related to how SFTP over Azure Blob Storage handles authentication when accessed from a cloud-hosted source compared to a local environment.
I’m offer to check:
Public Network Access & Firewall Rules Ensure that public network access is enabled for your storage account, or that the client cloud environment’s outbound IP address is included in the firewall exception list of the storage account.
SFTP Local User Configuration Check that the SFTP authentication is properly configured using local users under the SFTP settings in the Azure portal, and that the credentials used match one of those users. Note that SFTP in Azure Blob Storage currently supports only local user authentication (not Azure AD or SSH key authentication via other mechanisms).
SFTP Protocol Requirements Some cloud-hosted environments may block or restrict SFTP/SSH outbound traffic depending on their internal network security configurations. You may need to verify if port 22 is allowed for outbound traffic in the cloud provider’s firewall or NSG settings (if using Azure VMs).
Username Format in SFTP Session When using SFTP for Azure Blob Storage, make sure the username follows this format:
<storage-account-name>.<local-user-name>
Mistakes in this format are a common cause of authentication failures.
Check for Case Sensitivity Usernames and passwords in the SFTP config are case-sensitive. Please ensure the credentials are being used exactly as defined.
As well
Revalidate the username format and credentials.
Confirm firewall and network rules in both the storage account and the source environment.
Attempt connection using Azure CLI or Azure Storage Explorer (if possible) to rule out client-related behavior.
If its possible pls share the complete error output if the failure persists, especially from tools other than WinSCP (e.g., OpenSSH client, FileZilla).
Enable SFTP support for Azure Blob Storage
Network access control for Azure Storage
Troubleshooting SFTP connectivity issues
Best regards,
Alex
P.s. If my answer help to you, please Accept my answer