Troubleshooting ServiceNow Software Asset Management Microsoft Entra ID integration: Complete Troubleshooting GUIDE; connected applications, assignments, last sign-in or reclaim not workingSummary :root { color-scheme: light; --blue:#005baa; --ink:#172033; --muted:#5b6678; --line:#d6dee8; --surface:#fff; --page:#f3f6fa; --red:#b42318; --amber:#9a6700; --green:#087443; } * { box-sizing:border-box; } html { scroll-behavior:smooth; } body { margin:0; padding:24px; background:var(--page); color:var(--ink); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; line-height:1.55; } .kb-page { max-width:920px; margin:0 auto; } .kb-hero { background:var(--blue); color:#fff; padding:28px 32px; border-radius:10px; margin-bottom:24px; } .kb-eyebrow { margin:0 0 6px; font-size:11px; letter-spacing:1px; opacity:.78; text-transform:uppercase; } .kb-hero h1 { margin:0 0 7px; font-size:clamp(22px,4vw,30px); line-height:1.15; } .kb-lede { margin:0; font-size:14px; opacity:.9; } .kb-badges { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; } .kb-badge { padding:3px 11px; border-radius:12px; background:rgba(255,255,255,.18); font-size:12px; } .kb-toc,.kb-panel { background:var(--surface); border:1px solid var(--line); border-radius:8px; } .kb-toc { padding:18px 24px; margin-bottom:24px; } .kb-toc-title { margin:0 0 8px; color:#374151; font-size:13px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; } .kb-toc ol { margin:0; padding-left:22px; line-height:2; } .kb-toc a { color:var(--blue); text-decoration:none; } .kb-section { margin-bottom:28px; scroll-margin-top:16px; } .kb-section-title { margin:0; padding:12px 20px; border-radius:8px 8px 0 0; background:var(--blue); color:#fff; font-size:16px; } .kb-panel { padding:20px 22px; border-top:0; border-radius:0 0 8px 8px; } .kb-panel p:first-child { margin-top:0; } .kb-panel p:last-child { margin-bottom:0; } .kb-callout { margin:0 0 18px; padding:13px 16px; border-left:5px solid var(--blue); border-radius:0 7px 7px 0; background:#eef5fc; } .kb-callout.critical { border-color:var(--red); background:#fff1f0; color:#7a271a; } .kb-callout.warning { border-color:var(--amber); background:#fff8e7; color:#6b4d00; } .kb-callout.success { border-color:var(--green); background:#ecfdf3; color:#05603a; } .kb-table-wrap { overflow-x:auto; margin:16px 0; } table { width:100%; border-collapse:collapse; font-size:13px; } th { padding:9px 12px; background:#31506d; color:#fff; text-align:left; } td { padding:9px 12px; border-bottom:1px solid #e5e7eb; vertical-align:top; } tr:nth-child(even) td { background:#f8fafc; } code { padding:1px 4px; border-radius:3px; background:#f1f3f5; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.92em; overflow-wrap:anywhere; } pre { overflow:auto; padding:14px; border-radius:6px; background:#111827; color:#f9fafb; } details { margin:0 0 12px; border:1px solid #bfdbfe; border-radius:6px; overflow:hidden; } summary { cursor:pointer; padding:12px 16px; background:#eff6ff; color:#1e3a5f; font-weight:700; } details > div { padding:16px; background:#fff; } .kb-footer { padding:16px 20px; color:var(--muted); font-size:12px; background:#f8fafc; border:1px solid var(--line); border-radius:8px; } @media (max-width:640px) { body { padding:12px; } .kb-hero { padding:22px 20px; } .kb-panel { padding:16px; } .kb-section-title { padding:11px 16px; } th,td { min-width:140px; } } .kb-hero { padding:24px 28px; } .kb-toc ol { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 26px;line-height:1.7; } .kb-toc li { padding:3px 0; } h3 { color:#183653;line-height:1.3; } a { color:#005baa;overflow-wrap:anywhere; } th,td { overflow-wrap:anywhere; } pre code { padding:0;background:transparent;color:inherit;overflow-wrap:normal; } code.kb-err { color:#c62828;font-weight:700;background:#fdecea; } .kb-err-list { display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;font-weight:400; } .kb-err-chip { display:inline-block;max-width:100%;padding:2px 8px;border-radius:4px;background:#fdecea;border:1px solid #f5c2c0;color:#c62828; font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:700;line-height:1.45;overflow-wrap:anywhere; } .kb-sum-title { font-weight:700; } .branch-index { margin:18px 0 20px;padding:14px 18px;background:#f8fafc;border:1px solid var(--line);border-radius:8px; } .branch-index ol { list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 28px; } .branch-index li { font-size:14px;line-height:1.45;padding:4px 0; } .kb-section-title + .kb-panel { margin-top:0; } details > div p { margin:0 0 14px; } details > div p:last-child { margin-bottom:0; } @media(max-width:640px) { .kb-toc ol,.branch-index ol { grid-template-columns:1fr; } .kb-hero {padding:20px;} } @media print { body {padding:0;background:#fff;} .kb-toc,.branch-index {display:none;} } .flow { margin:4px 0 26px;padding:18px;border-radius:12px;background:linear-gradient(135deg,#f8fafc,#eef2ff);border:1px solid var(--line); } .flow-intro { display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:13px;color:#475569;margin-bottom:14px; } .flow-legend { display:flex;flex-wrap:wrap;gap:6px; } .flow-key { padding:2px 9px;border-radius:10px;background:var(--b);color:var(--c);font-weight:700;font-size:11px;border:1px solid var(--c); } .flow-lane { margin-top:14px; } .flow-lane-head { display:flex;align-items:center;gap:10px;margin-bottom:8px;color:#0f172a; } .flow-lane-head span { font-size:11px;padding:2px 8px;border-radius:10px;background:#0f172a;color:#fff;text-transform:uppercase;letter-spacing:.05em; } .flow-track { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 30px; } .flow-node { position:relative;display:flex;flex-direction:column;gap:3px;padding:12px 10px 10px 12px;border-radius:10px; background:var(--b);border:2px solid var(--c);color:#1e293b;text-decoration:none;box-shadow:0 1px 2px rgba(15,23,42,.06); transition:transform .2s ease,box-shadow .2s ease;animation:flowPulse 4.4s ease-in-out infinite;animation-delay:var(--d); } .flow-node::after { content:"";position:absolute;top:50%;right:-27px;width:22px;height:4px;margin-top:-2px;border-radius:2px; background:repeating-linear-gradient(90deg,var(--c) 0 6px,transparent 6px 10px);background-size:20px 4px;animation:flowDash .8s linear infinite;opacity:.7; } .flow-node:nth-child(4n)::after,.flow-node:last-child::after { display:none; } .flow-node:hover,.flow-node:focus { transform:translateY(-3px);box-shadow:0 8px 20px rgba(15,23,42,.18);outline:none;z-index:5; } .flow-node:focus-visible { outline:3px solid var(--c);outline-offset:2px; } .flow-num { position:absolute;top:-9px;left:-9px;width:22px;height:22px;border-radius:50%;background:var(--c);color:#fff;font-size:12px;font-weight:700; display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px #fff; } .flow-title { font-weight:700;color:var(--c);font-size:13.5px;line-height:1.25; } .flow-what { font-size:12px;line-height:1.35;color:#334155;overflow-wrap:anywhere; } .flow-tip { position:absolute;left:50%;top:calc(100% + 8px);transform:translateX(-50%) translateY(-4px);width:210px;padding:10px 12px;border-radius:8px; background:#0f172a;color:#f8fafc;font-size:12px;line-height:1.4;opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease;z-index:10; } .flow-tip::before { content:"";position:absolute;top:-6px;left:50%;margin-left:-6px;border:6px solid transparent;border-top:0;border-bottom-color:#0f172a; } .flow-tip em { display:block;margin-top:6px;font-style:normal;color:#93c5fd;font-weight:700; } .flow-node:hover .flow-tip,.flow-node:focus .flow-tip { opacity:1;transform:translateX(-50%) translateY(0); } .tri { margin:14px 0 20px;padding:16px;border-radius:12px;background:#0f172a;color:#e2e8f0; } .tri-head { font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#93c5fd;font-weight:700;margin-bottom:12px; } .tri-row { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 26px; } .tri-step { position:relative;display:flex;flex-direction:column;gap:4px;padding:12px;border-radius:10px;background:#1e293b;border:1px solid #334155; animation:triGlow 4.2s ease-in-out infinite;animation-delay:var(--d); } .tri-step::after { content:"";position:absolute;top:50%;right:-22px;width:16px;height:3px;background:repeating-linear-gradient(90deg,#60a5fa 0 5px,transparent 5px 8px); background-size:16px 3px;animation:flowDash .7s linear infinite; } .tri-step:last-child::after { display:none; } .tri-step strong { color:#f8fafc;font-size:14px; } .tri-where { font-size:12px;color:#93c5fd; } .tri-tells { font-size:12px;color:#cbd5e1;line-height:1.35; } .tri-num { position:absolute;top:-9px;left:-9px;width:22px;height:22px;border-radius:50%;background:#2563eb;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center; } @keyframes triGlow { 0%,100% { border-color:#334155;box-shadow:none; } 10% { border-color:#60a5fa;box-shadow:0 0 0 3px rgba(96,165,250,.35); } 22% { border-color:#334155;box-shadow:none; } } .tri-row.tri-5 { grid-template-columns:repeat(5,minmax(0,1fr)); } @media (max-width:820px) { .tri-row,.tri-row.tri-5 { grid-template-columns:repeat(2,minmax(0,1fr)); } .tri-step:nth-child(2n)::after { display:none; } } @media (max-width:520px) { .tri-row { grid-template-columns:1fr; } .tri-step::after { display:none; } } @media (prefers-reduced-motion: reduce) { .tri-step,.tri-step::after { animation:none; } } @keyframes flowPulse { 0%,100% { box-shadow:0 1px 2px rgba(15,23,42,.06); } 8% { box-shadow:0 0 0 4px var(--b),0 0 0 6px var(--c),0 6px 18px rgba(15,23,42,.2); } 18% { box-shadow:0 1px 2px rgba(15,23,42,.06); } } @keyframes flowDash { to { background-position:20px 20px; } } @media (prefers-reduced-motion: reduce) { .flow-node,.flow-node::after { animation:none; } } @media (max-width:820px) { .flow-track { grid-template-columns:repeat(2,minmax(0,1fr)); } .flow-node:nth-child(4n)::after { display:block; } .flow-node:nth-child(2n)::after { display:none; } } @media (max-width:520px) { .flow-track { grid-template-columns:1fr;gap:24px; } .flow-node::after,.flow-node:nth-child(4n)::after,.flow-node:nth-child(2n)::after { display:block;top:auto;bottom:-22px;right:auto;left:50%;width:4px;height:18px;margin:0 0 0 -2px; background:repeating-linear-gradient(180deg,var(--c) 0 6px,transparent 6px 10px);background-size:4px 20px; } .flow-node:last-child::after { display:none; } .flow-tip { position:static;transform:none;width:auto;margin-top:6px;display:none;opacity:1; } .flow-node:focus .flow-tip,.flow-node:hover .flow-tip { display:block;transform:none; } } @media print { .flow-node,.flow-node::after { animation:none; } .flow-tip { display:none; } } Software Asset Management - Knowledge Article Troubleshooting ServiceNow SAM Microsoft Entra ID integration: connected applications, assignments, last sign-in or reclaim not working Find the failing stage, correct its cause, and verify complete recovery. Contents Scope and applicabilityImplementation checklistSymptoms and expected behaviorExecution path and evidence correlationDetailed troubleshooting branchesCause-specific correction and controlled recoveryVerification criteria and recovery evidenceEscalation evidence to collectReferences, processing rules and known limitationsServiceNow Otto / Now Assist troubleshooting 1. Scope and applicability This article covers the Microsoft Entra ID SSO integration profile (profile type microsoft_azure_ad, shown as Microsoft Entra ID Integration Profile). It uses the Microsoft Entra ID Spoke and a directory integration. It is not a licence-seat integration like the direct SaaS integrations: it shows who is assigned to, and who signs in to, the enterprise applications in your Entra tenant, so that software usage can be tracked for apps that have no direct integration. What it reads. Three kinds of data come from Microsoft Graph: Directory data (users, groups, group memberships), downloaded by the directory integration that the profile creates or reuses.Applications, downloaded by the profile's daily job SAM - SSO Entra ID download applications.Assignments and sign-ins for each connected application, read by the daily job SAM - SSO Entra ID update connected applications. What it creates. For each application you connect, the integration creates SSO subscriptions (one per application and user principal name), reclamation rules and reclamation candidates, and a usage summary for the application's software model. Who gets a subscription. Users and groups assigned to the application in Entra are read. Members of an assigned group (including members of nested groups) also get a subscription. Microsoft's documentation also says that when the application's Assignment required setting is No, subscriptions are created for all Entra users. The code you can inspect reads explicit assignments only, so verify the counts on your own tenant (branch H) rather than assuming either behavior. What last activity means. Last activity is the most recent successful sign-in (sign-in status error code 0) of the user to the application, read from the Entra sign-in logs. The look-back starts at the Analyze last activity from date on the application (default 30 days, at most 60 days). What reclaim does. Reclaim removes the user's direct assignment to the application (an app role assignment is revoked). It does not delete the Entra user and does not disable the account. If the user also has access through a group, reclaim cannot remove it: you remove the access in Entra and close the candidate by hand. Read branches O and P. It does not cover paid Microsoft 365 licences (see the Microsoft 365 article), Dynamics 365 or Power Apps (see their article), or the Okta SSO integration. Applies to: SAM Professional with the Software Asset Management - SaaS License Management (sn_sam_saas_int) Store application, the optional feature Microsoft Entra ID Spoke, and the directory integration plugin. Since SaaS License Management 7.0.0 and Microsoft Entra ID Spoke 3.1.0, each profile has its own Entra connection, so several independent profiles can exist. Keep the application and the spoke current and compare with the release documentation for your version. 2. Implementation checklist CheckWhere and what to inspectReady conditionApplication and spokeApplication Manager: SaaS License Management, the optional feature Microsoft Entra ID SpokeInstalled and currentRoles (ServiceNow)User creating the profilesam_integratorEntra app registrationAzure portal > Microsoft Entra ID > App registrationsApplication created with redirect URI https://<instance-name>.service-now.com/oauth_redirect.doIdentifiersApp registration overviewApplication (client) ID and Directory (tenant) ID recordedClient secretApp registration > Certificates & secretsThe secret value (not the secret ID) saved; expiry date notedGraph permissionsApp registration > API permissionsAuditLog.Read.All, User.Read.All, User.ReadWrite.All, GroupMember.Read.All, Application.Read.All; admin consent grantedProfileSoftware Asset Workspace > License operations > User subscriptions > SSO integration profiles > New > Microsoft Entra ID Integration Profile > ContinueDisplay name entered; other fields fill in on submitCheckboxesProfileDownload applications, users, and groups on (cannot be cleared); Download Activity on by default; Reclaim subscriptions on by default; Exclude disabled accounts off by defaultConnectionProfile > Connection & Credential > Create New Connection & CredentialPermission type, Auth URL, Token URL, Revoke token URL, client ID and secret, redirect URL (below)TokenCreate and Get OAuth Token, sign in with an Entra adminToken obtainedValidation and publishValidate Connection, then PublishSucceeds; jobs are created and the first application download startsJobsProfile > Scheduled JobsSAM - SSO Entra ID download applications and SAM - SSO Entra ID update connected applications; activeSoftware modelsSSO Applications listA software model on every application you want to connectConnected applicationsSSO Applications > ConnectStatus ConnectedEntitlementsSoftware models for the connected applicationsEntitlements created, then reconciliation run Connection and credential fields FieldValuePermission typeApplication Permissions (the app acts without a signed-in user) or Delegated Permissions (the app acts in place of the signed-in user)Auth URLhttps://login.microsoftonline.com/<directory-id>/oauth2/v2.0/authorizeToken URLhttps://login.microsoftonline.com/<directory-id>/oauth2/v2.0/tokenRevoke token URLhttps://login.microsoftonline.com/<directory-id>/oauth2/v2.0/revokeOAuth Client IDThe Application (client) IDOAuth Client SecretThe client secret valueOAuth Redirect URLhttps://<instance-name>.service-now.com/oauth_redirect.do (filled in automatically) <directory-id> is the Directory (tenant) ID. After saving, select Create and Get OAuth Token and sign in with an Entra administrator account. Entra roles and Graph permissions ProcessRole of the account that authorizesGraph permissionsDownload users, groups, group membershipsApplication developerUser.Read.All, GroupMember.Read.All, Application.Read.AllDownload applicationsApplication developerUser.Read.All, GroupMember.Read.All, Application.Read.AllConnect applications and update connected applications (assignments and sign-ins)Application developer, plus one of Global reader, Reports reader, Security administrator, Security operator or Security readerAuditLog.Read.All, User.Read.All, GroupMember.Read.All, Application.Read.AllReclaim subscriptionsUser administratorUser.ReadWrite.All Grant only what the processes you use need. The registration lists each permission as Delegated or Application; use the type that matches the permission type chosen on the connection. What happens when a setting is missing or wrong Setting, field or propertyIf it is missing or wrongTypical symptomMicrosoft Entra ID Spoke not selected at installThe profile type or its actions are missingCouldn't find an action it is trying to use. Make sure you are on the latest version of the SSO Plugin.Wrong Directory (tenant) ID in a URLSign-in goes to another tenantToken cannot be obtained, or validation failsRedirect URI differs between Entra and ServiceNowEntra refuses the redirectSign-in pop-up shows a redirect URI mismatchClient secret ID entered instead of the secret valueAuthentication refusedToken cannot be obtainedClient secret expired in EntraToken cannot be renewedJobs fail after the token lapsesAdmin consent not grantedGraph calls refusedValidation or jobs fail with a permission error from GraphAuditLog.Read.All or a reader role missingSign-ins cannot be readConnected applications fail or last activity stays blankUser.ReadWrite.All or User administrator missingAssignment cannot be revokedReclaim fails with the message returned by GraphDownload Activity cleared after publishLast activity is no longer pulled; the profile asks for revalidationValidate Connection button returnsReclaim subscriptions clearedCandidates are created but reclaim is never triggeredCandidates stay openApplication has no software modelThe application cannot be connectedSAMSSOAzureAdIntegration: Cannot find Software model for SSO application: <name>Enable group based software model on without a group mappingNo subscriptions follow the group mappingSubscriptions missing or on the wrong modelExclude disabled accounts onDisabled Entra accounts get no subscriptionCounts lower than Entra assignmentsSame application also has a direct integrationDuplicate subscriptionsUsers counted twiceNo matching directory userThe assignment is not turned into a subscriptionAssigned user missingEntitlements missingNothing to reconcile againstCompliance shows nothingDebug properties left onExtra loggingSlow instance after troubleshooting 3. Symptoms and expected behavior SymptomFirst branchHealthy evidence to seekEntra option, spoke or jobs missingAProfile type available, two jobs listedCannot create the connection or publishBStatus Published with its jobsValidate Connection failsCValidation succeedsApp registration, permissions or roles problemsDGraph calls succeedToken or secret expiredEFresh token, jobs completingWrong tenant or redirectFIntended tenant returns applicationsJob failedGCompleted row in the job logApplication or user counts differ from EntraHCounts match the assignments in EntraSeveral tenants or profilesIOne profile and connection per tenantSoftware model or entitlement problemsJA model on every connected applicationSubscription user empty or wrongKIntended sys_user linkedLast activity blank or staleLRecent successful sign-in for an active userUpdate connected applications slow or failingMJob completes in a normal timeNo or wrong reclamation candidatesNCandidates only for truly inactive usersReclaim failsOAssignment removed in EntraAfter reclaim: access remains, candidates stuckPCandidate closedThrottling, timeouts, large tenantsQNormal run durationProblems after clone, upgrade or repairRValidated profile, valid token A healthy run lists your Entra applications, lets you connect the ones with a software model, creates one subscription per assigned user (directly or through groups), stamps the last successful sign-in on each subscription, and creates a reclamation rule of 30 days for the application's product. 4. Execution path and evidence correlation Hover or tap a step to see what breaks there; click it to open the matching branch.SetupConnectionCollectionMatchingWriteDownstream Setup and applicationsdaily 1App registrationRedirect URI, 5 Graph permissions, admin consent, secret valueBreaks here: Missing consent; secret ID used; expired secretOpen branch D →2Tenant and tokenDirectory ID in 3 URLs; Create and Get OAuth TokenBreaks here: Wrong tenant; redirect mismatch; expired tokenOpen branch F →3Validate and publishApplications, users, groups, activity; not reclaimBreaks here: Validation fails; profile back in DraftOpen branch C →4Two daily jobsSAM - SSO Entra ID download / update connected applicationsBreaks here: Jobs missing; failed run; already runningOpen branch G →5Directory and applicationsUsers, groups and memberships; application listBreaks here: Counts differ; directory behindOpen branch H →6Software modelCatalog ID to product definition; model needed to connectBreaks here: Cannot find Software modelOpen branch J →7Connect an applicationAssignments to subscriptions, nested groups; per user principal nameBreaks here: Directory user missing; no userOpen branch K →8EntitlementsCreate for the generated modelsBreaks here: Compliance shows nothingOpen branch J → Activity and reclaimdaily after connect 1Sign-in logsSuccessful sign-ins since Analyze last activity from (30 to 60 days)Breaks here: Blank activity; permission; 504Open branch L →2Last activityLatest sign-in date per user and applicationBreaks here: Stale or blankOpen branch L →3Update job runtimeRepeats connect for every connected applicationBreaks here: Runs for hours on large tenantsOpen branch M →4Candidates30-day rule per productBreaks here: Wrong candidatesOpen branch N →5Revoke accessDirect assignment revoked (204); User administratorBreaks here: Group access cannot be removedOpen branch O →6Result in EntraUser remains; group access removed by handBreaks here: Access remains; candidate stuckOpen branch P →7After clone or upgradeNew token, redirect URI, update pluginBreaks here: Stale tokens, missing actionsOpen branch R → Application download and connect path Profile published → directory integration downloads users, groups and memberships → job SAM - SSO Entra ID download applications → all applications set inactive, then each application from the Graph application list is created or updated (display name, external ID, creation date, template ID as external catalog ID) → software model found or created from the catalog ID → applications that no longer return are deleted → you connect an application Connect → role records of the application set inactive → service principal of the application found → users and groups assigned to it read → each assignment matched to a directory user or group → assignment records created or updated → inactive records deleted → subscriptions built from direct users, then from groups (nested groups included) → last sign-in updated → reclamation rule (30 days), candidates and usage summary refreshed Daily thereafter: SAM - SSO Entra ID update connected applications repeats the connect work for every connected application that has an external ID Reclaim path Candidate approved → direct assignment? yes: revoke user application access (success is HTTP 204) → if the user is still in an assigned group, the subscription moves to the group and a message explains it; no (group-based): reclaim stops with a message asking you to remove access in Entra and close the candidate StageRecord or source to inspectBehaviorJobsProfile > Scheduled Jobs and Scheduled Job ResultsTwo daily jobs per profile (class SSO scheduled job)Job logsam_sso_job_logOne row per run with status in progress, completed or failed, duration and error messageDirectory jobsProfile > Directory Jobs and Directory Job ResultsDownload of users, groups and membershipsApplicationssamp_sso_applicationOne row per Entra application; status, software model, Analyze last activity fromAssignmentsm2m_sso_user_application, m2m_sso_group_applicationDirect user and group assignmentsDirectory datadirectory_user, directory_group, group membership tablesUsers and groups from EntraSubscriptionssamp_sso_subscriptionOne row per application and user principal nameConnectionConnection & Credential on the profileOne connection per profile Correlate one execution before deciding a cause Record the profile, the job, the start and end in UTC, and the application and spoke versions.Open the profile's Scheduled Job Results and the sam_sso_job_log row; read the error message, which keeps the failure text.For a failed connect, open the application record: its status is Failed and the message is The connection to the application failed. Check the System Logs or Flow Executions for more information and try again.Open Flow Designer > Operations > Executions for the spoke action that failed (the Entra spoke actions run as flows) and System Logs > All for the same window.For deeper tracing, set com.snc.process_flow.reporting.level to All and, if needed, glide.outbound_http_log.override to true with glide.outbound_http_log.override.level set to all; rerun once, then set them back. There are no Entra-specific debug properties. 5. Detailed troubleshooting branches Each branch lists the symptoms with the exact text the integration writes, where to look, each cause with its fix, and how to confirm recovery. Identifiers shown as <id>, <name> or <directory-id> are placeholders; keep the real values private. Start every investigation here 1Job resultProfile > Scheduled Job Results; sam_sso_job_logStatus and error message of the run 2Application statusSSO Applications > the applicationFailed connect message 3Flow and system logFlow Designer > Operations > Executions; System Logs > AllThe Graph error behind the message 4Pick a branchMatch the message belowpermission or consent → D, expired secret → E, no model → J, blank dates → L, group access → O/P Start every investigation the same way. (1) The profile's Scheduled Job Results and the sam_sso_job_log error message. (2) The application record status when a connect failed. (3) Flow Designer executions and System Logs > All for the Graph error text. Read the message, not only the status. A. Entra option, spoke or jobs are missingB. The connection cannot be created, or the profile cannot be publishedC. Validate Connection failsD. App registration, permissions or role problemsE. Token or client secret expiredF. Wrong tenant, redirect URI or sign-in problemG. A job failsH. Application or user counts differ from EntraI. Several Entra tenants or profilesJ. Software model or entitlement problemsK. Subscription user is empty or wrongL. Last activity is blank or staleM. Update connected applications is slow, stuck or failsN. No reclamation candidates, or wrong onesO. Reclaim failsP. After reclaim: access remains, candidates stuckQ. Throttling, timeouts, paging and large tenantsR. Problems after a clone, upgrade or repair A. Entra option, spoke or jobs are missingCouldn't find an action it is trying to use. Make sure you are on the latest version of the SSO Plugin. Symptoms. Microsoft Entra ID Integration Profile is not offered under SSO integration profiles.Couldn't find an action it is trying to use. Make sure you are on the latest version of the SSO Plugin.No SAM - SSO Entra ID download applications or SAM - SSO Entra ID update connected applications job on the profile. Where to check. Application Manager: SaaS License Management version and the optional feature Microsoft Entra ID Spoke; the profile's Scheduled Jobs list. Causes and fixes. Optional feature or spoke missing or old. Install or update SaaS License Management with the Microsoft Entra ID Spoke option selected, and update the spoke.Core UI create option inactive. With Software Asset Workspace installed, create the profile from License operations > User subscriptions > SSO integration profiles > New.Profile not published. The two jobs are created and activated when the profile is published; a profile still in Draft has no active jobs (B).Jobs deleted by hand. A job is recreated only for a profile that is published again; recreate by editing, validating and publishing the profile. Verify. The profile shows Published with both jobs listed and active. B. The connection cannot be created, or the profile cannot be published Symptoms. No Connection & Credential field or no Create New Connection & Credential link.No Publish option, or a published profile is back in Draft.After publishing, no application download starts. Where to check. The profile form (Status); the Connection & Credential record; the user's roles. Causes and fixes. Role. Creating and publishing needs sam_integrator; give it to the user.Connection section not shown. After Submit the field appears. With Software Asset Workspace, open the Connection and credential record with the preview icon and Open Record, then use Create New Connection & Credential.No token yet. Publish needs a token, so complete Create and Get OAuth Token first (E).Not validated. Validate the connection before publishing (C).Edited after publish. Changing the connection returns the profile to Draft; validate and publish again.Where Now Assist for SAM is available, use Troubleshoot on the error banner (section 10). Verify. Status Published, both jobs listed, and an application download job result appears shortly after publishing. C. Validate Connection fails Symptoms. Validation fails after Create and Get OAuth Token.The Graph error text appears in the error banner or the system log. Where to check. System Logs > All and Flow Designer executions for the Entra spoke action; the connection record; the app registration in Entra. Causes and fixes. What validation tests. Validation tests the connections for downloading applications, users and groups, and for last activity when Download Activity is on. It does not test reclaim, so a pass does not prove access removal works.Token not obtained. Run Create and Get OAuth Token and sign in with an Entra administrator. A pop-up blocker can stop the sign-in window.Wrong IDs or secret. Use the Application (client) ID and the secret value, and the Directory (tenant) ID in all three URLs (D, E, F).Missing permissions or consent. Add the Graph permissions and grant admin consent (D).Download Activity cleared after publish. The Validate Connection button returns because the activity connection must be revalidated; validate again. Verify. Validation succeeds and the profile can be published. D. App registration, permissions or role problems Symptoms. A Graph error that mentions authorization, insufficient privileges or consent.Applications download but connecting fails, or users download but last activity is blank.Reclaim fails with the message returned by Graph. Where to check. Azure portal > Microsoft Entra ID > App registrations > your app > API permissions; the role of the account that authorized the token. Causes and fixes. Create the app correctly. Register the application with the redirect URI https://<instance-name>.service-now.com/oauth_redirect.do; record the Application (client) ID and Directory (tenant) ID; create a client secret and save the value.Add every permission. AuditLog.Read.All, User.Read.All, User.ReadWrite.All, GroupMember.Read.All, Application.Read.All, each as Delegated or Application matching the permission type used on the connection.Grant admin consent. Permissions added but not consented do not work.Role of the authorizing account. Download needs Application developer. Connecting and last activity also need one of Global reader, Reports reader, Security administrator, Security operator or Security reader. Reclaim needs User administrator.Application versus delegated. With Delegated Permissions the calls run as the account that authorized, so its roles decide what works; with Application Permissions the app's own consented permissions decide.Least privilege. Grant only the permissions and roles the enabled processes need. If you never reclaim, User.ReadWrite.All and the User administrator role are not required. Verify. Validation succeeds, an application can be connected, and sign-ins are read. E. Token or client secret expired Symptoms. Jobs that worked now fail, and the token cannot be renewed.Sign-in with the stored secret is refused. Where to check. The connection and credential record (token and expiry); Entra > App registrations > Certificates & secrets. Causes and fixes. Client secret expired. Client secrets expire on the date chosen in Entra. Create a new secret, copy its value, update the credential, then run Create and Get OAuth Token again.Secret ID used instead of value. Copy the secret value right after creating it; it cannot be read later.Token revoked or consent removed. If an Entra administrator revoked consent or the sign-in was invalidated, get a new token.Calendar the expiry. Record the secret's expiry and renew it before that date.Several profiles. Each profile has its own connection; renew the secret on each one that uses it. Verify. A fresh token is obtained and the next job completes. F. Wrong tenant, redirect URI or sign-in problem Symptoms. The sign-in pop-up reports a redirect URI mismatch.The wrong organization's applications appear, or none appear. Where to check. The three URLs on the credential; the app registration's redirect URI; the account used to sign in. Causes and fixes. Directory ID. Replace <directory-id> in the Auth, Token and Revoke token URLs with the Directory (tenant) ID of the tenant that holds the application.Redirect URI. The URI in the app registration must be exactly https://<instance-name>.service-now.com/oauth_redirect.do, matching the instance in use (it changes after a clone, see R).Wrong account. The account you sign in with decides which tenant and permissions apply; sign in with an administrator of the intended tenant.Guest accounts. Sign in with a member account of the tenant; a guest account may not carry the required roles. Verify. The intended tenant's applications are listed after the next download job. G. A job failsFailed to download applications.Failed to complete action.You must add integration_profile as an input.already running! Symptoms. A job result shows failed, with an error message in the job log.Failed to download applications.Failed to complete action.You must add integration_profile as an input.A manual run returns already running! Where to check. sam_sso_job_log (status, duration, error message); Flow Designer executions; System Logs > All. Causes and fixes. Read the message first. The two spoke error texts (Failed to download applications. and Failed to complete action.) mean the Graph action ended in an error state; the real reason is in the flow execution and system log.Action not found. Couldn't find an action it is trying to use. Make sure you are on the latest version of the SSO Plugin. means the spoke is missing or old (A).Input message. You must add integration_profile as an input. means the action was started without its profile input; update the application and spoke and rerun from the profile.Authentication. Token or secret problems (E) and permission problems (D) are the usual reasons for failure.Already running. Only one run per job at a time is allowed; wait for the run in progress (status in progress) to finish. A run that stays in progress for many hours is covered in M.Older versions. On older application versions the application download could fail when an application had been disconnected; update SaaS License Management.Applications missing after a failed download. If the download fails midway the applications are set active again, so the list is not emptied; fix the cause and rerun. Verify. A completed sam_sso_job_log row and an updated application list. H. Application or user counts differ from Entra Symptoms. Fewer or more applications than in Entra Enterprise applications.Subscription counts differ from the assignments in Entra.The same user appears twice for an application. Where to check. samp_sso_application, m2m_sso_user_application, m2m_sso_group_application, samp_sso_subscription; the application's Users and groups and Assignment required setting in Entra. Causes and fixes. What counts as an application. The list comes from the Graph application list; only entries with an application ID are kept. Check the application exists as an enterprise application in the tenant.Assignment required. Microsoft's documentation says that with Assignment required set to Yes, subscriptions are created only for users assigned to the application, and with No for all Entra users. The code reads explicit assignments, so the effect with No on your tenant is not confirmed here; compare a connected application's subscription count with Entra to decide.Group assignments. Members of assigned groups, including nested groups, get subscriptions. A user in two assigned groups gets one subscription.Disabled accounts. If Exclude disabled accounts is selected, disabled Entra accounts get no subscription.Directory data behind. An assignment becomes a subscription only if the user or group already exists in the directory data; if the directory download is behind, run it first (K).Duplicates with a direct integration. Connecting an application that also has a direct integration creates duplicate subscriptions. Disconnect the application before creating the direct integration, or use exclusion rules.Applications no longer returned. The next download removes applications that Entra no longer lists. Verify. The subscription count for a connected application matches the Entra assignments, once group membership is counted. I. Several Entra tenants or profiles Symptoms. Applications from one tenant appear on another tenant's profile.A second profile breaks the first. Where to check. Each profile's connection and directory integration; the <directory-id> in each connection. Causes and fixes. One profile per tenant. The connection decides the tenant; create one profile and connection per tenant.Separate connections. From SaaS License Management 7.0.0 and Microsoft Entra ID Spoke 3.1.0, each profile gets its own connection, so profiles run independently. On older versions all profiles share one connection.Directory integration reuse. If a directory integration for Entra already exists, the SSO profile uses it; check that it belongs to the same tenant.Same application in two profiles. Avoid connecting the same application twice; subscriptions would be duplicated. Verify. Each profile lists only its own tenant's applications. J. Software model or entitlement problemsSAMSSOAzureAdIntegration: Cannot find Software model for SSO application: <name> Symptoms. SAMSSOAzureAdIntegration: Cannot find Software model for SSO application: <name>An application cannot be connected, or Connect (1 of 4) shows that only some applications were connected.Subscriptions are on the wrong model.Compliance shows nothing. Where to check. The application record's Software model and External catalog ID; Subscription Product Definitions (samp_sw_subscription_product_definition); the group model mapping. Causes and fixes. Software model required. An application must have a software model before it can be connected. A model is created automatically when the application's External Catalog ID matches an identifier in the Subscription Product Definitions; otherwise create the model yourself and select it.Group-based models. To give different groups different models, select Enable group based software model and create the SSO group software model mapping before connecting. Without the mapping, subscriptions do not follow the groups.Bulk connect. The Connect action on selected rows connects only applications that have a model; add models to the rest.Entitlements. Create entitlements for the generated models, then run reconciliation; with none, compliance shows nothing.Duplicate models. If two models exist for one product, subscriptions may split; keep one model per product. Verify. A model on every connected application, subscriptions on the intended model, entitlements present. K. Subscription user is empty or wrongDirectory user with UPN <upn> does not exist Symptoms. Subscriptions show no User.A user assigned in Entra has no subscription.Directory user with UPN <upn> does not exist Where to check. directory_user (user principal name, external ID, linked sys_user); samp_sso_subscription; Directory Jobs; user resolution rules. Causes and fixes. Key. Each subscription is keyed by application and user principal name; an assignment without a user principal name is skipped.Directory not downloaded. Users and groups come from the directory integration. If the user is not in directory_user, the assignment cannot become a subscription, and reclaim fails with Directory user with UPN <upn> does not exist. Check the Directory Job Results and run the directory download.No ServiceNow user. The subscription's user is the sys_user linked to the directory user. Make the user principal name or email match a sys_user, or add user resolution rules (section 10).Excluded tables. sn_itam_samp.user_resolution_exclude_table lists sys_user extended tables that are skipped when matching.Disabled accounts. With Exclude disabled accounts on, disabled users get no subscription.Guest users. Guest accounts have a different user principal name format; match them by email. Verify. The intended sys_user is linked and the subscription counts against the right person. L. Last activity is blank or stale Symptoms. Last activity is blank for users who sign in.Last activity is older than expected.Candidates are created for active users. Where to check. The application record (Analyze last activity from); samp_sso_subscription last activity; the connection permissions; Entra sign-in logs for the application and user. Causes and fixes. Download Activity off. If cleared, last activity is not pulled; select it, then validate and publish.Permission or role. Sign-ins need AuditLog.Read.All and a reader role (D). Without them the sign-in call fails.What counts. Only successful sign-ins to the application (error code 0) are used. Failed sign-ins and sign-ins to other applications are ignored.Start date. The look-back starts at Analyze last activity from (default 30 days, at most 60 days). A user who last signed in before that date shows blank. Choose an earlier date, within 60 days, to detect stale subscriptions sooner; a longer period takes longer to process.One sign-in per user per run. The first sign-in returned for each user is used (the order is the one Graph returns, normally newest first, which is not confirmed here), and the value is stored as a date, not a time.Entra log availability. Microsoft makes sign-in logs available only for a limited retention period, and access through Graph can depend on the tenant's Entra licensing. This general Microsoft behavior is not confirmed in the sources used here; check with your Entra administrator if no sign-ins are returned for an active user.Non-interactive sign-ins and app type. The sources do not say whether non-interactive or service sign-ins are included; compare a known user in the Entra sign-in logs.Run order. Last activity is updated when the connected application is processed by the daily update job. Verify. A user who signed in within the look-back period shows that date. M. Update connected applications is slow, stuck or fails Symptoms. The job stays in progress for many hours.The sign-in request fails with a gateway timeout (HTTP 504).The job fails only on tenants with many users. Where to check. sam_sso_job_log duration and status; the flow executions for the sign-in action; the number of connected applications and their assignment settings. Causes and fixes. Per-application work. The job repeats the whole connect process for every connected application, including reading assignments, rebuilding subscriptions (nested groups included) and reading sign-ins. Many applications or large groups lengthen it.Assignment required off, large tenant. When an application's Assignment required setting is No and the directory is very large, the job can run for many hours. Connect fewer applications, or set Assignment required to Yes where that fits your access model.Sign-in request timed out. A 504 from the Graph sign-in log means Entra did not answer in time; rerun later. A shorter Analyze last activity from period reduces the volume.Sign-in volume. A busy application with a 60-day look-back returns many records; reduce the look-back.A job still running. A new run is blocked while one is in progress; do not start many manual runs.Stuck in progress. If a run never ends, check the node that ran it and the system log for the last message; then rerun. Verify. The job completes in a normal time and last activity updates. N. No reclamation candidates, or wrong ones Symptoms. No candidates for unused applications.Candidates for users who still sign in.Candidates are not what the rule says. Where to check. The application's reclamation rule; the candidates list; subscription last activity; the Reclaim subscriptions setting. Causes and fixes. Default rule. A reclamation rule of 30 days is created for the application's product once, when it is first needed. Review and adjust it (Review a software reclamation rule).Needs last activity. Candidates depend on last activity, so blank activity (L) gives wrong candidates.Candidates are refreshed on connect and daily. Candidates are generated when the application is processed by the update job.Reclaim off. With Reclaim subscriptions cleared, candidates are created but the reclaim is never triggered.Exclusion rules. Subscription exclusion rules keep chosen users out of cost calculations and candidates.Disconnected application. An application that is not connected is not processed. Verify. Candidates exist only for users who have not signed in within the rule period. O. Reclaim failsThe user cannot be removed through reclamation because they belong to the <group> directory group. Please remove the user's access to the application in the SSO portal and set the reclamation candidate state to Closed Complete.The user's direct access has been revoked, but they also belong to the <group> directory group. Please remove the user's access to the application in the SSO portal and set the reclamation candidate state to Closed Complete.Directory user with UPN <upn> does not exist Symptoms. The user cannot be removed through reclamation because they belong to the <group> directory group. Please remove the user's access to the application in the SSO portal and set the reclamation candidate state to Closed Complete.The user's direct access has been revoked, but they also belong to the <group> directory group. Please remove the user's access to the application in the SSO portal and set the reclamation candidate state to Closed Complete.Directory user with UPN <upn> does not existA message returned by Microsoft Graph about permissions. Where to check. The candidate record; the subscription's assignment (direct user or group); the directory user; the account's permissions. Causes and fixes. Group-based access. If the subscription comes from a group assignment, ServiceNow cannot remove it. Remove the user from the group or the group from the application in Entra, then set the candidate to Closed Complete.Direct assignment. For a direct assignment the integration revokes the user's app role assignment; success is HTTP 204. Any other answer returns the Graph error message.Both direct and group. The direct assignment is removed and the subscription moves to the group access; remove the group access in Entra too, then close the candidate.Permissions. Reclaim needs User.ReadWrite.All and the User administrator role on the authorizing account (D).Directory user missing. Run the directory download so the user exists (K).Reclaim checkbox. If Reclaim subscriptions is cleared, reclaim is never triggered.Test first. Reclaim one user and confirm in Entra before approving many. Verify. The assignment is gone in Entra (Enterprise application > Users and groups) and the candidate is closed. P. After reclaim: access remains, candidates stuck Symptoms. The user still signs in to the application after reclaim.The subscription reappears on the next run.The candidate stays open. Where to check. Entra > Enterprise applications > your application > Users and groups; the user's group memberships; the candidate state. Causes and fixes. Group access remains. The user keeps access through a group; remove it in Entra.The application allows everyone. If Assignment required is No, removing an assignment does not stop access; set it to Yes if you need access to depend on assignment.The account is not disabled. Reclaim removes only the assignment. The Entra user remains, and so do their other applications.Re-created assignment. If another process (a group rule or provisioning) assigns the user again, the subscription returns on the next run.Closing the candidate. After you remove access by hand, set the candidate to Closed Complete. Verify. The user cannot open the application and the candidate is closed. Q. Throttling, timeouts, paging and large tenants Symptoms. Throttling or HTTP 429 from Microsoft Graph.Gateway timeouts (HTTP 504).Very long job durations on large tenants. Where to check. The flow execution for the failing action; the outbound HTTP log; sam_sso_job_log duration. Causes and fixes. Throttling. Graph can limit request rates; rerun later and avoid running many manual runs together.Large groups and many applications. Work grows with applications, assignments and nested groups; connect only the applications you need.Shorter look-back. Reduce Analyze last activity from to cut sign-in volume.Several profiles on one tenant. Running several profiles against one tenant multiplies the load; use one.The sources do not give numeric Graph limits or retry settings for these actions. Treat any limit as tenant specific and check Microsoft's documentation. Verify. Jobs complete within a normal time without throttling errors. R. Problems after a clone, upgrade or repair Symptoms. Jobs fail after a clone, with no token.A redirect URI mismatch appears after a clone.Application or spoke actions are missing after an upgrade. Where to check. The connection and credential on each profile; the redirect URI in Entra; Application Manager versions. Causes and fixes. Tokens do not carry over. After a clone, run Create and Get OAuth Token again. Consider whether the cloned instance should run the integration at all, since two instances against one tenant duplicate work.Redirect URI. Add the cloned instance's https://<instance-name>.service-now.com/oauth_redirect.do to the app registration.Update after an upgrade. Update SaaS License Management and the Microsoft Entra ID Spoke together; a mismatch gives the action-not-found message.Version fixes. Older application versions had a failure in the application download for disconnected applications; update.Revalidate. Validate and publish again if the profile is back in Draft, then run the jobs once.Directory integration. After a clone, check the directory integration still points to the right tenant and is published. Verify. A valid token, both jobs completing, and the intended applications listed. 6. Cause-specific correction and controlled recovery Validation, publishing, connecting applications and reclaim are write operations; reclaim removes access to the application in Entra. Obtain approval before running them in production. Established causeCorrection ownerControlled recovery and stop conditionApplication, optional feature or spokeServiceNow platform administratorUpdate, validate, publishApp registration, permissions, consent or rolesEntra administrator and integration ownerFix, grant consent, validateToken or secret expiryIntegration ownerNew secret value, new token, confirm a run completesTenant or redirectIntegration ownerCorrect the URLs and redirect, validateCoverage (assignments, groups, exclusions)Integration owner and Entra administratorCompare counts with Entra, use exclusion rules, run onceModel, mapping and user resolutionSAM administratorCreate models and entitlements, add rules, rerunLast activitySAM integration ownerCheck permissions and look-back, run the update job onceReclaimSAM process owner and Entra administratorReview candidates, reclaim one first, confirm in EntraClone, upgrade, repairPlatform ownerRestore components, new token, validate, run once 7. Verification criteria and recovery evidence Verification layerEvidence requiredWhat does not satisfy itConfigurationPublished profile, valid token, matching tenant and redirectA Published status after an unvalidated connection changeExecutionCompleted sam_sso_job_log rows for both jobsA scheduled job that existsCoverageSubscriptions match the Entra assignments including groupsTotals that count all users when assignment is requiredMatchingA model and a user on every subscriptionRaw identifiers as display namesActivityA recent successful sign-in for a known active userBlank activity read as inactivityReclaimAssignment removed in Entra, candidate closedCandidate closed without the Entra change 8. Escalation evidence to collect Application, optional feature, spoke and platform versions; recent upgrades, repairs or clones.Profile status, selected options (Download Activity, Reclaim subscriptions, Exclude disabled accounts), permission type (application or delegated), and the Entra roles of the authorizing account (no secrets or tokens).Job name, run time in UTC, job log status and error message; the flow execution and failing action; the matching system log lines.For one application: the number of assignments in Entra (users and groups) and subscriptions in ServiceNow, and its Assignment required setting.Steps already taken and results. Never include tokens, secrets, tenant IDs, application IDs or user names in shared evidence. 9. References, processing rules and known limitations Key records Jobs: SAM - SSO Entra ID download applications and SAM - SSO Entra ID update connected applications (daily, one pair per profile); job log sam_sso_job_log.Tables: samp_sso_integration_profile, samp_sso_application, samp_sso_application_role, samp_sso_subscription, samp_sso_group_m2m_sw_model, m2m_sso_user_application, m2m_sso_group_application, directory_user, directory_group, samp_sw_subscription_product_definition.Spoke actions used: application list, service principal list and lookup, assigned-to-service-principal list, sign-in list, revoke user application access.Exclusion rules samp_sw_subscription_id_excl_rule and samp_sw_subscription_user_excl_rule. System properties com.snc.process_flow.reporting.level — set to All for flow detail; set back afterwards.glide.outbound_http_log.override and glide.outbound_http_log.override.level — temporary detailed outbound logging; turn off afterwards.sn_itam_samp.user_resolution_exclude_table — sys_user extended tables excluded from user matching. Processing rules to remember Directory data and applications are downloaded separately; an assignment becomes a subscription only for a user or group already in the directory data.An application needs a software model before it can be connected.Subscriptions are keyed by application and user principal name; nested groups are followed.Last activity is the latest successful sign-in to that application, within the look-back (default 30 days, at most 60).Reclaim revokes only a direct assignment; group access must be removed in Entra and the candidate closed by hand.A default reclamation rule of 30 days is created once for the product.Connecting an application that also has a direct integration duplicates subscriptions. Known limitations The effect of Assignment required = No on subscription counts is described in the documentation but not confirmed from the code that could be read.Whether non-interactive sign-ins count, and the sign-in log retention and licensing conditions in Entra, are not stated in the sources.The Graph rate limits, retry settings and paging sizes of these actions were not readable.Reclaim does not disable or delete the Entra user and cannot remove group-based access.Validation does not test reclaim.The Okta SSO integration is not covered. Documentation ServiceNow product documentation for your release: Integrating with Microsoft Entra ID under Software Asset Management > SaaS License Management > Integrate with SSO providers.Microsoft documentation: app registrations, API permissions and admin consent, client secrets, and the sign-in logs in Microsoft Graph.ServiceNow: Configure Now Assist for SAM 10. ServiceNow Otto / Now Assist troubleshooting ServiceNow Otto for Software Asset Management (formerly Now Assist for SAM, application sn_now_assist_sam) adds generative AI help for SaaS integrations. Use it to explain a failed Microsoft Entra ID job or a failed connection validation, and to propose user resolution rules when imported subscriptions do not match users. Treat its output as a starting point: confirm every recommendation against the branch in section 5 before changing configuration. How Troubleshoot works 1Failure bannerProfile in Software Asset WorkspaceFailed job or failed Validate Connection 2TroubleshootButton on the error bannerDebug-level validation, ~15–20 s 3Read guidanceError Summary + Suggested ResolutionsMap each item to a section 5 branch 4Fix and validateApply the fix yourselfValidate Connection again; rerun Troubleshoot if needed 5Publish or runPublish new / run existing jobConfirm with section 7 What the AI skills do SkillWhat it doesWhen it runsDefault model providerError log summarizationReads the logs of the failed job or validation and produces an Error SummaryWhen you click TroubleshootAWS Claude (from Australia Patch 4)Error resolution recommendationTurns the summarized errors into Suggested Resolutions, one per errorChained after the summaryAWS Claude (from Australia Patch 4)SaaS user resolutionProposes user resolution rules that map the Entra user principal name to sys_userAutomatically after a subscription download, when prerequisites are metAzure OpenAI The model provider can be changed per skill in the Now Assist Admin console; Now LLM Service can still be selected manually. Before you start Installed and licensed. Otto for SAM (sn_now_assist_sam) is installed and your subscription includes generative AI for SAM. Confirm entitlement with your account team. The capability is not available, or is limited, in in-country, FedRAMP, NSC DOD IL5, IRAP-Protected, self-hosted, regulated-market and other restricted environments.Skills active and displayed. Go to All > Now Assist Admin > Skills, choose the SAM workflow group, open each skill and confirm it is active with Display turned on. To activate: Activate skill > Save and continue > Select display (turn on Display, add roles if needed) > Review and activate > Activate. Skills are active by default from Zurich Patch 4, but a skill you deactivate stays off until reactivated.Roles. sam_integrator to use Troubleshoot and SaaS user resolution; skills are available to sam_user and sam_admin by default. If an administrator changed the skill roles, the custom roles apply instead. Activating or configuring skills needs the Now Assist administrator role.Software Asset Workspace. Troubleshoot appears in the workspace profile form, not in the classic form.Privacy. Inputs and outputs are processed in ServiceNow's generative AI environment and may be processed by the selected third-party model provider. Review your organization's AI data-handling settings and the Now Assist opt-out options before use. Use Troubleshoot on a failed job or validation Go to Workspaces > Software Asset Workspace > License operations > User subscription > SSO integration profiles and open the Microsoft Entra ID profile.Existing profile, failed scheduled job: the profile shows an error banner for the failed job. New profile or changed connection: click Validate Connection; a failure shows an error banner.Click Troubleshoot on the banner. Otto runs the validation with debug-level logging, summarizes the errors and proposes resolutions. Expect a response in around 15–20 seconds.Read the Error Summary and Suggested Resolutions on the profile. Map each resolution to the matching branch in section 5 and follow that branch's fix and verify steps.Apply the fix yourself (Troubleshoot never changes connection or integration configuration), then click Validate Connection again. Click Troubleshoot again to regenerate guidance if validation still fails.When validation succeeds, Publish a new profile, or run the job once for an existing profile and confirm the result with section 7. What Troubleshoot writes. The error summary and suggested resolutions are stored on the integration profile, and each run is kept in a troubleshooting log shown as a related tab on the profile. It does not modify subscriptions, credentials or jobs. The AI indicator may not appear on these fields when the system rather than the AI last updated them. What it covers. Runtime failures of the integration's scheduled jobs and connection-validation failures for SaaS and SSO integration profiles. It does not diagnose data-quality questions such as missing users in a product scope, model mapping or reconciliation results; use section 5 for those. AI-generated user resolution rules After each subscription download, SAM checks whether a rule should be generated. The SAM - Generate user resolution rule job calls the SaaS user resolution skill only when at least 10% of subscriptions have no user, and either it is the first run, or the previous run created no rule and the data has changed (a new field or about 10% more user data). Review results: Software Asset Workspace > License operations > SaaS license management > User resolution rules. Rules created by the skill show Source = AI. Steps are listed in the AI activity log in the Activity center on the Software asset overview.Activate deliberately: a generated rule that is inactive shows Review needed. Check it against a few known users, then set it Active and save. Rerun the Microsoft Entra ID import to apply it.Each run is logged in samp_user_resolution_rule_log with the outcome. When the assistant does not help What you seeLikely causeWhat to doNo Troubleshoot buttonApplication not installed, skill inactive or Display off, missing role, classic form instead of the workspace, or no current failureCheck the prerequisites above; the button appears only on the error banner of a failed job or validationTroubleshoot runs but returns nothing or an errorSkill call or output formatting failedOpen the generative AI log (sys_generative_ai_log.list) for the skill request: error code, message and whether the response was formatted correctly. Check System Logs > Errors for formatting failuresSummary is short, generic or cut offOlder application version with a smaller output limit, or too little log detailUpdate Otto for SAM to the latest version; rerun Troubleshoot after reproducing the failure so fresh logs existRecommendation contradicts the logsAI output is a suggestion, not a verified diagnosisFollow the outbound HTTP status and the matching section 5 branch; report the mismatch with the generative AI log entryProfile reference fields show invalid field name: troubleshooting_logTroubleshooting component not active on an older SaaS License Management versionUpdate SaaS License ManagementUser resolution job ends with "did not meet the pre-requisites" or "no change in your user data"Expected: fewer than 10% unresolved, or nothing changed since the last runNo action; create a rule manually if needed (branch K)User resolution job ends with "failed due to some error in the Gen AI skill"Skill call or output failedCheck sys_generative_ai_log for the skill runNo rule created: "no user table field could uniquely be identified"the Entra user principal name has no unique exact match in any sys_user fieldCorrect user data or create the rule manually (branch K) Limitations Output is AI-generated and can be inaccurate or incomplete; a person must review it before acting.Only job and validation failures are analyzed; ingestion completeness, mapping, usage and optimization still need section 5.Responses take several seconds because each Troubleshoot click chains more than one model call.Availability depends on your AI entitlement and hosting environment.