CPM - MSSQL - sql server does not exist or access denied

CPM - MSSQL - sql server does not exist or access denied

124
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 12:59 PM


Symptom


If you try to reconcile or verify an SQL authentication account in mssql server and you receive this message as part of the error:
Error logging into User XXX on Server YYY ... sql server does not exist or access denied.


Environment


9.10;10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM)
  • PAM
  • CPM


Cause


It could be 2 things - missing instance name or non-standard port.

Resolution


Go to Platform Management -> Your MSSQL Platform -> Automatic Password Management -> Additional Policy settings and Change ConnectionCommand to 

Driver={SQL Server};Server=%ADDRESS%[\%INSTANCE%][,%PORT%];Database= %DATABASE%;Uid=%USER%; Pwd=%LOGONPASSWORD%;

The Command needs to be updated to include the Instance and Port options if you have provided them in the Optional Fields.
 


Additional Information


Details


If you try to reconcile or verify an SQL authentication account in mssql server and you receive this message as part of the error:

Error logging into User XXX on Server YYY ... sql server does not exist or access denied.  It could be 2 things - missing instance name or non-standard port.

Solution:

Go to Platform Management -> Your MSSQL Platform -> Automatic Password Management -> Additional Policy settings and Change ConnectionCommand to 

Driver={SQL Server};Server=%ADDRESS%[\%INSTANCE%][,%PORT%];Database= %DATABASE%;Uid=%USER%; Pwd=%LOGONPASSWORD%;

The Command needs to be updated to include the Instance and Port options if you have provided them in the Optional Fields.








Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001XlACAU&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail