ServiceNow Inbound Identity Workflow
The established V2 identity boundary is an inbound integration from ServiceNow to the ION Ticketing API. ServiceNow authenticates with an Entra access token issued to a ServiceNow-side application registration. This page does not define or imply interactive ServiceNow single sign-on.
Actors and application identities
| Actor or identity | Location | Responsibility |
|---|---|---|
| ServiceNow integration process | Approved ServiceNow instance | Initiate supported Ticketing API operations |
| ServiceNow-side Entra application registration | Integration-owned Entra configuration | Obtain a token for the ION Ticketing API audience |
| APIM | ION ingress boundary | Validate the external workload token and enforce route policy |
| Ticketing API | ION-owned API | Enforce integration permissions, customer mapping, and operation semantics |
| Downstream ION workloads | Azure-hosted services with managed identities | Continue processing as their own workload identities |
The ServiceNow-side registration is a non-human integration identity. Its tenant, owner, credential custody, and permitted ServiceNow instances must be explicit. Every Azure-hosted ION component on the receiving path uses managed identity for its downstream calls and Azure-resource access.
Cyber Defender Leads - SNOW Integration
Token path and termination
- The approved ServiceNow integration obtains an Entra token for the Ticketing API audience using the ServiceNow-side application registration.
- ServiceNow sends the token to the published Ticketing API route through APIM.
- APIM validates the token and the operation’s external-integration permission.
- APIM forwards the validated ServiceNow token to the Ticketing API. It does not exchange the token for service-to-service use.
- The Ticketing API validates and authorizes the external caller, resolves the configured customer/integration context, and accepts or rejects the operation.
- If processing continues to another ION service, queue, or Azure resource, the responsible Azure-hosted workload obtains a new token using its own managed identity. The ServiceNow token does not propagate beyond the Ticketing API trust boundary.
Validation and enforcement
APIM and the Ticketing API validate:
- Cryptographic signature, validity period, trusted Entra issuer, and the exact Ticketing API audience.
- The approved ServiceNow-side application identity and required application permission for the route.
- The enabled integration record, ServiceNow instance, customer mapping, and allowed operation.
- Request contract, replay and idempotency controls, rate limits, and correlation requirements appropriate to ticket operations.
Possession of a valid Entra token is not enough. Requests with an unknown application, customer, instance, or operation fail closed. The Ticketing API does not accept interactive user permissions as a substitute for the integration’s application permission.
Ownership and authorization
The ION Ticketing API owner defines route-level application permissions and the accepted caller policy. The ServiceNow integration owner controls the ServiceNow configuration and credential handling. The identity/platform owner governs the Entra registration, consent, credential lifetime, and revocation. Customer onboarding owns the mapping between a ServiceNow instance and customer context.
The integration receives only the application permission needed for established Ticketing API operations. Azure RBAC used by the Ticketing API or its workers is assigned to their managed identities and is independent of the ServiceNow application permission.
Onboarding
Before enabling an instance:
- Name the customer, ServiceNow instance, ION environment, business owner, technical owner, and support contacts.
- Provision or approve the ServiceNow-side application registration and set the Ticketing API as its only required ION audience.
- Establish a credential supported by the ServiceNow integration and the organization’s credential policy; record custody, expiry, rotation, and emergency revocation. Do not place credentials in ION documentation.
- Assign the minimum Ticketing API application permission.
- Configure the instance-to-customer mapping and permitted operations in the authoritative integration configuration.
- Test successful requests plus wrong audience, wrong application, missing permission, unknown customer, duplicate request, expired credential, and revoked integration cases.
- Enable monitoring and agree the failure, retry, and support process.
Details required before adding or changing the integration
The following design details must be established and reviewed before introducing a new ServiceNow path or changing the existing one:
- Exact ServiceNow product, instance ownership, environments, and network egress path.
- Entra tenant that owns the ServiceNow-side registration and the accountable registration owners.
- Credential type supported by ServiceNow, secure storage location, rotation interval, expiry alerting, and emergency revocation procedure.
- Ticketing API audience, application-permission catalogue, approved routes, and whether each operation reads, creates, or updates tickets.
- Customer and instance mapping, tenant-isolation checks, and behavior when the mapping is absent or inconsistent.
- Request schema, idempotency key, replay window, rate limit, timeout, retry, backoff, and duplicate-handling behavior.
- Source network restrictions, APIM exposure, certificate/TLS requirements, and any private-connectivity requirement.
- Audit fields, correlation model, sensitive-data classification, retention, and operational alert thresholds.
- Outbound ION-to-ServiceNow callbacks, if any, as a separately authenticated and owned integration direction.
- Test, incident-response, ownership-transfer, and offboarding procedures.
No interactive SSO behavior, user impersonation, or additional ServiceNow API flow is assumed until these details are approved and documented.
Revocation and offboarding
Disable the integration record and block its APIM caller policy first, then remove the Ticketing API application permission and revoke or delete the ServiceNow-side credential. Remove the instance-to-customer mapping after in-flight work is reconciled. Delete the application registration only after confirming it has no other approved integration purpose.
Emergency response may block the caller application or route immediately. Token validity and caches must be considered when verifying revocation. Downstream ION managed identities are revoked separately only if their own trust boundary is affected.
Audit and failure behavior
Log the calling application identity, integration and customer context, route, operation, authorization result, request correlation, idempotency result, and failure category. Do not log access tokens, authorization headers, credentials, or ticket content not required for security and operational audit.
Invalid or expired tokens return an unauthenticated response. Valid callers lacking the required operation or mapping receive a forbidden response. Duplicate requests follow the defined idempotency behavior. Dependency failure uses bounded retries or a controlled asynchronous recovery path and must not weaken authentication or switch to a broader identity.