Share via

SQL Connection stopped working - The provided certificate is not within its specified validity window.

Mayur Macwan 111 Reputation points
2020-12-07T14:20:10.583+00:00

We have setup the data gateway and the LogicApp was working fine, connecting to onprem sql using the SQL connector to execute SP.

All of a sudden, it stopped working and I am seeing below errors at the SQL Connection.

"error": {
"code": 502,
"source": "logic-apis-eastus.azure-apim.net",
"clientRequestId": "2d8c8916-d229-407f-af6d-5a774f081f7a",
"message": "BadGateway",
"innerError": {
"status": 502,
"message": "Unexpected Exception : Microsoft.IdentityModel.Clients.ActiveDirectory.AdalException: {\"error\":\"invalid_client\",\"error_description\":\"AADSTS1000502: The provided certificate is not within its specified validity window.

I chceked with the network team and confirmed that nothing has changed in the network config.

Any help appreciated.
Mayur

Azure VPN Gateway
Azure VPN Gateway

An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.

Azure Logic Apps
Azure Logic Apps

An Azure service that automates the access and use of data across clouds without writing code.

0 comments No comments

Answer accepted by question author

Mayur Macwan 111 Reputation points
2020-12-07T14:56:06.173+00:00

We still don't know the reason, but updating the data gateway to latest version helped resolve the issue.

thanks.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.