Understanding MID Server validation and invalidationSummary Overview After a new MID Server connects to an instance, it must be validated before it can access automation credentials and perform tasks that require a trusted MID Server. This article explains the purpose of the Validate and Invalidate actions, what to expect after using them, and the checks to perform if validation does not complete. Audience: ServiceNow administrators who operate MID ServersApplies to: MID Servers connected to a ServiceNow instance Why validation exists Validation establishes trust between the instance and the MID Server. Before validating a MID Server, confirm that the MID Server name and host match the system that you expect. A MID Server that is not validated may still connect to the instance and appear as Up, but it cannot access automation credentials or perform tasks that require validation. Validate Before you begin Confirm that the MID Server version is compatible with the instance.Confirm that the MID Server record represents the expected MID Server host.Ensure that you have the agent_admin or admin role. When the action is available The Validate action is available for a MID Server that has connected to the instance but has not yet completed validation. The availability of the action can also depend on the current MID Server state and authentication configuration. What happens after you select Validate When you select Validate, the validation process begins. The Validated field changes to Validating and then to Yes when validation completes. If the MID Server does not already have supported applications, capabilities, or IP ranges configured, you may be prompted to define initial selection criteria. Canceling that prompt does not cancel validation, but no initial selection criteria are added. If validation does not complete If the MID Server remains in the Validating state, verify the following: The MID Server service is running.The MID Server status is Up on the MID Server record.The MID Server host can reach the instance.No firewall or proxy blocks communication between the MID Server and the instance ECC queue.The MID Server agent0.log does not contain validation-related errors. What Validate does not do It does not change the service account that runs the MID Server.It does not assign roles or modify ACLs in the instance.It does not install or upgrade the MID Server software.It does not test connectivity from the MID Server to Discovery targets or integration endpoints.It does not delete or recreate the MID Server record. Invalidate When to use Invalidate Use Invalidate when you no longer trust a MID Server or suspect that it may have a security issue. Invalidation prevents the MID Server from accessing automation credentials and performing tasks that require a trusted MID Server. Important: Do not use Invalidate as a routine troubleshooting step. Invalidation affects the MID Server trust relationship and security keys. Review any custom certificate or certificate-based authentication configuration before proceeding. What happens after you select Invalidate When you select Invalidate, the MID Server is returned to a not-validated state. As part of the process, the MID Server clears its memory, restarts, and generates a new key pair. The MID Server must be validated again before it can access automation credentials or perform tasks that require a trusted MID Server. Invalidation does not delete the MID Server record from the instance. Action availability and authentication configuration The availability and behavior of the Invalidate action can vary depending on the MID Server authentication configuration and product version. Refer to the documentation for the authentication method configured for the MID Server before proceeding. Summary of validation states Displayed stateMeaningNot validatedThe MID Server is not trusted and cannot access automation credentials or perform tasks that require validation.ValidatingValidation is in progress.YesValidation completed and the MID Server can perform tasks allowed by its configuration. Frequently asked questions What should I expect after selecting Validate? The Validated field changes to Validating while validation is in progress and then changes to Yes when validation completes. Keep the MID Server service running and ensure that the MID Server can communicate with the instance. The MID Server shows Up but is not validated. Is it working? The MID Server is connected to the instance, but it cannot access automation credentials or perform tasks that require validation. Validate the MID Server before assigning those tasks to it. Why is the MID Server stuck in Validating? Confirm that the MID Server service is running, its status is Up, and the MID Server host can communicate with the instance. Also check firewall and proxy rules, and review agent0.log for validation-related errors. Does Invalidate remove the MID Server from the instance? No. Invalidation changes the MID Server trust state and resets its security keys. It does not delete the MID Server record. Related links Validate the MID Server