Could not connect to {database}. Authentication configuration needed. User managed identity is recommended for target and output database authentication.

Ayush Shrivastava 120 Reputation points
2024-09-11T12:31:45.6+00:00

Could not connect to {database}. Authentication configuration needed. User managed identity is recommended for target and output database authentication.

This is the error I am getting by

SELECT last_message

FROM jobs.job_executions

I am using SPN to authenticate the target database the SPN has all the appropriate access.

Azure SQL Database
{count} votes

1 answer

Sort by: Most helpful
  1. Darshida Das 15 Reputation points
    2024-09-11T12:33:52.2266667+00:00

    Try using a User Managed Identity instead of the Service Principal Name (SPN) for authentication. Ensure it has the correct permissions and update your connection string accordingly


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.