Skip to content

Commit 10c00e4

Browse files
committed
touch
1 parent 54264c8 commit 10c00e4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/app-service/deploy-configure-credentials.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: cephalin
55
ms.author: cephalin
66
ms.reviewer: byvinyal
77
ms.topic: how-to
8-
ms.date: 06/30/2025
8+
ms.date: 07/01/2025
99

1010
---
1111

@@ -31,15 +31,15 @@ Basic authentication is less secure than other authentication methods and is dis
3131
<a name="userscope"></a>
3232
## Set user-scope credentials
3333

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.
3535

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.
3737

38-
For FTP/S:
38+
For FTP/S deployment:
3939

4040
- 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.
4141

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.
4343

4444
You can configure user-scope credentials by using Azure CLI or the Azure portal.
4545

@@ -74,7 +74,7 @@ After you set user-scope credentials, you can see your deployment user name on y
7474
<a name="appscope"></a>
7575
## Get application-scope credentials
7676

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`.
7878

7979
>[!NOTE]
8080
>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
125125

126126
# [Azure CLI](#tab/cli)
127127

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.
129129

130130
```azurecli-interactive
131131
az resource invoke-action --action newpassword --resource-group <group-name> --name <app-name> --resource-type Microsoft.Web/sites
@@ -139,7 +139,7 @@ az webapp deployment user set --user-name <new-username> --password <new-passwor
139139

140140
# [Azure PowerShell](#tab/powershell)
141141

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:
143143

144144
```azurepowershell-interactive
145145
Invoke-AzResourceAction -ResourceGroupName <group-name> -ResourceType Microsoft.Web/sites -ResourceName <app-name> -Action newpassword

0 commit comments

Comments
 (0)