Skip to content

Commit 0bfeba9

Browse files
committed
Fix link in service connection authentication note for AzureCLI@2
1 parent 13ad32b commit 0bfeba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cli/azure-devops-cli-in-yaml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ steps:
490490
When you use a service connection, the service connection provides the necessary credentials for Azure CLI and Azure DevOps CLI commands in the AzureCLI@2 task without requiring manual credential management in the pipeline.
491491

492492
> [!NOTE]
493-
> When you use a service connection for authentication with `AzureCLI@2`, you need to [manually add the service principal to your Azure DevOps organization](../integrate/get-started/authentication/service-principal-managed-identity.md##step-2-add-the-identity-to-azure-devops).
493+
> When you use a service connection for authentication with `AzureCLI@2`, you need to [manually add the service principal to your Azure DevOps organization](../integrate/get-started/authentication/service-principal-managed-identity.md#step-2-add-the-identity-to-azure-devops).
494494

495495
This code sample defines a new parameter, `serviceConnection`, with the name of an existing service connection. That parameter is referenced in the `AzureCLI@2` task. The task lists all projects (`az devops project list`) and pools (`az pipelines pool list`).
496496

0 commit comments

Comments
 (0)