Problems when registering AAD ADFS Connect Health Agent

%3CLINGO-SUB%20id%3D%22lingo-sub-1317896%22%20slang%3D%22en-US%22%3EProblems%20when%20registering%20AAD%20ADFS%20Connect%20Health%20Agent%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1317896%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EI'm%20trying%20to%20help%20a%20client%20install%20the%20AAD%20Connect%20Health%20Agent%20on%20their%20ADFS%20servers%20and%20we%20got%26nbsp%3B%20a%20timeout%20error%20when%20it%20is%20trying%20connect%20to%20endpoint%20%3C%2FSPAN%3E%3CA%20title%3D%22https%3A%2F%2Flogin.microsoftonline.com%22%20href%3D%22https%3A%2F%2Flogin.microsoftonline.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Flogin.microsoftonline.com%3C%2FA%3E%20Our%20initial%20approach%20was%20to%20run%20Register-AzureADConnectHealthADFSAgent%20and%20then%20enter%20the%20creds%20for%20the%20GA%20account%2C%20this%20did%20not%20work.%20After%20much%20troubleshooting%2C%20we%20tried%3C%2FP%3E%3CP%3E%24cred%20%3D%20Get-Credential%3C%2FP%3E%3CP%3ERegister-AzureADConnectHealthADFSAgent%20-Credential%20%24cred%20and%20it%20did%20work%2C%20which%20makes%20no%20sense%20and%20seem%20like%20a%20bug%20that%20would%20have%20been%20reported%20by%20others.%3C%2FP%3E%3CP%3EAny%20idea%20why%20this%20would%20happened%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1317896%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1321923%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20when%20registering%20AAD%20ADFS%20Connect%20Health%20Agent%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1321923%22%20slang%3D%22en-US%22%3E%3CP%3ESorry%20Dean%2C%20I%20don't%20even%20remember%20when%20was%20the%20last%20time%20I%20played%20with%20this.%20Ask%20in%20the%20advisors%20network%20or%20open%20a%20support%20case%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Respected Contributor

I'm trying to help a client install the AAD Connect Health Agent on their ADFS servers and we got  a timeout error when it is trying connect to endpoint https://login.microsoftonline.com Our initial approach was to run Register-AzureADConnectHealthADFSAgent and then enter the creds for the GA account, this did not work. After much troubleshooting, we tried

$cred = Get-Credential

Register-AzureADConnectHealthADFSAgent -Credential $cred and it did work, which makes no sense and seem like a bug that would have been reported by others.

Any idea why this would happened?

@Vasil Michev 

1 Reply

Sorry Dean, I don't even remember when was the last time I played with this. Ask in the advisors network or open a support case?