OBLYTECH Logo
OBLYTECH Logo

Configure domain-separated Discovery schedules

To configure domain-separated Discovery schedules, set the existing schedule’s Run as field to a user in the intended domain. Discovery then uses that user’s domain and permissions. Check that the user, MID Server, and credentials share the domain; for Cloud Discovery, include the cloud service account in that check.

Decide where the schedule should place discovered CIs

The person who created a Discovery schedule and the user who should run it can have different responsibilities. In a domain-separated environment, the creator’s domain typically determines where discovered data is stored. Setting Run as provides an explicit execution identity, allowing the schedule to use another user’s domain and permissions.

Start with the required destination for the configuration items, or CIs. Record the domain that should contain the discovered data, then identify the user that represents that execution context. Choosing a familiar administrator account without checking its domain can leave a schedule pointed at the wrong destination even when its name suggests otherwise.

For example, suppose a central administrator prepares a schedule for a customer domain. The review should connect that schedule to a user belonging to the customer domain. Treat the schedule name as an aid to recognition, and inspect the actual user assignment before accepting the configuration.

Agree on the domain decision before editing. A short record containing the schedule name, intended domain, selected user, and reviewer gives the change a clear acceptance condition. For decisions about ownership and review responsibilities, use the Discovery governance model.

Check the execution identity and domain alignment

The role required to configure Run as on an existing Discovery schedule is discovery_admin. This requirement applies to the person making the configuration change. The selected Run as user supplies the domain and permissions under which the discovery process operates; these are separate considerations when preparing the change.

Before opening the schedule for editing, assemble the identities and resources that it uses. Compare their domain assignments directly. The Run as user must belong to the same domain as the MID Server and the credentials used by the schedule. Cloud Discovery also requires the cloud service account to belong to that domain.

  • Identify the intended Run as user and verify that user’s domain.
  • Identify the MID Server used by the schedule and compare its domain.
  • Check the domain of the credentials the schedule uses.
  • For Cloud Discovery, include the cloud service account in the comparison.

Domain misalignment can lead to discovery failures or data being stored in the wrong domain. A schedule that appears ready to execute therefore needs more than a completed Run as field. Its supporting resources need to agree with the intended execution context.

Check this configuration on your instance and release before rollout. Use the preparation stage to resolve uncertain assignments, rather than treating a subsequent discovery run as the way to discover which domain an account belongs to.

Configure domain-separated Discovery schedules in the list

This procedure changes an existing Discovery schedule. Have the schedule’s name available and confirm that the record you locate is the one approved for the change. If the schedule has not been created, complete that separate setup before following these steps.

  1. With the discovery_admin role, navigate to All > Discovery > Discovery Schedules.
  2. In the Name field, enter the name of the schedule you intend to configure.
  3. Locate the Run as field in the schedule list. The Run as column is not displayed by default in the Discovery Schedules [discovery_schedule] table, so personalize the list columns if necessary.
  4. Double-click Run as to edit it inline.
  5. Enter the name of the user chosen for the schedule’s execution context.
  6. Select the check mark icon to save the inline change.

Take care when similarly named schedules appear together. Compare the selected record with the change record before entering a user. A correctly chosen identity on the wrong schedule still leaves the intended schedule uncorrected and creates another configuration that needs review.

After saving, inspect Run as again and compare it with the selected user in your preparation notes. Include the stored assignment in the handover so that another administrator can distinguish a completed change from an intended one. The Discovery implementation roadmap can help place this configuration checkpoint within a larger rollout.

For a group of schedules, prepare one review entry per schedule instead of recording a single shared assumption. Two schedules prepared by the same administrator can have different intended destinations. Compare each saved Run as value with its own entry, even where the user names look similar. This also gives the reviewer a way to identify an omitted edit without repeating the whole configuration exercise.

Validate the destination before widening discovery

Build an acceptance check around both execution and data placement. A run that completes without the expected CIs appearing in the intended domain has not met the purpose of this change. Likewise, finding CIs in the right place does not explain a separate failure affecting part of the intended discovery scope.

As a validation approach, choose a controlled scope that the responsible domain owner can recognize. Record which results you expect, run the schedule through your established operating process, and review the resulting CIs with someone able to inspect the intended domain. Include a case that would reveal an incorrect destination, rather than checking a result whose domain is unclear to the reviewer. Keep this review distinct from the act of saving Run as.

Compare the observed domain with the domain recorded before the change. If they differ, pause wider execution and recheck the saved user and the supporting domain assignments. Do not infer the destination from the account’s display name or from the administrator who performed the edit.

Preserve enough evidence for another operator to repeat the check: the schedule, the selected user, the resource domains reviewed, and the observed CI destination. Record an unexpected result plainly instead of marking the change complete because the list edit succeeded.

For help organizing this work, see ServiceNow implementation.

Investigate failures without losing the domain decision

If discovery fails after the assignment, compare the intended configuration with the saved configuration first. Confirm that the schedule still names the expected Run as user, then revisit the MID Server and credentials. For a cloud schedule, include the cloud service account in that review.

Keep domain membership and permissions as separate lines of investigation. Run as affects both the domain context and the resources the process can access. Matching the intended domain does not by itself demonstrate that the chosen user has the permissions needed for the work.

When the run completes but the destination is unexpected, start with the same identity check. Establish which user the schedule names and which domain that user belongs to before making another change. Avoid switching to a different account merely to obtain a successful run without preserving the intended data boundary.

Keep a record of what you changed between validation runs. Changing several assignments together makes it harder to determine which mismatch caused the failure or incorrect placement. The Discovery best practices page provides a broader framework for maintaining repeatable operational checks.

Questions for schedule handover and ongoing review

What should a handover include beyond the selected user?

Include the reason for the domain choice, the person responsible for reviewing it, and the evidence that the destination was checked. This gives the next administrator a decision to preserve rather than an unexplained account name. Keep the record close to the schedule’s operating instructions.

When should the team review an established assignment?

Include a review when a planned change affects the selected user, MID Server, credentials, or cloud service account. The purpose is to compare the proposed configuration with the accepted domain boundary before execution resumes. A review is also sensible when responsibility for the schedule changes teams.

How should teams describe a domain-placement acceptance test?

Write an observable statement: the agreed discovery scope produces CIs in the named domain, and the responsible reviewer checks that result. Specify who will inspect it and what evidence they will retain. Avoid acceptance wording that merely says the schedule was configured or ran successfully.

How can a rollout avoid repeating manual identity checks without review?

Define the checks and the evidence they require before automating them. A comparison needs an agreed intended domain as well as the observed assignments. Explore Discovery automation opportunities after the team has established a repeatable review and a clear response to mismatches.

What should happen to unresolved domain questions during handover?

Assign an owner and leave the validation decision open until the intended destination and execution identity are agreed. Record the uncertainty explicitly. That prevents an operational handover from turning an unverified account choice into an assumed standard for later schedules.