Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Certificate Management / MID server error

DomDerr
Giga Contributor

Hello,

 

We are in the process of implementing Certificate Manager.
We have a MID server that executes commands on an ADCS server.

 

We are experiencing random errors with a vague message. (sometimes works/sometimes not)
Do you have any information or solutions that could help us get more details to solve this issue?

Stack Trace: at System.Management.ThreadDispatch.Start()
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()
at System.Management.Automation.Cmdlet.DoBeginProcessing()
at System.Management.Automation.CommandProcessorBase.DoBegin()



Thank you.


 

 

2 REPLIES 2

amit_bt
Tera Expert

The stack trace you provided points specifically to a failure during the WMI initialisation phase on the MID server when attempting to communicate with the ADCS server. This typically occurs during the credential check or classification phase of the ServiceNow Certificate Manager process.

Step to follow:
Restart the MID Server Service
Enable Debug Logging
Validate WMI Connectivity Manually
Log into the MID Server host using the same service account used by ServiceNow.
Run the following PowerShell command to test the connection to the ADCS server:

powershell
Get-WmiObject -Class Win32_OperatingSystem -ComputerName "ADCS_SERVER_IP" -Credential (Get-Credential)

Tanushree Maiti
Kilo Patron

1)Validate the permission . Refer  Microsoft AD spoke – Permissions required to execute actions - Support

and Troubleshooting KB0829224 Microsoft AD spoke – Permissions required to execute actions 

2)KB0830548 Microsoft AD Spoke – Common Issues & their workarounds 

3) Ensure the target ADCS server's IP address is included in the MID Server's IP Ranges related list

Refer: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0726923#:~:text=Symptoms,Prop....

 

Also Refer : https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0744261#:~:text=You%20can%20a...

 

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: