On this quick article, I’ll clarify why you could be receiving the next message in your Terraform pipelines, and find out how to troubleshoot and repair the problem.
"error":"invalid_client","error_description":"AADSTS700024: Consumer assertion
just isn't inside its legitimate time vary.
An instance of the total error you may obtain is proven beneath:
│ Error: error loading state: Error retrieving keys for Storage Account
"xxxx": autorest/Consumer#Do: Making ready request failed:
StatusCode=0 -- Unique Error: clientCredentialsToken:
acquired HTTP standing 401 with response:
{"error":"invalid_client","error_description":"AADSTS700024: Consumer assertion
just isn't inside its legitimate time vary. Present time: 2024-12-03T13:41:29.8012207Z
, assertion legitimate from 2024-12-03T12:10:16.0000000Z, expiry time of assertion
2024-12-03T12:20:16.0000000Z. Overview the documentation at
https://be taught.microsoft.com/entra/identity-platform/certificate-credentials .
Hint ID: 9d092184-8c0b-49a5-896e-13adb97d5000 Correlation ID:
7061541e-553b-43d4-825c-06b5f787bded Timestamp: 2024-12-03 13:41:29Z",
"error_codes":[700024],"timestamp":"2024-12-03 13:41:29Z","trace_id":
"9d092184-8c0b-49a5-896e-13adb97d5000",
"correlation_id":"7061541e-553b-43d4-825c-06b5f787bded"…