Troubleshooting ServiceNow Software Asset Management Okta SSO integration: Complete Troubleshooting Guide for applications, users, sign-in activity 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 Okta SSO integration: applications, users, sign-in activity 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 Okta SSO integration profile (profile type Okta, table samp_sso_integration_profile). It shows software usage for the applications your people reach through Okta single sign-on. It is not a paid-seat integration: it reads the Okta directory (users, groups, group memberships), the list of Okta applications, who is assigned to each application, and successful single sign-on events. Direct vendor integrations give more detailed usage than SSO; if you have a direct integration for an application, use only the direct one (branch J). Two kinds of job run. Directory jobs (created with the directory integration of the profile): Download Users, Download Groups and Download Group Membership. They fill directory_user, directory_group and the group membership links.SSO jobs (created with the profile): SAM - SSO Okta download applications and SAM - SSO Okta update connected applications. The first reads the Okta application list. The second refreshes assignments, subscriptions and last sign-in dates for the applications you have connected. One connection per profile. Each Okta profile has its own connection and credential, created through the Create New Connection & Credential link on the profile. The Okta Spoke supplies the actions the jobs call. From SaaS License Management 7.0.0 with Okta Spoke 4.1.2, each profile creates its own separate Okta connection, so several independent Okta profiles are supported. What it counts. Users, groups and group memberships are downloaded for the whole directory. Subscriptions are created only for applications you connect, one per user per application. A user gets a subscription when the application is assigned to the user directly, or through a group (including groups inside groups). Direct assignment is processed first. What last activity means. Last activity is the date of the user's most recent successful single sign-on event for that application (Okta event type user.authentication.sso). It is not time spent inside the application. The look-back is at most 60 days. What reclaim does. For a user assigned directly to the application, reclaim removes that user's access to the application in Okta. It does not delete the Okta account. For a user who has access only through a group, reclaim is not automated: the candidate shows a message and you remove access in Okta yourself (branch P). Okta-own subscriptions. The optional checkbox Create Okta subscriptions creates a separate direct profile of type Okta Subscription (its own subflow, Okta Download Subscriptions) for the licenses of Okta itself. That is a different integration from the SSO applications covered here; the profile types are okta (SSO) and okta_subscription (direct). It does not cover Microsoft Entra ID, custom Okta applications you build yourself, or the Okta Workflows product. Applies to: SAM Professional with the Software Asset Management - SaaS License Management (sn_sam_saas_int) Store application, the optional feature Okta Spoke (selected when installing optional features on the Application Manager page), and the Software Asset Management Spoke. Keep them current and compare with the release documentation before applying a version-specific conclusion. 2. Implementation checklist CheckWhere and what to inspectReady conditionApplication and spokeApplication Manager: SaaS License Management, the Okta Spoke optional featureInstalled and currentRole (ServiceNow)User creating the profile and connectionsam_integratorOkta roleThe person who signs in to get the OAuth tokenHolds every role in the permissions table below; Application administrator is needed for reclaimOkta applicationOkta admin consoleAn OAuth 2.0 application with the five scopes granted and Refresh Token selected under the grant type Client acting on behalf of a userRedirect URIsOkta applicationLogin redirect URI and Logout redirect URI both https://<instance-name>.service-now.com/oauth_redirect.doProfileSoftware Asset Workspace > License operations > User subscriptions > SSO integration profiles > New > Okta > ContinueDisplay name; profile type OktaDirectory integrationProfile fieldExisting Okta directory record selected, or left empty so one is created on saveCheckboxesProfile, Process configurationDownload applications, users, and groups on (cannot be cleared); Download Activity on; Reclaim subscriptions on by defaultConnectionProfile > Connection & Credential > Create New Connection & CredentialConnection name, Connection URL, Authorization URL, Token URL, Token Revocation URL, Client ID, Client Secret, redirect URL; then Create and Get OAuth TokenValidation and publishProfile > Validate Connection then PublishValidation succeeds; publish confirmed with OKJobsProfile > Scheduled Jobs and Directory JobsThe two SSO jobs and the three directory jobs exist and are active; no duplicatesApplicationsSoftware Asset Workspace > SSO applicationsApplications listed with a software model before connectingEntitlementsSoftware models of the connected applicationsEntitlements created, then reconciliation run Connection fields FieldWhat to enterNameA name such as Okta ConnectionConnection URLhttps://<yourOktaDomain>, your Okta organization domainAuthorization URLhttps://<yourOktaDomain>/oauth2/v1/authorizeToken URLhttps://<yourOktaDomain>/oauth2/v1/tokenToken Revocation URLhttps://<yourOktaDomain>/oauth2/v1/revokeOAuth Client ID and Client SecretCopied from the Okta applicationOAuth Redirect URLFilled in automatically as https://<instance-name>.service-now.com/oauth_redirect.do Select Create and Get OAuth Token and sign in as the Okta user who holds the required roles. The Connection & Credential alias on the profile is set automatically to sn_okta_spoke.<profile name>_apps_users_groups_activity_and_reclaim, ..._apps_users_groups_activity or a similar value that changes with the Download Activity and Reclaim checkboxes. Okta permissions and roles ProcessOkta roleOAuth scopesDownload usersRead-only administratorokta.users.readDownload groups and group membershipsRead-only administratorokta.groups.readDownload applicationsRead-only administratorokta.apps.read, okta.logs.readConnect applicationsRead-only administratorokta.logs.readUpdate connected applicationsRead-only administratorokta.apps.read, okta.logs.readReclaim subscriptionsApplication administratorokta.apps.manage Grant the Okta application all five scopes: okta.groups.read, okta.apps.read, okta.users.read, okta.logs.read and okta.apps.manage. Grant only the access you need; a read-only token cannot reclaim. What happens when a setting is missing or wrong Setting, field or propertyIf it is missing or wrongTypical symptomOkta Spoke optional feature not selectedThe Okta code and actions are not installedNo Okta profile type, or Couldn't find an action it is trying to use. Make sure you are on the latest version of the SSO Plugin.Scope missing on the Okta applicationThe matching call is refusedConnection validation failed. Insufficient scopes provided. Verify the configurations you have provided and then retry.okta.apps.manage missing, or the token user is not an Application administratorDownload works, reclaim failsReclaim error on the candidate; validation still passesRefresh Token not selected on the Okta applicationThe access token cannot be renewed (expected from the setup steps)Jobs work at first, then the token-expired messageWrong Connection, Authorization or Token URLSign-in or token exchange goes to the wrong placeValidation fails or no token is returnedRedirect URI differs from the instance URLThe sign-in cannot return to the instanceToken cannot be obtainedOAuth 2.0 credential record deletedA new token can no longer be obtainedToken expiry cannot be fixed from the profileToken expiredEvery Okta call failsOkta OAuth token or API Key has expired and needs to be refreshed or changed.Download Activity clearedLast activity for connected applications is not pulledNo sign-in dates; profile asks you to validate againReclaim subscriptions clearedCandidates are created, reclaim never runsThe reclamation of user subscriptions will not be successful because the Reclaim subscription checkbox isn't selected on the integration profile.Application has no software modelIt cannot be connectedSAMSSOIntegration: Cannot find Software model for SSO application: <name>Enable group based software model on, with no group mappingThe application cannot be connectedAn error asking for at least one mappingSame application also has a direct integrationDuplicate subscription recordsCounts too highProfile edited after publishStatus returns to DraftJobs stop until validated and published againEntitlements missingNothing to reconcile againstCompliance shows nothingDebug properties left onExtra loggingSlow instance after troubleshooting 3. Symptoms and expected behavior SymptomFirst branchHealthy evidence to seekOkta option, spoke or jobs missingAOkta profile type available, jobs listedCannot create the connection or publishBStatus Published with its jobsValidate Connection failsCValidation successfulOkta app, scope or role problemsDUsers, groups and applications returnedToken expiredEFresh token, jobs completingWrong Okta organization or URLsFIntended organization returns dataJob or subflow failed, or a job will not startGCompleted rows in the job resultsCounts differ from OktaHDirectory and application counts match OktaSeveral Okta organizationsIOne profile and connection per organizationApplication cannot be connected, model or entitlement problems, duplicates with a direct integrationJSoftware model on every connected applicationUser empty or wrong on a subscriptionKIntended sys_user linked through the directory userLast sign-in blank or staleLRecent sign-in date for an active userUpdate connected applications job or look-back problemsMJob completing, activity start date acceptedNo or wrong reclamation candidatesNCandidates only for truly inactive usersReclaim failsOAccess removed in OktaGroup-based access cannot be reclaimed, user returnsPAccess removed and candidate closedRate limits, timeouts, first runQNormal run durationProblems after clone, upgrade or repairRValidated profile, valid token A healthy run first fills the directory (users, groups, memberships), then lists the Okta applications, and for every connected application keeps one subscription per assigned user, with the last successful sign-in as last activity. Applications or users that Okta no longer returns are removed on the next run. 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 directorydaily 1Okta appOAuth 2.0 app, five scopes, Refresh TokenBreaks here: Scope missing; wrong roleOpen branch D →2Get tokenCreate and Get OAuth Token as the admin userBreaks here: Token expired; wrong URLsOpen branch E →3Validate and publishUsers, groups, applications and sign-in events; not reclaimBreaks here: Insufficient scopes providedOpen branch C →4Directory jobsDownload Users, Groups, Group MembershipBreaks here: Job stuck in progress; 429Open branch G →5Directory user linkOkta user matched to a ServiceNow userBreaks here: Empty userOpen branch K →6Download applicationsActive applications; later runs follow lifecycle eventsBreaks here: Failed to download applicationsOpen branch H →7Software modelCatalog identifier matched, or model chosenBreaks here: No software model; duplicate with a direct integrationOpen branch J → Connect, activity and reclaimdaily 1Connect applicationDirect users first, then groups and child groupsBreaks here: Group mapping missingOpen branch J →2SubscriptionsOne per user per connected applicationBreaks here: Counts differOpen branch H →3Sign-in eventsuser.authentication.sso since last sync, max 60 daysBreaks here: Blank or stale activityOpen branch L →4Update connected apps jobSAM - SSO Okta update connected applicationsBreaks here: Job fails; look-back refusedOpen branch M →5CandidatesRule from the connected applicationBreaks here: Wrong candidatesOpen branch N →6ReclaimRemove application access; direct assignment onlyBreaks here: Not allowed; group accessOpen branch O →7After clone or upgradeNew token and redirect URIBreaks here: Stale tokens, missing spokeOpen branch R → Directory and application path Profile published and token present → directory jobs (Download Users, Download Groups, Download Group Membership) → directory_user, directory_group, group membership links → SAM - SSO Okta download applications → application list (full pull of active applications, or a delta from Okta application lifecycle events) → samp_sso_application, software model matched by catalog identifier Connect, subscriptions and activity path Connect application → users assigned directly (scope USER) → groups assigned (scope GROUP) → subscriptions created from users first, then from groups and their child groups → SAM - SSO Okta update connected applications → single sign-on events since the last sync → last activity per user and application → reclamation rule and candidates Reclaim path Candidate approved → direct assignment: Revoke user application access (user ID, application ID) → Success: the user-to-application link is removed; group-sourced access: message, remove access in Okta, set the candidate to Closed Complete StageRecord or source to inspectBehaviorSSO jobProfile > Scheduled Jobs and Scheduled Job Results; table sam_sso_job_logStatus of each SSO job runDirectory jobProfile > Directory Jobs and Directory Job ResultsStatus of each directory runFlow or actionFlow Designer > Operations > ExecutionsThe Okta spoke action with its errorCredential and tokenConnection & Credential record and its OAuth 2.0 credentialToken valid; do not delete the credentialDirectory datadirectory_user, directory_group, m2m_directory_group_userUsers, groups and membershipsApplicationssamp_sso_applicationOne row per Okta application, with software model and statusAssignmentsm2m_sso_user_application, m2m_sso_group_applicationWho has access to each connected applicationSubscriptionssamp_sso_subscriptionOne row per user per connected applicationLast activitySubscription last activity and the application's last event sync timeMoves forward onlyReclaimsamp_sso_application_reclamation_rule and samp_sso_application_reclamation_candidateRules and candidates Correlate one execution before deciding a cause Record the profile, the job, start and end in UTC, and the application and spoke versions.Open the profile's Scheduled Job Results and Directory Job Results; read the message.Open Flow Designer > Operations > Executions and find the Okta action for the same window; open the failing step.Open System Logs > All and search for Okta, OAuth, Group Membership and API Error in the same window. HTTP 400 means an invalid request, 401 or 403 a token or permission problem, and 429 rate limiting.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. 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 <yourOktaDomain> are placeholders; keep the real values private. Start every investigation here 1Job resultProfile > Scheduled Job Results and Directory Job ResultsStatus and message of the run 2System logMessage contains Okta, OAuth or Group MembershipOkta action error text 3Outbound HTTPURL contains your Okta domainStatus and the Okta error body 4Pick a branchMatch the message belowscopes → C/D, expired token → E, group access → P Start every investigation the same way. (1) The profile's Scheduled Job Results and Directory Job Results. (2) Flow Designer > Operations > Executions for the Okta action. (3) System Logs > All for the Okta error text. Read the message, not only the status. A. Okta option, spoke or jobs are missingB. The connection cannot be created, or the profile cannot be publishedC. Validate Connection failsD. Okta application, scope or role problemsE. Token expired or authentication fails after a whileF. Wrong Okta organization or URLsG. A job or subflow fails, or a job will not startH. Counts differ from OktaI. Several Okta organizationsJ. Application cannot be connected, model or entitlement problems, duplicatesK. Subscription user is empty or wrongL. Last sign-in is blank or staleM. Update connected applications job and look-back problemsN. No reclamation candidates, or wrong onesO. Reclaim failsP. Group-based access cannot be reclaimed; the user returnsQ. Rate limits, timeouts, first run and large organizationsR. Problems after a clone, upgrade or repair A. Okta 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. Okta is not offered when creating an SSO integration profile.Couldn't find an action it is trying to use. Make sure you are on the latest version of the SSO Plugin.No SSO or directory jobs after publishing. Where to check. Application Manager > SaaS License Management version and its optional features; the Okta Spoke; the profile's Scheduled Jobs and Directory Jobs lists. Causes and fixes. Okta Spoke not selected. When you install or update SaaS License Management, select the Okta Spoke check box under optional features. Without it the Okta code base is not installed.Spoke or application old. Update SaaS License Management and the Okta Spoke together.Create option inactive in the classic form. With Software Asset Workspace, create the profile from License operations > User subscriptions > SSO integration profiles > New > Okta.Directory integration missing. If no Okta directory integration exists, one is created when you save the profile; the three directory jobs are created at that moment.Jobs not created or inactive. The SSO jobs are created inactive and start after the profile is published with a valid token (B). Verify. The profile shows Published with its SSO and directory jobs. B. The connection cannot be created, or the profile cannot be published Symptoms. You cannot create the connection (missing role).No Publish option, or a published profile is back in Draft.A scope error when publishing. Where to check. The profile (Status); the Connection & Credential record and its OAuth credential; the user's roles; the current application scope. Causes and fixes. Role. Creating the profile and connection needs sam_integrator.Connection section not shown. In the workspace, open the Connection & Credential field's preview with the preview icon, choose Open Record, then use Create New Connection & Credential.No token yet. Publish is offered only after a token exists (Create and Get OAuth Token) and validation has succeeded (C). Sign in as the Okta user who holds the required roles.Application scope. The profile must be published from the Global application scope; if a scope message appears, switch scope and try again.Edited after publish. Changing the connection or clearing Download Activity returns the profile to Draft; validate and publish again.Okta subscriptions option. If you select Create Okta subscriptions and a direct profile cannot be created, you see Can not create direct integration profile. Contact system administrator. Check the scope and the Okta Subscription profile type, then save again.Where Now Assist for SAM is available, use Troubleshoot on the error banner (section 10). Verify. Status Published, with its jobs. C. Validate Connection failsConnection validation failed. Insufficient scopes provided. Verify the configurations you have provided and then retry. Symptoms. Connection validation failed. Insufficient scopes provided. Verify the configurations you have provided and then retry.A generic connection validation failure on the profile.Validate Connection keeps reappearing. Where to check. System Logs > All; the Okta application's granted scopes; the OAuth credential. Causes and fixes. What validation tests. It calls the Okta user list, the group list and the application list (two users and two groups only), and, when Download Activity is on, the Okta system log for single sign-on events. It does not test reclaim, so a pass does not prove removal works.Scopes. "Insufficient scopes" means sign-in worked but one or more of okta.users.read, okta.groups.read, okta.apps.read or okta.logs.read is missing or not consented. Grant all five scopes and get a new token (D).Token or URLs. A wrong Connection, Authorization or Token URL, or an expired token, fails the first call (E, F).Activity check. If you cleared Download Activity after publishing, validate again; the activity check is skipped while it is off.Rerun after changes. After correcting anything, select Create and Get OAuth Token again, then Validate Connection. Verify. Validation successful and Publish becomes available. D. Okta application, scope or role problems Symptoms. 401 Unauthorized or 403 Forbidden in the log or flow execution.Users download but applications or sign-in events do not.Reclaim refused while downloads work. Where to check. The Okta admin console (the application's scopes and grant types); the roles of the Okta user who authorized. Causes and fixes. Create the application correctly. In the Okta admin console create an OAuth 2.0 application; enter the instance redirect URI in both Login and Logout redirect URI fields; copy the Client ID and Client Secret; grant the five scopes; select Refresh Token under the Client acting on behalf of a user grant type.Role of the signing-in user. The user who completes Create and Get OAuth Token must hold the roles in the permissions table. Reclaim needs Application administrator; the read steps need Read-only administrator. Sign in as that same user.Missing scope. A scope not granted on the Okta application gives 401 or 403 for the matching call; add it and get a new token.Least privilege. If your policy forbids reclaim from ServiceNow, clear Reclaim subscriptions and grant only the read scopes; the token then cannot remove access. Verify. Validation succeeds and the next run downloads users, groups and applications. E. Token expired or authentication fails after a whileOkta OAuth token or API Key has expired and needs to be refreshed or changed.invalid_grantinvalid_client Symptoms. Okta OAuth token or API Key has expired and needs to be refreshed or changed.The profile shows an error that you must get a new OAuth token, with a link.Jobs worked at first and then fail with authentication errors; errors mentioning invalid_grant, invalid_client or INVALID_TOKEN can appear (standard OAuth errors; exact wording is not verified here). Where to check. The profile's error banner; the Connection & Credential record and its OAuth 2.0 credential; the Okta application. Causes and fixes. Get a new token. Select the link in the error message, or Create and Get OAuth Token on the connection, and sign in as the Okta user with the required roles.Do not delete the OAuth 2.0 credential record. If it is deleted you cannot get a new token after the current one expires; recreate the connection and credential in that case.Refresh Token not enabled on the Okta application. The documented setup requires it. Select it, then get a new token.Application client secret rotated or the application deactivated in Okta. Update the client secret on the connection, or reactivate the application.Administrator left. If the signing-in Okta user is removed or loses the roles, calls fail; get a new token as a user who holds them.Track expiry. Note the secret and token dates shown in the Okta console and rotate before they lapse; the job SAM - SSO Okta update connected applications is where this failure most often shows first. Verify. The next job run completes and the profile shows no token error. F. Wrong Okta organization or URLs Symptoms. No users or applications returned; users from another Okta organization; 404 or connection failures. Where to check. The Connection URL, Authorization URL, Token URL and Token Revocation URL on the connection. Causes and fixes. Domain. All four URLs must use your own Okta organization domain, in the forms shown in section 2.Wrong organization authorized. The token belongs to the organization where you signed in; recreate the token while signed in to the intended organization.One organization per profile. A connection reads one Okta organization (I).Typed by hand. Copy the domain from the Okta console rather than typing it. Verify. Validation returns data for the intended organization. G. A job or subflow fails, or a job will not startFailed to download applications.Failed to complete action.already running!Cannot read property "last_event_sync_time" from null Symptoms. A job result shows Failed or Already running, or no run starts. Messages include: Failed to download applications.Failed to complete action.already running! (when a run is started while another is in progress)Cannot read property "last_event_sync_time" from null (on older application versions, in the update connected applications job) Where to check. Scheduled Job Results and Directory Job Results; sam_sso_job_log; Flow Designer executions; System Logs > All. Causes and fixes. Match the Okta error. Use branches D, E, F and Q for 400, 401, 403, 404 or 429.A run stuck "in progress". A job does not start while an earlier run of the same job is still marked in progress. Open the job results, find the older run still marked in progress and establish why it never finished; the guard releases only when no run of that job is in progress.Failed action. Failed to complete action. means the Okta action ended in an error state; open the Flow Designer execution for the real reason.Action missing. Couldn't find an action it is trying to use... means the spoke or application is old (A2).Application list failure. Failed to download applications. means the application list call failed; the previous application rows are restored so data is not lost. Fix the cause and rerun.Older application versions. The last_event_sync_time error was fixed in later releases; update SaaS License Management.Jobs inactive. The SSO jobs are created inactive and run once the profile is published with a token (B3). Verify. The next run shows Completed. H. Counts differ from Okta Symptoms. Fewer or more users, groups or applications than the Okta console; applications missing; subscriptions missing. Where to check. directory_user, directory_group, samp_sso_application, samp_sso_subscription; the Okta console. Causes and fixes. Applications are listed active only. A full pull reads applications whose status is ACTIVE. Inactive applications are not listed; later runs follow application create, delete, update, activate and deactivate events.Subscriptions only for connected applications. An application that is not connected has no subscriptions (J).Assignment path. Subscriptions come from direct assignment and from group assignment, including groups inside groups. A user in an unassigned group has no subscription.Exclusion rules. Subscription Identifier Exclusion Rule and Subscription User Exclusion Rule silently drop matching rows.Directory not complete. If the directory jobs have not completed, users and groups are missing; check the Directory Job Results (G).User without a principal name. A user with an empty user principal name gets no subscription.Deleted in Okta. Users, applications, groups or memberships deleted in Okta are removed on the next run.Failed run. A failed membership run can give lower counts next time on older versions; update and rerun. Verify. Counts match the Okta console for the connected applications. I. Several Okta organizations Symptoms. A second organization is not imported; two profiles show the same organization. Where to check. Each profile's connection and the OAuth sign-in used. Causes and fixes. One profile per organization. Create a profile and a connection for each Okta organization.Separate connections. Each profile has its own connection and credential (SaaS License Management 7.0.0 with Okta Spoke 4.1.2 or later).Same application in both. The same application appearing in two organizations creates two sets of subscriptions; use exclusion rules or connect it in only one profile.Not documented. The sources do not describe other multi-organization behavior; test with one first. Verify. Each profile imports only its own organization. J. Application cannot be connected, model or entitlement problems, duplicatesSAMSSOIntegration: Cannot find Software model for SSO application: <name> Symptoms. SAMSSOIntegration: Cannot find Software model for SSO application: <name>Connect is greyed out, or only some selected applications connect (for example "Connect (1 of 4)").Counts are doubled for an application.Compliance shows nothing. Where to check. Software Asset Workspace > SSO applications; the application's software model and Direct integration status; entitlements. Causes and fixes. No software model. An application must have a software model before it can be connected. Models are created automatically when the application's external catalog ID matches an identifier in the Subscription Product Definitions table; otherwise create the software model yourself and select it.Model changed. Changing the model of a connected application clears its subscriptions and pulls them again.Duplicate with a direct integration. Connecting an application in the SSO integration when a direct integration already exists creates duplicate subscription records. Use only the direct integration. The application shows a direct-integration status of connected, available or not available. If you later want a direct integration for an application you connected here, disconnect it in the SSO integration first.Group-based software model. If an application has different licenses per group, select Enable group based software model and create the SSO group to software model mappings before connecting. With the box selected and no mapping you cannot connect. Subscriptions for users in a mapped group take the mapped model.Entitlements missing. Models and reclamation rules are created automatically; entitlements are not. Create entitlements and run reconciliation.Unknown identifiers. Review Unrecognized Subscription Identifiers and set the right model. Verify. The application connects, subscriptions show the right model and reconciliation produces results. K. Subscription user is empty or wrong Symptoms. Subscriptions with a user principal name but no User; wrong user linked. Where to check. directory_user (its sys_user link and user principal name); sys_user email and user ID; user resolution rules; sn_itam_samp.user_resolution_exclude_table. Causes and fixes. Directory user not linked. The subscription user comes from the directory user's linked sys_user. Fix the match between the Okta user and the ServiceNow user, then rerun the update connected applications job.Principal name differs. Okta logins are often, but not always, the email address; align the data or add a user resolution rule (Software Asset Workspace > License operations > User subscription > User resolution rules).Same email in several user tables. List the extra tables in sn_itam_samp.user_resolution_exclude_table.Manual edits overwritten. The User field is recalculated on each run. Verify. The subscription shows the intended user. L. Last sign-in is blank or stale Symptoms. Subscriptions have no last activity, or it does not move. Where to check. The subscription's last activity; the Okta system log for the same user and application; the update connected applications job result. Causes and fixes. What it measures. Only successful single sign-on events for that application count. A user who works in an application without going through Okta, or only opens it from a saved session, can show no recent date.Download Activity off. With the box cleared no sign-in dates are pulled.Connected applications only. Last activity is updated only for connected applications.Start date. Events are read from the last sync time, or from Analyze last activity from the first time, and never earlier than 60 days (M).Job not healthy. A failed update connected applications job leaves dates unchanged (G).Token or scope. okta.logs.read is needed for the sign-in events (D).Dates only move forward. An older event never replaces a newer date. Verify. A user who signed in today through Okta shows today's date after the next update connected applications run. M. Update connected applications job and look-back problems Symptoms. The job SAM - SSO Okta update connected applications fails or never runs.You cannot save Analyze last activity from.Results take very long after choosing an early date. Where to check. The job and its results; the application's Analyze last activity from field; Download Activity on the profile. Causes and fixes. Look-back choice. When you connect an application, Analyze last activity from may be the current date or up to 60 days earlier; the default is 30 days. Once submitted, the field becomes read only.Invalid date. A date more than 60 days old, in the future or empty is refused when saving.Early dates are slow. A date far back processes more events and takes longer to appear.Download Activity cleared after publish. The profile asks you to validate again and sign-in dates stop updating.Job guard. A run in progress blocks a new run (G2).Token expired. This job is often the first to show the expired-token message (E).Older application versions. Update if the job fails with a null property message (G6). Verify. The job completes and last activity populates for users who signed in. N. No reclamation candidates, or wrong ones Symptoms. Inactive users get no candidate; active users are proposed for removal. Where to check. The application's reclamation rule; subscriptions' last activity; existing candidates. Causes and fixes. Last activity blank or incomplete. Candidates depend on single sign-on dates; fix L and M first.Rule configuration. A reclamation rule is created automatically for the application's product, once; the code passes a threshold of 30, so confirm the value in the rule and adjust. Review all automatically generated rules.SSO shows sign-in, not use. A user can use an application without a fresh Okta sign-in; review candidates before reclaiming.User empty. With Notify user on, a candidate without a user goes to Attention Required; fix K.Candidate states. Attention Required, Ready, Awaiting User, Awaiting Approval, Awaiting Revocation, Closed Complete, Closed Skipped, Closed Canceled (cancelled when activity is detected).Do not approve automatically. Reclaim removes application access (O). Verify. A user inactive beyond the threshold receives one candidate; active users do not. O. Reclaim failsThe reclamation of user subscriptions will not be successful because the Reclaim subscription checkbox isn't selected on the integration profile.Directory user with UPN <name> does not exist Symptoms. The reclamation of user subscriptions will not be successful because the Reclaim subscription checkbox isn't selected on the integration profile.Directory user with UPN <name> does not exist401, 403 or 404 on the revoke action. Where to check. The candidate's banner; the Flow Designer execution of Revoke user application access; the user's assignment in Okta. Causes and fixes. Reclaim not configured. Select Reclaim subscriptions, validate and publish. Validation does not test reclaim; test with one candidate.Role or scope. Reclaim needs okta.apps.manage and an Application administrator; a read-only token fails (D).Token. Sign-in failed; see E.Group-sourced access. See P.User already removed. The user or assignment no longer exists in Okta; confirm and close the candidate.Directory user missing. The directory download has not yet returned this user, or the user principal name changed; run the directory jobs. Verify. The user no longer has access to the application in Okta, the candidate closes and the subscription is removed on the next run. P. Group-based access cannot be reclaimed; the user returnsThe user cannot be removed through reclamation because they belong to the <group names>. Please remove the user's access to the application in the SSO portal and set the reclamation candidate state to Closed Complete. Symptoms. The user cannot be removed through reclamation because they belong to the <group names>. Please remove the user's access to the application in the SSO portal and set the reclamation candidate state to Closed Complete.A user you reclaimed still appears or comes back. Where to check. The user's groups in Okta; the application's assignments; the candidate. Causes and fixes. Group access is not removed automatically. One group can give access to several applications, so removing a user from a group can have effects on other applications. Remove the user's access in Okta yourself, then set the candidate to Closed Complete.User assigned both ways. If the user has direct access and group access, removing the direct one leaves the group access; the subscription remains.User returns. Access given again in Okta (a rule, group or request) creates the subscription on the next run.Okta account not deleted. Reclaim removes application access only; the Okta account remains.Wrong user removed. ServiceNow does not reverse a reclaim; restore the assignment in Okta. Verify. The user has no access path left in Okta and the candidate is Closed Complete. Q. Rate limits, timeouts, first run and large organizations Symptoms. 429 Too Many Requests; long or timed-out runs; the first run keeps failing at group memberships. Where to check. The flow execution timing; the outbound HTTP log; the first run's Directory Job Results. Causes and fixes. Rate limiting. HTTP 429 means Okta is limiting requests. Rerun off peak and avoid starting several jobs together. Okta's limits are not documented in the sources.First run of Download Group Membership. The first run of this job can fail; rerun it after the users and groups jobs have completed.Partial failure. A group membership run that failed part way can pull fewer subscriptions next time on older versions; update, then rerun.Order of work. Run the directory jobs before connecting applications and compare counts after.Network. Check the proxy, MID Server or firewall path from the instance to your Okta domain; browser-style errors about redirect URIs point to F. Verify. A complete run without errors and a normal duration. R. Problems after a clone, upgrade or repair Symptoms. Validate or Publish missing after an upgrade; the token fails after a clone; the Okta profile type or jobs are missing. Where to check. Installed versions; customizations of SaaS License Management; the connection and OAuth credential; the redirect URI in Okta. Causes and fixes. Token after a clone. Tokens do not carry over; add the target instance's redirect URI to the Okta application, then recreate the token with Create and Get OAuth Token and validate.Okta Spoke missing. Reselect the Okta Spoke optional feature (A1).Jobs duplicated or inactive after a clone. Check the five jobs, remove duplicates, and let the profile republish.Form damaged by customization. Check customized files for the profile form, set them to be replaced on upgrade, then repair only SaaS License Management.Versions out of step. Update SaaS License Management, the Okta Spoke and the Software Asset Management Spoke together. Verify. Validation succeeds and the jobs complete in the target instance. 6. Cause-specific correction and controlled recovery Validation, publish, downloads and reclaim are write operations; reclaim also removes application access in Okta. Obtain approval before running them in production. Established causeCorrection ownerControlled recovery and stop conditionApplication, optional feature or spokeServiceNow platform administratorUpdate, validate, publishOkta application, scopes or roleOkta administrator and integration ownerFix the application, get a new token, validateToken expiryIntegration ownerGet a new token, confirm a run completesOrganization or URLsIntegration ownerCorrect the URLs, recreate the token, validateCoverage (assignments, exclusions)Integration ownerUse exclusion rules, run once, compare countsModel, mapping and duplicatesSAM administratorCreate models and entitlements, resolve duplicates, rerunLast activitySAM integration ownerRun after a good directory download, check logsReclaimSAM process owner and Okta Application administratorReview candidates, reclaim one first, confirm in OktaClone, upgrade, repairPlatform ownerRestore out-of-box components, recreate the token, validate, run once 7. Verification criteria and recovery evidence Verification layerEvidence requiredWhat does not satisfy itConfigurationPublished profile, valid token, URLs matching the organizationA Published status after an unvalidated connection changeExecutionCompleted directory and SSO job resultsA scheduled job that existsCoverageSubscriptions match assigned users of the connected applications in OktaTotals that include applications not connectedMatchingSoftware model and user on every subscriptionRaw identifiers as display namesActivityRecent single sign-on date for a known active userBlank activity read as inactivityReclaimApplication access removed in OktaCandidate closed without the Okta change 8. Escalation evidence to collect Application, optional feature, spoke and platform versions; recent upgrades, repairs or clones.Profile status, selected options and the Okta roles of the signing-in user (no tokens or secrets).Job name, run time in UTC, job result status and message; the Flow Designer action and error; the matching system log lines and HTTP status.Counts of users, groups, applications and subscriptions in ServiceNow and in Okta.Steps already taken and results. Never include tokens, client secrets, Okta domains or user names in shared evidence. 9. References, processing rules and known limitations Key records SSO jobs: SAM - SSO Okta download applications and SAM - SSO Okta update connected applications (daily, table sam_sso_sysauto_script, results in sam_sso_job_log).Directory jobs: Download Users, Download Groups, Download Group Membership.Okta Spoke actions seen in the integration: user list, group list, application list, users and groups with access to an application, system log lookup, Revoke user application access.Profile table samp_sso_integration_profile; applications samp_sso_application; subscriptions samp_sso_subscription; assignments m2m_sso_user_application and m2m_sso_group_application; group mappings samp_sso_group_m2m_sw_model; directory data directory_integration, directory_user, directory_group, m2m_directory_group_user; reclamation samp_sso_application_reclamation_rule and samp_sso_application_reclamation_candidate; roles samp_sso_application_role.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 Subscriptions exist only for connected applications, and a software model is required to connect.Users assigned directly are processed first, then groups and their child groups.Last activity is the last successful single sign-on event, read from the last sync time and never from more than 60 days back.Applications are listed from active Okta applications; later runs follow application lifecycle events while the same connection is used.A run does not start while an earlier run of the same job is in progress.Reclaim removes application access for direct assignments only; group-based access is removed in Okta by you.Do not delete the OAuth 2.0 credential record of the connection. Known limitations Okta rate limits, token lifetimes and the exact Okta REST calls behind each spoke action are not documented in the sources used here.Whether deactivated or suspended Okta users are returned by the directory download is not stated.Reclaim removes application assignment, not the Okta account; group-based removal is not automated.SSO shows sign-in, not detailed use; direct integrations give more detail.The legacy API-token route is not covered; the integration is documented for OAuth 2.0.Microsoft Entra ID is covered separately. Documentation ServiceNow product documentation for your release: Integrating with Okta and Okta SSO direct integration profile under Software Asset Management > SaaS License Management > Integrate with SSO providers.Okta documentation: creating an OAuth 2.0 application, administrator roles and OAuth scopes.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 Okta 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 Okta email 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 subscriptions > SSO integration profiles and open the Okta 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 This applies to subscriptions that a download creates. For SSO subscriptions the user comes from the linked directory user, so fix the Okta-to-sys_user match in branch K first; the sources do not say whether the rule skill runs for SSO subscriptions. 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 update connected applications job 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 Okta user email 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.