Azure Active Directory + ServiceNow

Connect Azure Active Directory with ServiceNow to Automate Identity and IT Service Management

Sync user identities, automate provisioning workflows, and cut out manual ticket creation between Azure AD and ServiceNow.

Why integrate Azure Active Directory and ServiceNow?

Azure Active Directory and ServiceNow are two of the most important platforms in any enterprise IT stack — one handles identity and access, the other manages IT services and workflows. When they run in silos, IT teams burn hours manually creating tickets, provisioning users, and reconciling account data. Connecting Azure AD with ServiceNow through tray.ai gives you real-time identity sync, automated ITSM workflows, and faster incident response across the full employee lifecycle.

Automate & integrate Azure Active Directory & ServiceNow

Use case

Automated User Onboarding and Provisioning

When a new user is created in Azure Active Directory — manually or synced from an HR system — tray.ai automatically triggers a ServiceNow onboarding request that routes to the right IT and facilities teams. All provisioning tasks, asset assignments, and software access approvals are created as structured workflow items in ServiceNow with no manual intervention.

Use case

Automated Offboarding and Account Deprovisioning

When an employee is disabled or deleted in Azure Active Directory, tray.ai immediately creates a ServiceNow offboarding ticket and kicks off downstream deprovisioning — license revocation, group membership cleanup, and asset return requests. No access lingers past an employee's last day, and every action is logged in ServiceNow for audit purposes.

Use case

IT Incident Creation from Azure AD Security Alerts

When Azure Active Directory raises a security alert — a sign-in risk event, suspicious activity, or MFA failure threshold — tray.ai automatically creates a high-priority incident in ServiceNow and routes it to the security operations team. The incident arrives pre-populated with user details, risk level, and event context pulled directly from Azure AD.

Use case

Group Membership Change Auditing and Ticket Logging

Any time a user is added to or removed from a security or distribution group in Azure Active Directory, tray.ai automatically logs a change record in ServiceNow. This gives you a full audit trail of access changes inside the ITSM system and can trigger approval workflows for sensitive groups.

Use case

Password Reset and Self-Service Request Synchronization

When a user submits a password reset request via the ServiceNow service portal, tray.ai triggers the appropriate Azure Active Directory password reset or unlock operation automatically. Status updates are written back to the ServiceNow ticket in real time, so users and IT staff both know what's happening without leaving either platform.

Use case

Role-Based Access Request Fulfillment

When a user submits an access request through the ServiceNow catalog, tray.ai evaluates it against Azure AD policies and, once approved, automatically provisions the correct group memberships, roles, or conditional access assignments. The ServiceNow ticket gets updated with fulfillment confirmation and audit details.

Use case

License Optimization and Unused Account Reporting

tray.ai periodically queries Azure Active Directory for inactive or disabled accounts and cross-references them with open ServiceNow assets or license assignments. Automated cleanup tickets are created in ServiceNow, so IT teams can reclaim unused licenses and cut SaaS spend without running manual audits.

Get started with Azure Active Directory & ServiceNow integration today

Azure Active Directory & ServiceNow Challenges

What challenges are there when working with Azure Active Directory & ServiceNow and how will using Tray.ai help?

Challenge

Keeping User Data Consistent Across Both Platforms

Azure Active Directory and ServiceNow store overlapping user attributes — display names, departments, job titles, manager relationships — but there's no native real-time sync between them. When an HR system updates Azure AD, ServiceNow records can go stale fast, causing tickets to route incorrectly and reports to reflect outdated data.

How Tray.ai Can Help:

tray.ai detects attribute changes in Azure Active Directory in real time and immediately pushes updates to the corresponding ServiceNow user record, keeping both platforms in sync without custom scripting or manual reconciliation. Field mapping is fully configurable to match your organization's schema.

Challenge

Handling Complex Approval Chains Before Provisioning

Enterprise access requests often need sign-off from managers, security teams, and application owners before any Azure AD changes can be made. Coordinating those approvals across email and ServiceNow while triggering timely Azure AD actions is slow and error-prone when done by hand.

How Tray.ai Can Help:

tray.ai orchestrates the entire approval lifecycle within ServiceNow — collecting approvals at each stage, applying conditional logic based on access sensitivity, and only executing the Azure AD provisioning action once all required approvals are captured and logged.

Challenge

Mapping Azure AD Attributes to ServiceNow Ticket Fields

Azure Active Directory and ServiceNow use different data models, naming conventions, and field structures. Transforming Azure AD user objects, group memberships, and security events into properly formatted ServiceNow records takes careful field mapping that gets harder to maintain every time either system changes.

How Tray.ai Can Help:

tray.ai's visual data mapper lets teams define and maintain field-level transformations between Azure AD and ServiceNow without writing code. Conditional logic can be applied at the field level to handle edge cases like null values, department name mismatches, or custom attributes.

Challenge

Managing High-Volume Identity Events Without Overloading ServiceNow

In large enterprises, Azure Active Directory can generate thousands of group membership changes, sign-in events, and user updates per day. Pushing every event into ServiceNow as its own ticket would bury actionable items in noise and overwhelm ITSM queues.

How Tray.ai Can Help:

tray.ai has built-in filtering, deduplication, and batching logic so only meaningful Azure AD events trigger ServiceNow actions. Thresholds, event type filters, and aggregation windows are all configurable, so ServiceNow only receives high-signal, actionable items.

Challenge

Maintaining Audit Compliance Across Identity and ITSM Systems

Compliance frameworks like SOC 2, ISO 27001, and HIPAA require proof that every access change has a corresponding approval and ticket trail. Without integration, reconciling Azure AD audit logs with ServiceNow change records is a slow manual process — and gaps tend to show up at the worst possible moment, like during an audit.

How Tray.ai Can Help:

tray.ai ensures every identity operation in Azure Active Directory is preceded and followed by a corresponding ServiceNow record, creating an unbroken audit chain. Workflow run logs within tray.ai add another layer of documentation that can be exported for compliance reviews.

Start using our pre-built Azure Active Directory & ServiceNow templates today

Start from scratch or use one of our pre-built Azure Active Directory & ServiceNow templates to quickly solve your most common use cases.

Azure Active Directory & ServiceNow Templates

Find pre-built Azure Active Directory & ServiceNow solutions for common use cases

Browse all templates

Template

New Azure AD User → ServiceNow Onboarding Request

Automatically creates a structured ServiceNow onboarding request whenever a new user account is provisioned in Azure Active Directory, populating all relevant user attributes and routing the ticket to the correct IT queue.

Steps:

  • Trigger: New user created or enabled in Azure Active Directory
  • Enrich: Fetch full user profile, department, manager, and location from Azure AD
  • Action: Create a ServiceNow onboarding request with all user attributes pre-populated and assign to the appropriate IT team queue

Connectors Used: Azure Active Directory, ServiceNow

Template

Azure AD User Disabled → ServiceNow Offboarding Workflow

When an account is disabled in Azure Active Directory, this template instantly creates a ServiceNow offboarding ticket, triggers group membership removal, and kicks off asset recovery and license revocation sub-tasks.

Steps:

  • Trigger: User account disabled or deleted in Azure Active Directory
  • Action: Create a ServiceNow offboarding parent ticket with structured sub-tasks for hardware return, license revocation, and group cleanup
  • Action: Remove user from all Azure AD groups and update the ServiceNow ticket with completion status for each step

Connectors Used: Azure Active Directory, ServiceNow

Template

ServiceNow Access Request → Azure AD Group Provisioning

When a user submits an access request in the ServiceNow service catalog and it gets manager approval, tray.ai automatically adds the user to the specified Azure AD group or role and updates the ticket with fulfillment details.

Steps:

  • Trigger: ServiceNow catalog access request reaches approved status
  • Action: Add the requesting user to the specified Azure Active Directory group or assign the requested role
  • Action: Update the ServiceNow request ticket with fulfillment confirmation, timestamp, and Azure AD object ID for audit purposes

Connectors Used: ServiceNow, Azure Active Directory

Template

Azure AD Security Alert → ServiceNow High-Priority Incident

Monitors Azure Active Directory for risk detections and security alerts, then automatically creates a high-priority ServiceNow incident pre-populated with user risk details, alert type, and recommended remediation steps.

Steps:

  • Trigger: Azure AD Identity Protection raises a risk detection or security alert
  • Enrich: Fetch user risk level, sign-in details, and alert metadata from Azure AD
  • Action: Create a P1 or P2 ServiceNow security incident with all enriched context and assign to the security operations team

Connectors Used: Azure Active Directory, ServiceNow

Template

ServiceNow Password Reset Request → Azure AD Self-Service Reset

Bridges the ServiceNow service portal with Azure Active Directory password operations, automatically executing resets or account unlocks when a verified request comes in and writing status back to the ticket.

Steps:

  • Trigger: Password reset or account unlock request created in ServiceNow service portal
  • Action: Execute the corresponding password reset or unlock operation via the Azure Active Directory API
  • Action: Write the operation result and timestamp back to the ServiceNow ticket and notify the user via email

Connectors Used: ServiceNow, Azure Active Directory

Template

Scheduled Azure AD Inactive Account Audit → ServiceNow Cleanup Tickets

Runs on a defined schedule to query Azure Active Directory for accounts inactive beyond a set threshold, then creates ServiceNow tickets for IT review and potential deprovisioning to control licensing costs and reduce security exposure.

Steps:

  • Trigger: Scheduled tray.ai workflow runs on a weekly or monthly cadence
  • Query: Retrieve all Azure AD accounts with sign-in activity older than the defined threshold
  • Action: Create batched ServiceNow review tickets for each flagged account, grouped by department, for IT team action

Connectors Used: Azure Active Directory, ServiceNow