Fetch Azure FTP Credentials from the CLI
This is one of those posts I’m writing for future me (hi, future me!).
If you have an Azure Web App and you want to get its application-level deployment credentials (as opposed to its user-level deployment credentials), you need to run two commands using the Azure CLI:
# to get the FTP endpoint
The second command will give you the three components you need for your username and password credentials. You use the
publishingUserName together to make your username - like this
publishingPassword as the password.