Error connecting to app service over FTP with application scope credentials: "530 User cannot log in"

Orlando Carvajal 1 Reputation point
2021-08-05T18:49:31.59+00:00

Until a couple of weeks ago, we used to push files up to the app service via WinSCP or Filezilla. Now we started getting an error when trying to connect: "530 User cannot log in".
We have reset the publish profile, but it still doesn't work.
It's happening at least to 2 people connecting from different places.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,960 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 22,706 Reputation points Moderator
    2021-08-06T14:57:28.183+00:00

    Thanks for asking question! Could you please confirm if users have user scope assigned by the Admin?

    Further to elaborate on User-level credentials: It is one set of credentials for the entire Azure account. It can be used to deploy to App Service for any app, in any subscription, that the Azure account has permission to access. It's the default set that's surfaced in the portal GUI (such as the Overview and Properties of the app's resource page). When a user is granted app access via Role-Based Access Control (RBAC) or coadmin permissions, that user can use their own user-level credentials until the access is revoked.

    Also, do not share these credentials with other Azure users.

    Reference: https://learn.microsoft.com/en-us/azure/app-service/deploy-configure-credentials?tabs=portal

    Check this document on Common reasons for FTP “530 User Cannot log in” scenario

    Refer to below document link to understand more about FTP and troubleshooting in Azure app services,
    https://azureappservices.blogspot.com/2020/02/everything-about-azure-app-service-ftp.html

    Let us know if further query or issue remains.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.