Azure Web App: TLS support for OLEDB-driver

Claes Eriksson 20 Reputation points
2024-12-21T02:03:32.4833333+00:00

Hi

I have trouble running a website on Azure, using the Microsoft 'Web App'. The website is unable to connect to the SQL Server database running in the same resource group (received error: "The connection's current state is closed").
According to the website developer/publisher, they recommend running TLS 1.0 because, according to them; "This is required as the default OLEDB drivers that are available on Azure App Services do not currently support TLS 1.2". The problem is that I cannot select TLS 1.0, because Microsoft will not allow TLS below 1.2, from November 2024.

Is it true that the Microsoft 'Web App' on Azure doesn't support TLS 1.2 for OLEDB driver?

Azure SQL Database
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,097 questions
{count} votes

Accepted answer
  1. Sina Salam 14,626 Reputation points
    2024-12-21T03:05:46.8366667+00:00

    Hello Claes Eriksson,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you have a serious concern about Azure Web App: TLS support for OLEDB-driver.

    Starting from November 2024, Azure will enforce a minimum TLS version of 1.2 for all services, meaning TLS 1.0 and 1.1 will no longer be supported for secure connections - https://zcusa.951200.xyz/en-us/azure/app-service/overview-tls

    1. So, dismiss the outdated TLS 1.0 requirement.
    2. Update the OLEDB driver and ensure application and SQL Server configurations support TLS 1.2. The latest versions of the OLEDB driver (starting from version 18.2.1) are designed to work with Azure SQL Database and other Azure services, supporting modern encryption standards including TLS 1.2 - https://zcusa.951200.xyz/en-us/sql/connect/oledb/features/using-azure-active-directory?view=sql-server-ver16
    3. Use detailed logging and testing to isolate any remaining connectivity issues.

    Alternatively, if the issue persists:

    • Create a test Azure Web App using a minimal application to test connectivity to the SQL Server.
    • Configure a hybrid connection or private endpoint if network-related issues are suspected.

    I hope this is helpful! Do not hesitate to let me know if you have any other questions.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.


0 additional answers

Sort by: Most helpful

Your answer

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