Skip to content

Commit c16d85b

Browse files
committed
draft complete
1 parent e88972c commit c16d85b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/azure-arc/servers/manage-agent.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,12 @@ This parameter specifies a resource in Azure Resource Manager to delete from Azu
6666
> [!NOTE]
6767
> If you have deployed one or more Azure VM extensions to your Azure Arc-enabled server and you delete its registration in Azure, the extensions remain installed and may continue performing their functions. Any machine intended to be retired or no longer managed by Azure Arc-enabled servers should first have its [extensions removed](#step-1-remove-vm-extensions) before removing its registration from Azure.
6868
69-
To disconnect using a service principal, run the following command:
69+
To disconnect using a service principal, run the following command. Be sure to specify a service principal that has the required roles for disconnecting servers; this will not be the same service principal used to onboard the server:
7070

7171
`azcmagent disconnect --service-principal-id <serviceprincipalAppID> --service-principal-secret <serviceprincipalPassword>`
7272

73+
74+
7375
To disconnect using an access token, run the following command:
7476

7577
`azcmagent disconnect --access-token <accessToken>`

0 commit comments

Comments
 (0)