Hi - I have a Power Automate flow which waits for an email to arrive, then kicks off a Power BI Semantic Model refresh. We have had this flow working for 1 year, but yesterday, we are now unable to run the flow. We get this error below on the "When a new email arrives" step. What is needed to correct? This flow was running every workday for a year until yesterday.
Error from token exchange: Bad Key authorization token. Token must be a valid JWT signed with HS256
Failed to validate token: IDX10249: X509SecurityKey validation failed. The associated certificate has expired. ValidTo (UTC): '9/22/2024 11:59:59 PM', Current time (UTC): '9/26/2024 11:48:29 AM'.
here is the output of the task. For security, the GUID in the "source" below has been masked.
{
"statusCode": 400,
"headers": {
"x-ms-failure-cause": "apihub-token-exchange",
"x-ms-apihub-obo": "false",
"x-ms-apihub-cached-response": "false",
"Date": "Thu, 26 Sep 2024 11:48:29 GMT",
"Content-Length": "475",
"Content-Type": "application/json"
},
"body": {
"status": 400,
"source": "https://canada-001.token.azure-apim.net:443/tokens/canada-001/office365/shared-office365-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/exchange",
"message": "Error from token exchange: Bad Key authorization token. Token must be a valid JWT signed with HS256\r\nFailed to validate token: IDX10249: X509SecurityKey validation failed. The associated certificate has expired. ValidTo (UTC): '9/22/2024 11:59:59 PM', Current time (UTC): '9/26/2024 11:48:29 AM'.\r\n"
}
}