Skip to content

Commit 70fb701

Browse files
committed
updated agent manage article
1 parent 3c85afd commit 70fb701

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

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

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,21 @@ To disconnect with your elevated logged-on credentials (interactive), run the fo
164164
165165
### Reconnect
166166
167-
This parameter specifies
167+
This parameter reconnects the already registered or connected machine with Azure Arc for servers (preview). This may be necessary if the machine has been turned off, at least 45 days, for its certificate to expire. This parameter uses the authentication options provided to retrieve new credentials corresponding to the Azure Resource Manager resource representing this machine.
168+
169+
This command requires higher privileges than the [Azure Connected Machine Onboarding](overview.md#required-permissions) role.
170+
171+
To reconnect using a service principal, run the following command:
172+
173+
`azcmagent reconnect --service-principal-id <serviceprincipalAppID> --service-principal-secret <serviceprincipalPassword> --tenant-id <tenantID>`
174+
175+
To reconnect using an access token, run the following command:
176+
177+
`azcmagent reconnect --access-token <accessToken>`
178+
179+
To reconnect with your elevated logged-on credentials (interactive), run the following command:
180+
181+
`azcmagent reconnect --tenant-id <tenantID>`
168182
169183
## Remove the agent
170184

0 commit comments

Comments
 (0)