SQL server databases migration to Azure SQL VM using Azure Data studio

Sanjeev Koppella 0 Reputation points
2024-10-16T12:12:27.3866667+00:00

Hello,

I am migrating the SQL server databases to Azure SQL VM using Azure data studio but step 6 - validating the connectivity failed with below error.

I am able to connect to SQL server using SSMS from same server.
I can be able to see the "Microsoft.DataMigration" has already registered in subscription.
I opened the connectivity from DMS to Source server (open the 1433 port).

Please help to resolve this error.

Failed to connect to the database. Error message: Cannot connect to SQL Database.

Please contact SQL server team for further support. Server: 'servername', Database: '', User: 'sa'.

Check the linked service configuration is correct, and make sure the SQL Database firewall allows the integration runtime to access.

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible.

Verify that the instance name is correct and that SQL Server is configured to allow remote connections.

(provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Access is denied

Azure Database Migration service
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,852 questions
Azure Data Studio
Azure Data Studio
A cross-platform database tool for data professionals using on-premises and cloud data platforms on Windows, macOS, and Linux.
117 questions
{count} votes

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.