ServiceNow Inbound Identity Workflow
ServiceNow is the reference non-Azure integration: an external platform that calls the ION Ticketing API. ServiceNow authenticates with an Entra access token issued to a dedicated integration identity, a ServiceNow-side application registration used for nothing else. This page does not define or imply interactive ServiceNow single sign-on or user impersonation.
Actors and application identities
| Concern | Authoritative system | ION responsibility |
|---|---|---|
| ServiceNow integration process | Approved ServiceNow instance | Initiates supported Ticketing API operations. |
| Dedicated integration identity | ServiceNow-side Entra application registration | Obtains a token for the Ticketing API with only the integration's application permission. |
| Edge | APIM | Validates the integration token and route permission, authenticates to the backend with its own managed identity, and forwards the validated token in X-Authorization. |
| Ticketing API | ION-owned API with its own UAMI | Authenticates APIM, attributes the request to the integration, enforces customer mapping and operation semantics. |
| Downstream ION workloads | Azure-hosted services with their own UAMIs | Continue processing as their own workload identities. |
The integration identity is non-human. Its tenant, owner, credential type, custody, and permitted ServiceNow instances are explicit and recorded. Every Azure-hosted ION component on the receiving path uses its own UAMI for downstream calls and Azure-resource access.
Token path and termination
- The approved ServiceNow integration obtains an Entra token for the Ticketing API using its dedicated integration identity.
- ServiceNow sends the token to the published Ticketing API route through APIM.
- APIM validates the token and the operation’s integration permission.
- APIM acquires its own managed-identity token for the Platform API audience,
places it in backend
Authorization, and setsX-Authorizationto the validated ServiceNow token for attribution. - The Ticketing API authenticates APIM through Easy Auth, reads the integration
identity from
X-Authorization, resolves the customer and integration context, and accepts or rejects the operation. - The Ticketing API never replays or forwards the ServiceNow token. Any further call to an ION service, queue, or Azure resource uses the responsible workload’s own UAMI.
Validation and enforcement
APIM and the Ticketing API validate:
- signature, validity period, trusted Entra issuer, and the exact Ticketing API audience;
- the approved integration identity (
azporappid) and the required application permission for the route; - the enabled integration record, ServiceNow instance, customer mapping, and allowed operation; and
- request contract, replay and idempotency controls, rate limits, and correlation requirements for 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 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 and 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 own UAMIs and is independent of the integration permission.
Credential choice for non-Azure integrations
When the provider cannot present an OIDC token, the integration uses an integration-specific credential exception. The exception records:
- the accountable owner and the integration it serves;
- the credential type the provider supports, preferring a certificate over a client secret;
- custody and secure storage location;
- rotation interval, expiry monitoring, and alert recipients; and
- emergency revocation procedure.
The credential is used only by that integration, is never shared with another integration or ION workload, and is never placed in ION documentation. See Lifecycle and operations.
Onboarding
Before enabling an instance:
- Name the customer, ServiceNow instance, ION environment, business owner, technical owner, and support contacts.
- Provision or approve the dedicated integration identity and set the Ticketing API as its only required ION audience.
- Choose federation if ServiceNow can present an OIDC token; otherwise record the integration-specific credential exception with owner, custody, expiry, rotation, and emergency revocation.
- 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 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;
- the Entra tenant that owns the integration identity and its accountable owners;
- whether federation is possible and, if not, the credential type, storage, 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;
- source network restrictions, APIM exposure, TLS requirements, and any private-connectivity requirement;
- audit fields, correlation model, data classification, retention, and alert thresholds;
- outbound ION-to-ServiceNow callbacks, if any, as a separately authenticated and owned integration direction; and
- test, incident-response, ownership-transfer, and offboarding procedures.
No interactive SSO, 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 remove the federated credential or revoke the integration credential. Remove the instance-to-customer mapping after in-flight work is reconciled. Delete the integration identity only after confirming it has no other approved purpose.
Emergency response may block the caller application or route immediately. Token validity and caches are considered when verifying revocation. Downstream ION UAMIs are revoked separately only if their own trust boundary is affected.
Audit and failure behavior
Log the integration identity, 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 needed for security and operational audit.
Invalid or expired tokens return 401. Valid callers lacking the required
operation or mapping receive 403. Duplicate requests follow the defined
idempotency behavior. Dependency failures use bounded retries or a controlled
asynchronous recovery path and never weaken authentication or switch to a broader
identity.