You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/app-service/deploy-configure-credentials.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: cephalin
5
5
ms.author: cephalin
6
6
ms.reviewer: byvinyal
7
7
ms.topic: how-to
8
-
ms.date: 06/30/2025
8
+
ms.date: 07/01/2025
9
9
10
10
---
11
11
@@ -31,15 +31,15 @@ Basic authentication is less secure than other authentication methods and is dis
31
31
<aname="userscope"></a>
32
32
## Set user-scope credentials
33
33
34
-
For FTP/S deployment, you need both a user name and a password. Local Git deployment requires a user name but not a password.
34
+
For FTP/S deployment, you need both a user name and a password. Local Git deployment requires only a user name. The user name must be unique within Azure.
35
35
36
-
The user name must be unique within Azure. For local Git deployment, the user name can't contain the `@` character.
36
+
For local Git deployment, the user name can't contain the `@` character.
37
37
38
-
For FTP/S:
38
+
For FTP/S deployment:
39
39
40
40
- The user name must follow the format `<app-name>\<user-name>`. Since user-scope credentials are linked to the user and not to the app, this format directs the sign-in action to the correct FTP/S endpoint for the app.
41
41
42
-
- The password must be at least eight characters and contain capital letters, lowercase letters, numbers, and symbols. The user-scope creation JSON output and portal display don't show the password value. If you forget your password, you can [reset your credentials](#reset-credentials) to get a new one.
42
+
- The password must be at least eight characters and contain capital letters, lowercase letters, numbers, and symbols. The Azure portal doesn't show the user-scope password, and the JSON output shows it as `null`. If you lose or forget your password, you can [reset your credentials](#reset-credentials) to get a new one.
43
43
44
44
You can configure user-scope credentials by using Azure CLI or the Azure portal.
45
45
@@ -74,7 +74,7 @@ After you set user-scope credentials, you can see your deployment user name on y
74
74
<aname="appscope"></a>
75
75
## Get application-scope credentials
76
76
77
-
The application-scope credentials are automatically created at app creation. The FTP/S app-scope user name always follows the format `app-name\$app-name`. The local Git user name uses the format `$app-name`.
77
+
The application-scope credentials are automatically created at app creation. The FTP/S app-scope user name always follows the format `app-name\$app-name`. The local Git app-scope user name uses the format `$app-name`.
78
78
79
79
>[!NOTE]
80
80
>When you use `git remote add` in shells that use the dollar sign for variable interpolation, such as Bash, you must use `\$` to escape any dollar signs in the username or password to avoid authentication errors.
@@ -125,7 +125,7 @@ When you reset your deployment credentials, any external integrations and automa
125
125
126
126
# [Azure CLI](#tab/cli)
127
127
128
-
In Azure CLI, reset the application-scope password by using the [`az resource invoke-action`](/cli/azure/resource#az-resource-invoke-action) command.
128
+
In Azure CLI, reset the application-scope password by using the [`az resource invoke-action`](/cli/azure/resource#az-resource-invoke-action) command with the `newpassword` action.
@@ -139,7 +139,7 @@ az webapp deployment user set --user-name <new-username> --password <new-passwor
139
139
140
140
# [Azure PowerShell](#tab/powershell)
141
141
142
-
In Azure PowerShell, reset the application-scope password by using the [`Invoke-AzResourceAction`](/powershell/module/az.resources/invoke-azresourceaction) command:
142
+
In Azure PowerShell, reset the application-scope password by using the [`Invoke-AzResourceAction`](/powershell/module/az.resources/invoke-azresourceaction) command with the `newpassword` action:
0 commit comments