<h2>SCCM integration - Test data source connection or any other import specific action fails with error: Failed to init the JDBC connection. Check configuration.</h2><br/><div style="overflow-x:auto"><article><div ><h3 >Issue </h3><section><style type="text/css"><!-- div.margin { padding: 10px 40px 40px 30px; } table.tocTable { border: 1px solid; border-color: #e0e0e0; background-color: #fff; } .title { color: #d1232b; font-weight: normal; font-size: 28px; } h1 { color: #d1232b; font-weight: normal; font-size: 21px; margin-bottom: 5px; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #cccccc; } h2 { color: #646464; font-weight: bold; font-size: 18px; } h3 { color: #000000; font-weight: bold; font-size: 16px; } h4 { color: #666666; font-weight: bold; font-size: 15px; } h5 { color: #000000; font-weight: bold; font-size: 13px; } h6 { color: #000000; font-weight: bold; font-size:14px; } ul, ol { margin-left: 0; list-style-position: outside; } --></style> <div class="margin"> <h1>Symptoms</h1> <p style="padding-left: 40px;">The error <span style="color: #ff0000;">'<strong>Failed to init the JDBC connection. Check configuration</strong>'</span> is seen during any of the below actions-</p> <ul style="list-style-position: inside;"><li>Form the SCCM integration's 'setup' page, if 'Test data source connection' is performed.</li><li>If 'Load 20 records' is performed from any of the SCCM integration's data source page.</li></ul> <p style="padding-left: 40px;">The investigation process below is for a specific condition where the error 'Failed to init the JDBC connection. Check configuration' is seen and the MID server records the below error-</p> <p style="padding-left: 80px;"><span style="color: #ff0000;"><strong>SOAPProcessingException: Field(s) present in the query do not have permission to be read</strong></span></p> <p style="padding-left: 40px;">Below is the snapshot from MID server agent log and if you have a closer look, here is what you find-</p> <ul style="list-style-position: inside;"><li>Initially, you would observer the error '<strong>Failed to init the JDBC connection. Check configuration</strong>' for JDBC probe attempt.</li><li>Eventually, you would observe '<strong>SOAPProcessingException: Field(s) present in the query do not have permission to be read' </strong>multiple times throughout. </li></ul> <p style="padding-left: 80px;"><img src="/sys_attachment.do?sys_id=8ab86c2edb02b450e515c2230596195a" /></p> <h1>Release</h1> <ul style="list-style-position: inside;"><li>Any Release.</li></ul> <h1>Steps to Reproduce</h1> <ul style="list-style-position: inside;"><li>Hop on to the instance.</li><li>Navigate to setup under 'Integration - Microsoft SCCM 2016'</li><li>On the left pane, there is a related link for 'Test data source connection' click that to see that the attempt ends with an error 'Failed to init the JDBC connection. Check configuration.'</li></ul> <h1>Cause</h1> <ul style="list-style-position: inside;"><li>This condition is observed because of insufficient privileges to the <strong>MID Server User</strong> on the instance.</li></ul> <h1>Resolution</h1> <p style="padding-left: 40px;">After reproducing the issue successfully, to resolve the issue, follow the below steps</p> <ul style="list-style-position: inside;"><li>On the instance, for the relevant MID server that is being used for the SCCM integration, take note of the MID user(Logged in user).</li><li>Navigate to user administration --> Users, find the user and open the user record.</li><li>Edit the Role permissions and double check to see if 'mid_server' role is added. </li><li>Cross check to see if these roles are present - soap, soap_query, soap_update, soap_delete, soap_create, soap_ecc, soap_script.</li><li>If any of the above roles are missing, please add them.</li></ul> <p style="padding-left: 40px;">Post adding the roles, a validation can be done by performing 'Test data source connection' and you should see 'connection successful' message.</p> </div></section></div></article></div>