Forum Discussion
shashidhar joliholi
Oct 11, 2022Copper Contributor
Arc arc onboarding issue
Hi All,
We are not able to onboard windows servers to ARC console getting following error. didn't find any with app, spn and secret key. but still getting Failed To Get Access Token"
time="2022-10-11T13:32:44+05:30" level=error msg="Unable to obtain a token for deletion operation. Please wait a minute and t
ry again." Error="ClientSecretCredential: unable to resolve an endpoint: server response error:\n context deadline exceeded"
time="2022-10-11T13:32:49+05:30" level=info msg="Exit Code: AZCM0041: Failed To Get Access Token"
time="2022-10-11T13:32:49+05:30" level=info msg="For troubleshooting, see https://aka.ms/arc/azcmerror"
time="2022-10-11T13:32:49+05:30" level=fatal msg="ClientSecretCredential: unable to resolve an endpoint: server response erro
r:\n context deadline exceeded"
Hello shashidhar joliholi ,
There are several options to onboard windows servers to Azure Arc.
- Add a single server
- Add multiple servers
- Add servers from Update Management(preview)
If you are talking about an Access Token, I assume that you are trying to use the second option.
For that option, you should create a Service Principal and generate an Access Token for it.
Have you done that?
Connect hybrid machines to Azure at scale - Azure Arc | Microsoft Learn
6 Replies
Sort By
- KariRCopper ContributorWe ran in to these same and the connectivity check tool failed to connect, but the issue was the missing trusted root certificate "DigiCert Global Root CA". Once that was added to the trust store, it started working. The reason not having those root certs updates is that the clients were in a very restricted and protected network without any internet access.
- LarsVillaume_twodayCopper ContributorIt could be the Azure endpoints that is not reachable - have you tried checking with:
azcmagent.exe check -l westeurope (if you are using westeurope as location)
the agent folder is in program files
it will tell you if the urls is accessble - mikhailfSteel Contributor
Hello shashidhar joliholi ,
There are several options to onboard windows servers to Azure Arc.
- Add a single server
- Add multiple servers
- Add servers from Update Management(preview)
If you are talking about an Access Token, I assume that you are trying to use the second option.
For that option, you should create a Service Principal and generate an Access Token for it.
Have you done that?
Connect hybrid machines to Azure at scale - Azure Arc | Microsoft Learn
- shashidhar joliholiCopper Contributor
Hi mikhailf,
We already done the given steps, it was working fine. from last few days we are getting shared error while running onboarding script- mikhailfSteel Contributor