Unable to connect to azure database sql with adf linked service

Tyron Lee 20 Reputation points
2024-12-04T02:42:41.7733333+00:00

I am trying to setup a simple connection from azure data factory to azure sql database with link service but have faced the following error message:

ERROR USING MICROSOFT ENTRA AUTHENTICATION

Cannot connect to SQL Database. Please contact SQL server team for further support. Server: 'somerandomdbserver.database.windows.net', Database: 'somerandomdb', User: ''. Check the linked service configuration is correct, and make sure the SQL Database firewall allows the integration runtime to access.
Login failed for user '<token-identified principal>'.

ERROR USING

Cannot connect to SQL Database. Please contact SQL server team for further support. Server: 'somerandomdbserver.database.windows.net', Database: 'somerandomdb', User: 'somerandomadmin'. Check the linked service configuration is correct, and make sure the SQL Database firewall allows the integration runtime to access.
Login failed for user 'somerandomadmin'.

Please advice what I am missing as I've previously managed to connect to azure sql db some months back with the same method metioned below.

My setup as follows:

  1. Create an instance of adf (done)
  2. Create an instance of azure server
    1. Settings:
      1. Authentication Method: Use Microsoft Entra Authentication and SQL
      2. Set Microsoft Entra admin: ******@somewhere.com
      3. Serveradminlogin: configured
  3. Create an instance of azure sql db
    1. Settings
      1. SQL elastic pool: no
      2. workload environment: development
      3. compute and storage: basic
      4. backup storage redundancy: local
      5. connectivity method: public endpoint
      6. Allow Azure services and resources to access this server: Yes
      7. Add current client IP address: Yes
      8. Connection policy: Default
      9. TLS version: 1.2
      10. security: default, nothing touched.
  4. Configured Azure SQL Server network settings
    1. Public network access: Selected Networks
    2. Firewall rules: Added my local ip
    3. Exceptions: Allow azure resources and server to access this server
Azure SQL Database
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

Answer accepted by question author
  1. Nandan Hegde 36,716 Reputation points MVP Volunteer Moderator
    2024-12-04T05:49:36.23+00:00
    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.