SGC SCCM integration issue

Jack62
Giga Guru

Evening all,

 

I am having an issue with our SCCM integration using the out of the box Service Graph Connector. This appears to be a credentials issue but our SCCM team swear blind everything is right. When I do a test pull on a data source I get the following error: Login failed. The login is from an untrusted domain and cannot be used with Integrated authentication.

When I untick "integrated authentication" I get the following error: MID Server reported error: SQLState: null
java.sql.SQLException: com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'ourconnection-GLOBAL\SVC_SCCM_SNOWSQLRO'. ClientConnectionId:569e61bd-8f68-4aba-8640-5129070efdde
com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:262)

 

Before I really push back on it being a creds issue can anyone shed some light on what it might be ServiceNow end?

 

Thanks

 

JAck

4 REPLIES 4

SK Chand Basha
Tera Sage

Hi @Jack62 Check with the Mid server status if is down you get this error.

 

MID Server fails to connect to Microsoft SQL Server for JDBC data loads with the error code of java....

 

Mark this Helpful !!. If this Helps you to understand. This will help both the community and me.

 

 

Jack62
Giga Guru

Hey, thanks for the response. I can confirm the mid server is up and responding. Could there be anything else ServiceNow side causing this?

 

maroon_byte
Mega Sage

If you are using Integrated Authentication on the data source then the MID Server should be running using domain ID and the same domain ID should be configured on the SQL Server database for read-only access.

 

In your case, if the SQL Server is configured to use user 'ourconnection-GLOBAL\SVC_SCCM_SNOWSQLRO', then the MID Server Windows service should be running using the same ID.

 

Regards,

Sharad

Damian3
Tera Contributor

Has anyone managed to use integrated AD authentication with an account that's not the MID server service account?

SCCM team don't want  local account on the DB server for security reasons, and have granted rights to an AD account that we have the credentials for but crucially it's not the same one that our MID server runs under (MID server service accounts for our discovery MID are very locked down as to what they can log into).

 

It seems odd that there isn't an obvious way to tell the SCCM SGC which AD account to use for integrated authentication, and that in theory if we managed to get some security exceptions we'd need the DB to grant the read rights to the AD account of each of our MID servers that may initiate the JDBC connection.