Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Configuring SQL Authentication for SCCM Integration via ServiceNow MID Server.

tejarekanda
Tera Expert

Steps to Create a user permissions to access the SCCM database in Microsoft SQL Server 

Step-1: Create a SQL Login

  • In SQL Server Management Studio, expand Security 
  • Right-click Logins → New Login… 

              

tejarekanda_0-1765472617294.png

 

  • Create a User and Enter Password
  • Ensure SQL Authentication is selected 
  • Set Default Language = English 
  • Click OK 

              

tejarekanda_1-1765472617307.png

 

Step-2: Create a Database User for the SCCM Database 

  • Expand Databases 
  • Locate the SCCM database (name begins with CM_) 
  • Expand Security → Users 
  • Right-click Users → New User 

tejarekanda_2-1765472617315.png

 

  • Add the user which we created in the step1.

tejarekanda_3-1765472617319.png

 

 

Step-3: Grant Execute Permission.

  • Right-click the CM_* SCCM database → Properties 

tejarekanda_4-1765472617324.png

 

  • Select Permissions 
  • Choose the User you have Created.
  • Enable the Execute permission
  • Click OK. 

tejarekanda_5-1765472617336.png

 

Step-4: Add Roles to the User.

  • Go to Databases CM_* SCCM database → SecurityUsers
  • Right Click on the user and select Properties.

tejarekanda_6-1765472617345.png

 

  • Select Membership
  • Select db_datareader

tejarekanda_7-1765472617349.png

 

 

Step-5: Validate user mapping and assigned database roles.

  • Security → Logins
  • Right Click on the user

tejarekanda_8-1765472617361.png

 

  • Select User Mapping.
  • Confirm the user having the roles.

tejarekanda_9-1765472617370.png

 

IN Servicenow:

tejarekanda_11-1765473232060.png

 

 

 

0 REPLIES 0