Azure Stack HCI Nodes are showing disconnected for Azure Arc.
Please help!
My HCI (v22H2) cluster nodes are showing disconnected in the Azure portal.
Re-registering the HCI cluster didn't help.
"azcmagent check" cmd shoing no connectivity error.
azcmagent show gives following error-
error connecting machine to Azure: failed to send a heartbeat: failed to acquire token via certificate: error acquiring token from certificate: ClientCertificateCredential authentication failed. FromAssertion(): http call(https://login.microsoftonline.com/b32a5aa7-6099-4e50-b777-fd15c7062a11/oauth2/v2.0/token)(POST) error: reply status code was 401:
{"error":"invalid_client","error_description":"AADSTS700024: Client assertion is not within its valid time range. Current time: 2024-08-23T12:58:52.2142716Z, assertion valid from 1970-01-01T00:00:00.0000000Z, expiry time of assertion 2024-08-23T12:53:34.0000000Z. Review the documentation at https://learn.microsoft.com/entra/identity-platform/certificate-credentials . Trace ID: 44a5e2d1-3e9a-45ad-bfd1-2911b4046200 Correlation ID: dc44d1be-9f43-4802-9aea-ac871133942b Timestamp: 2024-08-23 12:58:52Z","error_codes":[700024],"timestamp":"2024-08-23 12:58:52Z","trace_id":"44a5e2d1-3e9a-45ad-bfd1-2911b4046200","correlation_id":"dc44d1be-9f43-4802-9aea-ac871133942b","error_uri":"https://login.microsoftonline.com/error?code=700024"}
POST https://login.microsoftonline.com/b32a5aa7-6099-4e50-b777-fd15c7062a11/oauth2/v2.0/token
RESPONSE 401 Unauthorized
{
"error": "invalid_client",
"error_description": "AADSTS700024: Client assertion is not within its valid time range. Current time: 2024-08-23T12:58:52.2142716Z, assertion valid from 1970-01-01T00:00:00.0000000Z, expiry time of assertion 2024-08-23T12:53:34.0000000Z. Review the documentation at https://learn.microsoft.com/entra/identity-platform/certificate-credentials . Trace ID: 44a5e2d1-3e9a-45ad-bfd1-2911b4046200 Correlation ID: dc44d1be-9f43-4802-9aea-ac871133942b Timestamp: 2024-08-23 12:58:52Z",
"error_codes": [
700024
],
"timestamp": "2024-08-23 12:58:52Z",
"trace_id": "44a5e2d1-3e9a-45ad-bfd1-2911b4046200",
"correlation_id": "dc44d1be-9f43-4802-9aea-ac871133942b",
"error_uri": "https://login.microsoftonline.com/error?code=700024"