<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ServiceNow | Applied AI Consulting</title><link>https://appliedaiconsulting.com/tags/servicenow/</link><atom:link href="https://appliedaiconsulting.com/tags/servicenow/index.xml" rel="self" type="application/rss+xml"/><description>ServiceNow</description><generator>HugoBlox Kit (https://hugoblox.com)</generator><language>en</language><lastBuildDate>Tue, 21 Jul 2026 22:45:00 +0530</lastBuildDate><image><url>https://appliedaiconsulting.com/media/sharing.svg</url><title>ServiceNow</title><link>https://appliedaiconsulting.com/tags/servicenow/</link></image><item><title>Multi-Tenant M365 Service Desk Automation with LangSmith Fleets</title><link>https://appliedaiconsulting.com/case-studies-web/multi-tenant-m365-service-desk-automation-langsmith-fleet/</link><pubDate>Tue, 21 Jul 2026 22:45:00 +0530</pubDate><guid>https://appliedaiconsulting.com/case-studies-web/multi-tenant-m365-service-desk-automation-langsmith-fleet/</guid><description>&lt;h2 id="multi-tenant-m365-service-desk-automation-with-langsmith-fleets"&gt;Multi-Tenant M365 Service Desk Automation with LangSmith Fleets&lt;/h2&gt;
&lt;p&gt;A managed service provider operates Microsoft 365 environments for multiple customer organizations. Routine administrative requests arrive through ServiceNow, but each ticket still requires careful human interpretation: identify the customer, resolve the correct Microsoft tenant, connect with the right permissions, perform the change, verify the end state, update the ticket, and alert the right person if something fails.&lt;/p&gt;
&lt;p&gt;This is repetitive work, but it is not low-risk work. A wrong tenant, wrong user, unapproved request, exposed credential, or premature ticket closure can create security and compliance impact for both the MSP and its customer.&lt;/p&gt;
&lt;p&gt;AAIC designed an agentic service desk workflow using LangSmith Fleets to make these routine Microsoft 365 operations faster while keeping the safety controls explicit, auditable, and fail-closed.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s discuss your service desk automation use case&lt;/p&gt;
&lt;p&gt;&lt;a href="https://appliedaiconsulting.com/get-in-touch/"&gt;Talk to an Agentic AI Expert&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="business-problem"&gt;Business Problem&lt;/h2&gt;
&lt;p&gt;The service desk team needed a standardized way to automate eligible Microsoft 365 administrative work without turning ticket text into unchecked executable instructions.&lt;/p&gt;
&lt;p&gt;The target workflow had to handle multiple customer tenants and still make conservative decisions at every step. It needed to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Process ServiceNow Incidents and Requested Items assigned to a designated operational user.&lt;/li&gt;
&lt;li&gt;Confirm formal ServiceNow approval for Requested Items before planning any action.&lt;/li&gt;
&lt;li&gt;Resolve the customer and Microsoft tenant from the ServiceNow CMDB instead of ticket text or hardcoded mappings.&lt;/li&gt;
&lt;li&gt;Extract one supported operation, one target object, and all required parameters.&lt;/li&gt;
&lt;li&gt;Ask for explicit human approval of the exact planned action before execution.&lt;/li&gt;
&lt;li&gt;Execute through Microsoft Graph only after confirming the connected tenant matches the CMDB tenant.&lt;/li&gt;
&lt;li&gt;Verify the actual Microsoft 365 end state before resolving the ticket.&lt;/li&gt;
&lt;li&gt;Leave a no-op work note and alert a human when the request is ambiguous, unsupported, or unsafe.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="intended-operation-scope"&gt;Intended Operation Scope&lt;/h2&gt;
&lt;p&gt;The first automation scope covers eight single-user Microsoft 365 operations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create a user.&lt;/li&gt;
&lt;li&gt;Assign a user to a group.&lt;/li&gt;
&lt;li&gt;Assign a license.&lt;/li&gt;
&lt;li&gt;Remove a license.&lt;/li&gt;
&lt;li&gt;Disable a user or block sign-in.&lt;/li&gt;
&lt;li&gt;Enable a user.&lt;/li&gt;
&lt;li&gt;Reset a password.&lt;/li&gt;
&lt;li&gt;Grant an administrative role or privilege.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Some actions are treated as elevated risk depending on context. Disabling a user, granting administrative access, assigning a role-assignable group, removing a license that can deprovision a mailbox, and resetting a privileged account require stronger handling and unmistakable ticket notes.&lt;/p&gt;
&lt;p&gt;Each operation must pass implementation, permission, verification, and test gates before it is enabled.&lt;/p&gt;
&lt;h2 id="agentic-solution"&gt;Agentic Solution&lt;/h2&gt;
&lt;p&gt;The LangSmith Fleet is structured around a supervisor agent that owns orchestration and safety gates, with a synchronous execution subagent dedicated to Microsoft operations.&lt;/p&gt;
&lt;p&gt;The workflow is intentionally narrow:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Find open ServiceNow Incidents and Requested Items assigned to the designated operational user.&lt;/li&gt;
&lt;li&gt;Decide whether the ticket describes exactly one supported Microsoft 365 operation on one target object.&lt;/li&gt;
&lt;li&gt;Confirm ServiceNow approval for Requested Items.&lt;/li&gt;
&lt;li&gt;Resolve the customer and authoritative Microsoft tenant through the CMDB.&lt;/li&gt;
&lt;li&gt;Extract the exact operation, target, and required parameters.&lt;/li&gt;
&lt;li&gt;Add an internal ServiceNow work note describing the planned action and flagging high-risk actions.&lt;/li&gt;
&lt;li&gt;Wait for a designated approver to explicitly approve that specific planned action.&lt;/li&gt;
&lt;li&gt;Authenticate against the CMDB-resolved tenant and confirm the connected tenant matches it.&lt;/li&gt;
&lt;li&gt;Execute exactly one controlled Microsoft Graph operation.&lt;/li&gt;
&lt;li&gt;Re-query Microsoft Graph and verify that the actual end state matches the intended end state.&lt;/li&gt;
&lt;li&gt;On verified success, add a resolution work note and resolve the ticket.&lt;/li&gt;
&lt;li&gt;On failure, leave the ticket open, add a failure work note without secrets, and notify the designated operational user in Microsoft Teams.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The operational user can have different ServiceNow and Teams identities, so the solution maps ticket assignment and failure notification separately. The operational user is also not treated as the action approver unless that approval authority is explicitly assigned.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="LangSmith Fleet workflow for Microsoft 365 service desk automation"
srcset="https://appliedaiconsulting.com/case-studies-web/multi-tenant-m365-service-desk-automation-langsmith-fleet/m365-service-desk-fleet-workflow_hu_faefa1b39a7042c1.webp 320w, https://appliedaiconsulting.com/case-studies-web/multi-tenant-m365-service-desk-automation-langsmith-fleet/m365-service-desk-fleet-workflow_hu_422cc41931a8ba80.webp 480w, https://appliedaiconsulting.com/case-studies-web/multi-tenant-m365-service-desk-automation-langsmith-fleet/m365-service-desk-fleet-workflow_hu_a5ef9a8743757f9c.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://appliedaiconsulting.com/case-studies-web/multi-tenant-m365-service-desk-automation-langsmith-fleet/m365-service-desk-fleet-workflow_hu_faefa1b39a7042c1.webp"
width="760"
height="428"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;h2 id="core-safety-rule"&gt;Core Safety Rule&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;One ticket -&amp;gt; one customer -&amp;gt; one tenant -&amp;gt; one target object -&amp;gt; one operation&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Bulk execution, hardcoded tenants, arbitrary commands generated from ticket text, and guessed parameters are prohibited. Ticket text can describe the requested outcome, but it is not trusted as the source of tenant identity, authorization, or executable instructions.&lt;/p&gt;
&lt;p&gt;When any safety gate fails, the agent does nothing to Microsoft 365. It writes an auditable ServiceNow work note explaining why it stopped and alerts the designated operational user when required.&lt;/p&gt;
&lt;h2 id="solution-design"&gt;Solution Design&lt;/h2&gt;
&lt;p&gt;The design uses:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;One LangSmith Fleet supervisor for ticket orchestration and safety gates.&lt;/li&gt;
&lt;li&gt;One synchronous execution subagent for Microsoft operations.&lt;/li&gt;
&lt;li&gt;A ServiceNow ticket-control skill.&lt;/li&gt;
&lt;li&gt;A controlled Microsoft Graph execution skill.&lt;/li&gt;
&lt;li&gt;A custom Python-based Linux snapshot for the per-thread computer.&lt;/li&gt;
&lt;li&gt;OAuth-authenticated remote ServiceNow MCP integration.&lt;/li&gt;
&lt;li&gt;Workspace-managed credentials and a restricted access profile.&lt;/li&gt;
&lt;li&gt;Microsoft Graph for controlled execution and independent end-state verification.&lt;/li&gt;
&lt;li&gt;A planned native Fleet Teams integration for failure alerts.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;ServiceNow and the CMDB are authoritative for tickets, approvals, customer identity, and tenant mapping. Microsoft Graph is authoritative for the Microsoft starting state and ending state. The execution subagent runs on the same thread computer and creates a responsibility boundary for controlled operations.&lt;/p&gt;
&lt;h2 id="before-and-after-scorecard"&gt;Before and After Scorecard&lt;/h2&gt;
&lt;p&gt;The following scorecard defines the operating targets for the rollout and should be replaced with measured production values after the first deployment cycle.&lt;/p&gt;
&lt;div class="aaic-impact-grid"&gt;
&lt;article class="aaic-impact-card"&gt;
&lt;h3&gt;Ticket handling time&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Before:&lt;/strong&gt; 6-8 minutes of repetitive engineer work per routine Microsoft 365 ticket.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;After target:&lt;/strong&gt; 1-2 minutes of engineer review for eligible tickets after the agent prepares, executes, verifies, and documents the controlled action.&lt;/p&gt;
&lt;/article&gt;
&lt;article class="aaic-impact-card"&gt;
&lt;h3&gt;Safety coverage&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Before:&lt;/strong&gt; Safety depended on individual engineer discipline across tenant lookup, approval checks, execution, and documentation.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;After target:&lt;/strong&gt; 100% of eligible write actions pass approval, CMDB tenant match, planned-action approval, and Microsoft Graph end-state verification gates.&lt;/p&gt;
&lt;/article&gt;
&lt;article class="aaic-impact-card"&gt;
&lt;h3&gt;Audit readiness&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Before:&lt;/strong&gt; Ticket notes could vary by engineer and by request type.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;After target:&lt;/strong&gt; Every supported action creates planned-action, verification, success, or failure notes in ServiceNow without exposing secrets.&lt;/p&gt;
&lt;/article&gt;
&lt;/div&gt;
&lt;h2 id="what-langsmith-fleets-standardized"&gt;What LangSmith Fleets Standardized&lt;/h2&gt;
&lt;p&gt;LangSmith Fleets provides the repeatable operating model for this agentic workflow:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Daily scheduled execution without a separate scheduler service.&lt;/li&gt;
&lt;li&gt;Versioned prompts, skills, contracts, and runtime snapshots.&lt;/li&gt;
&lt;li&gt;A per-thread computer for controlled execution.&lt;/li&gt;
&lt;li&gt;Clear supervisor and execution-subagent responsibilities.&lt;/li&gt;
&lt;li&gt;Remote MCP integration for ServiceNow.&lt;/li&gt;
&lt;li&gt;Workspace-managed secrets and restricted access profiles.&lt;/li&gt;
&lt;li&gt;Reusable approval, verification, failure, and audit patterns.&lt;/li&gt;
&lt;li&gt;Fail-closed validation before Microsoft operations are enabled.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="impact"&gt;Impact&lt;/h2&gt;
&lt;p&gt;The design helps the MSP move routine Microsoft 365 administration from manual execution to controlled agent-assisted operations.&lt;/p&gt;
&lt;p&gt;The value is not just faster ticket handling. The bigger operational gain is consistency: every eligible ticket follows the same tenant-resolution path, approval gate, execution boundary, verification step, ticket note format, and failure escalation behavior.&lt;/p&gt;
&lt;p&gt;For MSPs managing multiple Microsoft 365 tenants, that consistency matters. It reduces avoidable risk while freeing engineers from repetitive administrative work that still needs strong governance.&lt;/p&gt;
&lt;h2 id="build-a-similar-agentic-workflow"&gt;Build a Similar Agentic Workflow&lt;/h2&gt;
&lt;p&gt;If your service desk runs high-volume operational tickets across ServiceNow, Microsoft 365, Azure, AWS, security tools, or internal systems, AAIC can help design the right agent boundary, approval model, integration pattern, and measurable rollout plan.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://appliedaiconsulting.com/get-in-touch/"&gt;Discuss your agentic service desk workflow&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="related-services"&gt;Related services&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://appliedaiconsulting.com/ai-ml-services/"&gt;AI &amp;amp; ML Services&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://appliedaiconsulting.com/services/ai-operations/"&gt;AI Operations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://appliedaiconsulting.com/product-engineering-development/"&gt;Product Engineering &amp;amp; Development&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://appliedaiconsulting.com/quality-automation-testing/"&gt;Quality Automation &amp;amp; Testing&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>