Troubleshooting ServiceNow Software Asset Management Google Workspace integration: Complete Troubleshooting Guide; subscriptions, 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 Google Workspace integration: subscriptions, 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 Google Workspace direct integration profile (profile type gsuite_subscription, label Google Workspace Subscription; earlier versions and some screens call it G Suite). Unlike the subflow-based integrations, this one runs on a dedicated script (SAMSaasGSuiteIntegration). It signs in with OAuth 2.0 using the consent of a Google administrator, then reads Google's Admin SDK Directory, Licensing and Reports APIs. The profile has three capabilities: download subscriptions (mandatory), download activity and reclaim subscriptions. What reclaim does. Reclaiming a Google subscription transfers all of the user's data to the administrator who authorized the connection and then permanently deletes the Google user. It does not just remove a license, suspend or archive the account. Read branch O before enabling or approving reclaim. It does not cover Google SSO, Google Cloud discovery or Google Workspace usage in other ServiceNow products. Applies to: SAM Professional with the Software Asset Management - SaaS License Management (sn_sam_saas_int) Store application. Many Google fixes ship through that application, so keep it current and compare with the release documentation before applying a version-specific conclusion. 2. Implementation checklist CheckWhere and what to inspectReady conditionApplicationApplication Manager: SaaS License ManagementInstalled and currentRoles (ServiceNow)User creating the profilesam_integrator or sam_adminGoogle admin accountGoogle Admin consoleAn administrator with Admin API privileges: Users Read for download and activity, and Super Administrator if reclaim is usedGoogle Cloud projectGoogle Cloud consoleA project created for the integrationEnabled APIsGoogle Cloud console > LibraryEnterprise License Manager API, Admin SDK API and Google People API enabledOAuth consent screenGoogle Cloud console > OAuth consent screenApp name and support email set; Audience: Internal; authorized domain service-now.com; developer contact emailScopes on the consent screenSame > Add or remove scopes > Manually add scopesThe nine scopes belowOAuth clientCredentials > Create credentials > OAuth client IDApplication type Web applicationOrigins and redirectOAuth clientAuthorized JavaScript origin https://<your-instance>.service-now.com; authorized redirect URI https://<your-instance>.service-now.com/oauth_redirect.doProfileSoftware Asset Workspace > License operations > User subscriptions > Direct integration profiles > New > Google WorkspaceDisplay name, Client ID, Client secret; redirect URL filled in automaticallyAuthorizationProfile > Get OAuth TokenSigned in as the intended Google administrator and Allow clickedValidation and publishProfile > Validate ConnectionSucceeds; jobs are created only after successful validationJobsProfile > Scheduled JobsSAM - Refresh <name> Subscriptions and, with activity, an events (activity) job; active, no duplicates, Run as an administrator account (see E)ContentProduct definitions for GoogleCurrent, so Google license types map to modelsUserssys_user email versus Google primary emailResolvable, or user resolution rules exist The nine scopes All scopes start with https://www.googleapis.com/auth/. apps.licensingadmin.directory.useradmin.directory.user.readonlyadmin.directory.domain.readonlyadmin.datatransferadmin.datatransfer.readonlyadmin.reports.usage.readonlyuserinfo.profileuserinfo.email The integration registers all nine on its OAuth entity regardless of which options are selected. Minimum Google permissions by process ProcessGoogle roleScopes usedDownload subscriptionsAdmin API privileges: Users Readadmin.directory.user.readonly, admin.directory.domain.readonly, apps.licensingPull user activityAdmin API privileges: Users Readadmin.directory.user.readonly, admin.reports.usage.readonlyReclaim subscriptionsSuper Administratoradmin.directory.user.readonly, userinfo.email, userinfo.profile, admin.datatransfer.readonly, admin.directory.user What happens when a setting is missing or wrong Setting, field or propertyIf it is missing or wrongTypical symptomBlank Client ID, secret or redirect URLConnection cannot be createdInvalid input: only blankspaces not allowedA scope not registered on the OAuth entityAuthorization lacks that permissionOAuth entity scope records for scope: <scope>, are not created successfullyGet OAuth Token not completedNo token to sendNo entity profile found for oAuth entity '<name>'Redirect URI or origin differs from the profileGoogle refuses the sign-inGoogle error page after Allow, or no tokenConsent screen audience not InternalTokens may be limited by GoogleAuthorization works for a while, then stops (general Google behavior for apps in testing)Admin SDK, Licensing or People API not enabledGoogle refuses the requestValidation shows only Connection validation failed. Verify the configurations you have provided and then retry.Authorizing user not a Super AdministratorData transfer and user delete refusedReclaim fails after a successful validation (validation does not test reclaim)Reports scope or API missingNo usage report can be readNo usage report found in last 60 days. Contact Google SupportAccount without a primary domainThe licensing query cannot be builtDownload fails or returns no licensesJob Run as user without the admin role (Zurich and later)Token cannot be readThe REST API call failed with status code: 401 with the node log No token in OAuth2ProfileDownload activity clearedEvents job not created or deletedNo activity job; last activity blankReclaim subscriptions clearedCandidates created, reclaim never runsThe reclamation of user subscriptions will not be successful because the Reclaim subscription checkbox isn't selected on the integration profile.Profile edited after publishStatus returns to DraftJobs stop until validated and published againRule Applies to left on Google WorkspaceThe profile is listed as G Suite SubscriptionUser resolution rule cannot be assigned to the profileLicense type not in contentNo product definition for the licenseEntries under Unrecognized Subscription Identifiers; empty software modelNo matching sys_userSubscription user stays emptyReconciliation consumes no rightDebug properties left onExtra loggingSlow instance after troubleshooting 3. Symptoms and expected behavior SymptomFirst branchHealthy evidence to seekGoogle option, profile type or jobs missingAGoogle Workspace profile type available, jobs listedCannot save, publish, or profile back in DraftBStatus Published with its jobsValidate Connection failsCValidation successfulNo token, sign-in or consent errorsDToken present401 on scheduled jobsEJobs complete with the admin Run as userAPI not enabled, scope or permission errorsFDirectory and licensing requests return 200Customer ID or primary domain problemsGPrimary domain found, licensing requests succeedRefresh job failedHCompleted row in the job logFewer subscriptions than Google showsILicensed users per SKU matchSeveral SKUs per user, or unmapped license typesJOne subscription per user per SKU, model on eachUser empty or wrongKIntended sys_user linkedLast activity blank or staleLRecent usage-report dateUsage report errorsMActivity job completesNo reclamation candidatesNCandidate for a known inactive userReclaim fails, or deleted a userOData transferred and user handled as intendedRate limits, timeoutsPNormal run durationStale subscriptions or orphan rulesQCounts and rules match GoogleProblems after clone, upgrade or repairRValidated profile, current versions A healthy download creates one subscription per user per license assignment. Users with no license do not appear as subscriptions. Suspended users keep their record with a suspended state. 4. Execution path and evidence correlation Hover or tap a step to see what breaks there; click it to open the matching branch.SetupConnectionCollectionMatchingWriteDownstream Subscription downloaddaily 1Published profilegsuite_subscription, validated, jobs createdBreaks here: Profile type missing, back in DraftOpen branch B →2Refresh jobSAM - Refresh <name> Subscriptions, Run as adminBreaks here: Failed run; 401 on Zurich and laterOpen branch E →3OAuth consentInternal audience, Allow by a Google adminBreaks here: No entity profile found; redirect URIOpen branch D →4APIs and scopesLicense Manager, Admin SDK, People; nine scopesBreaks here: Generic failure message; 403Open branch F →5Customer and domainCustomer ID from first user; primary domainBreaks here: Licensing calls fail without a primary domainOpen branch G →6Directory usersActive and suspended, 500 per pageBreaks here: Missing users; group addressesOpen branch I →7License assignmentsWorkspace, archived users, Vault by SKUBreaks here: Unlicensed users dropped; several SKUs per userOpen branch J →8Model and userSKU to model; primary email to sys_userBreaks here: Unrecognized SKU; user emptyOpen branch K →9Upsert and cleanupDeactivate, upsert, delete licenses not returnedBreaks here: Stale subscriptions, orphan rulesOpen branch Q → Activity and reclaimdaily 1Events jobCreated only for a validated profile with Download activityBreaks here: Job missingOpen branch L →2Usage report probeLatest usable report, back up to 60 daysBreaks here: No usage report found in last 60 daysOpen branch M →3Last activityReport date, 2-3 days behind GoogleBreaks here: Blank or stale activityOpen branch L →4Candidates60-day rule per productBreaks here: No candidatesOpen branch N →5Transfer dataAll data to the authorizing adminBreaks here: Needs Super AdministratorOpen branch O →6Delete userPermanently deletes the Google userBreaks here: Irreversible after the recovery windowOpen branch O →7After clone or upgradeToken re-authorized, Run as adminBreaks here: Stale tokens, missing buttonsOpen branch R → Subscription download path Subscriptions job → profile and OAuth token → customer ID (first directory user) → primary domain → directory users (500 per page) → license assignments for Google Workspace, archived users and Vault (1,000 per page) → one subscription per user and SKU → delete users and licenses not returned → reclamation rules (60 days) → events job on the first sync → user resolution Activity and reclaim path Events job (only after a good download) → latest usable usage report (probe back up to 60 days) → daily usage reports since the last sync → last activity set to the report date → candidates → reclaim: transfer the user's data to the authorizing admin, then delete the Google user StageRecord or source to inspectBehaviorJobsProfile > Scheduled JobsCreated on publish: a subscriptions job and, with activity, an events job created only for a validated profileJob resultProfile > Scheduled Job ResultsStatus and message of each runAuthenticationOAuth entity created for the profileOAuth 2.0 authorization code with user consent, offline access and a forced consent promptCustomer and domainDirectory users and domainsThe customer ID is read from the first directory user; the primary domain is used for the licensing queriesUsersDirectory APIEvery directory user becomes a record first (active or suspended)LicensesLicensing APIAssignments for Google Workspace, archived users and Vault; the SKU becomes the subscription identifier; users without a license are removedCleanupProfile subscriptionsRows are deactivated before the pull; rows not returned are deleted; on failure active flags are restoredActivityReports APIDaily usage reports; Google's reports lag by two to three days; last activity is the report date, not the exact sign-in timeReclaimData Transfer API, Directory APITransfers all of the user's data to the authorizing admin, then deletes the user Correlate one execution before deciding a cause Record the job, profile, start and end in UTC, and the application version.Open the profile's Scheduled Job Results and read the message.Open System Logs > All and filter Message contains Gsuite or downloadEvents for the same window; for validation also look for Connection validation was not successful and Error in validateActivityConnection.Open System Logs > Outbound HTTP Requests filtered on URL contains googleapis; read status and response body. Google API errors are not translated by the integration, so the real cause is only in this log.For deeper tracing, temporarily set glide.outbound_http_log.override to true and glide.outbound_http_log.override.level 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 <name>, <scope> or <id> are placeholders; keep the real values private. Start every investigation here 1Job resultProfile > Scheduled Job ResultsStatus and message of the run 2System logMessage contains Gsuite or downloadEventsThe script step that failed 3Outbound HTTPURL contains googleapisThe real Google error; the UI message is generic 4Pick a branchMatch the message below401 on jobs → E, no token → D, 403 → F, no usage report → M Start every investigation the same way. (1) The profile's Scheduled Job Results. (2) System Logs > All filtered on Gsuite. (3) System Logs > Outbound HTTP Requests with URL containing googleapis. Read the response body: for Google, the status code and body in the outbound log are the only place the real error appears. A. Google option, profile type or jobs are missingB. The connection cannot be created, or the profile cannot be publishedC. Validate Connection failsD. No token, sign-in or consent errorsE. HTTP 401 on the scheduled jobs after an upgrade to Zurich or laterF. APIs not enabled, scopes or permissionsG. Customer ID or primary domain problemsH. The refresh job failsI. Fewer subscriptions than Google showsJ. Several licenses per user, or unmapped license typesK. Subscription user is empty or wrongL. Last activity is blank or staleM. Usage report errorsN. No reclamation candidates for GoogleO. Reclaim fails, or deleted a userP. Rate limits, timeouts and large domainsQ. Stale subscriptions and orphan reclamation rulesR. Problems after a clone, upgrade or repair A. Google option, profile type or jobs are missing Symptoms. Google Workspace is not offered when creating a direct integration profile.The product is called G Suite on some screens or in older documentation.No SAM - Refresh <name> Subscriptions job after publishing. Where to check. Application Manager > SaaS License Management version; the New profile choices; the profile's Scheduled Jobs list. Causes and fixes. Application missing or old. Install or update SaaS License Management; the Google profile ships with it.Naming. Google renamed G Suite to Google Workspace; the profile type is the same, and some places still show G Suite (for example a user resolution rule's Applies to list, branch K).Core UI create option inactive. With Software Asset Workspace installed, create the profile from License operations > User subscriptions > Direct integration profiles > New > Google Workspace.Jobs not created. Jobs are created only after validation succeeds and, for the activity job, Download activity is selected (B). Verify. The profile shows Published with its jobs. B. The connection cannot be created, or the profile cannot be publishedInvalid input: only blankspaces not allowedOAuth entity scope records for scope: <scope>, are not created successfullyProfile not found! Symptoms. Invalid input: only blankspaces not allowedOAuth entity scope records for scope: <scope>, are not created successfullyProfile not found!No Publish option, or a published profile is back in Draft. Where to check. The profile form (Client ID, Client secret, Redirect url); Status; the OAuth entity created for the profile. Causes and fixes. Blank fields. Display name, Client ID, Client secret and Redirect url are mandatory and cannot contain only spaces. Enter all values and save.Scope records not created. The integration registers the nine scopes when it creates the OAuth entity; if the message names a scope, update SaaS License Management and recreate the connection.Profile removed. Profile not found! means the job refers to a deleted profile; delete the orphan job and republish.Not validated. Jobs and publishing depend on Validate Connection succeeding (C).Edited after publish. Changing Download activity or the connection returns the profile to Draft; validate and publish again. Verify. Status Published, with the subscriptions job and, if selected, the events job. C. Validate Connection failsConnection validation failed. Verify the configurations you have provided and then retry.Connection validation was not successfulError in validateActivityConnectionNo usage report found in last 60 days. Contact Google Support Symptoms. Connection validation failed. Verify the configurations you have provided and then retry.Connection validation was not successful in the system log, with a script name in the context.Error in validateActivityConnection in the system log.No usage report found in last 60 days. Contact Google Support Where to check. System Logs > All around the validation; the outbound log for the failing googleapis request and its body. Causes and fixes. The message is generic. Google API errors (an API that is not enabled, insufficient permission, an unauthorized request) are not matched by name; they all show the same generic message. Read the response body in the outbound log to find the real cause (F).What validation tests. It reads the customer ID and primary domain, one page of directory users and one page of licenses for each product. With Download activity selected it also looks for a usable usage report. It does not test reclaim, so a pass does not prove reclaim works.Usage report probe. A missing Reports scope or a refused Reports request appears as No usage report found in last 60 days. Contact Google Support, because errors for individual days are not reported; fix the scope or API (F) and validate again.No token. See D.Where Now Assist for SAM is available, use Troubleshoot on the validation error banner (section 10). Verify. Validation successful and the jobs are created. D. No token, sign-in or consent errorsNo entity profile found for oAuth entity '<name>' Symptoms. No entity profile found for oAuth entity '<name>'Google shows an error page after Allow, or the popup never completes.Authorization worked earlier and then stopped. Where to check. System OAuth > Application Registry and Manage Tokens for the profile's entity; the Google Cloud OAuth client and consent screen. Causes and fixes. Authorization not completed. The message means no OAuth entity profile exists yet: use Get OAuth Token, choose the Google administrator and click Allow.Redirect or origin mismatch. The Google OAuth client must list https://<your-instance>.service-now.com/oauth_redirect.do as an authorized redirect URI and the instance URL as an authorized JavaScript origin, and they must match the profile.Consent screen not Internal. Create the consent screen with the Internal audience. Google can expire refresh tokens for apps that are not Internal and still in testing; if tokens stop working after a short time, recreate the app with the Internal audience and authorize again (general Google behavior).Wrong Client ID or secret. Copy them again from the Google OAuth client, update the profile and authorize again.Token revoked or expired. Click Get OAuth Token again.Admin account choice. The administrator who clicks Allow also receives the data of reclaimed users (O); choose the account deliberately. Verify. A token exists and validation succeeds. E. HTTP 401 on the scheduled jobs after an upgrade to Zurich or laterThe REST API call failed with status code: 401Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential.OAuthAPI system can't read table oauth_credentialNo token in OAuth2Profile Symptoms. The REST API call failed with status code: 401Outbound response: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential.Node log: OAuthAPI system can't read table oauth_credential followed by No token in OAuth2Profile. Where to check. The node log for the run; the scheduled job's Run as field. Causes and fixes. Enhanced security on credentials. An access rule on the credential table added in Zurich limits reading to administrators, and it also blocks the system user that jobs run as. A new Google token does not help because the token was never read.Fix. Set the scheduled jobs' Run as to a user that has the admin role and verify one run succeeds. Do not disable the access rule.A real Google 401. If the node log does not show the message above, the token is invalid; see D. Verify. The next run completes and the node log no longer shows the credential read error. F. APIs not enabled, scopes or permissionsConnection validation failed. Verify the configurations you have provided and then retry. Symptoms. HTTP 403 or 401 in the outbound log from googleapis.com.Google response bodies about an API not being enabled, insufficient permission, or not being authorized to access the resource.Connection validation failed. Verify the configurations you have provided and then retry. Where to check. The outbound response body; Google Cloud console > Library and OAuth consent screen; the Google role of the person who clicked Allow. Causes and fixes. API not enabled. Enable Enterprise License Manager API, Admin SDK API and Google People API in the Google Cloud project (the Reports and Directory APIs are part of the Admin SDK).Scope missing on the consent screen. Add the nine scopes (section 2) and authorize again so a new token carries them.Role missing. The authorizing user needs Admin API privileges: Users Read; reclaim needs a Super Administrator. A user without the role gets 401 or 403 from Google; fix the role and authorize again.Reclaim returns 403. The authorizing account needs the data transfer and directory write scopes and the Super Administrator role (O).Admin policy. An admin policy or restriction on the app can block it; allow the app in the Google Admin console. Verify. The directory, licensing and reports requests return 200. G. Customer ID or primary domain problems Symptoms. Licensing requests fail or return nothing; only some domains are covered; secondary-domain users are missing. Where to check. The directory users and domains requests; the Google Admin console's domains. Causes and fixes. Customer ID. The integration reads the customer ID from the first directory user; an account with no readable users cannot continue.Primary domain. The licensing queries use the primary domain; if no domain is marked primary, the licensing call fails. Mark the primary domain in Google.Secondary domains (older versions). Older versions pulled only the primary domain; update SaaS License Management.Several Google tenants. Each tenant needs its own profile and authorization. Verify. The licensing request returns assignments and subscriptions appear. H. The refresh job failsThe REST API call failed with status code: <code>createSubscriptionRecord() requires externalUserIdCannot find function <name> in object [object Object] Symptoms. Scheduled Job Results shows Failed with: The REST API call failed with status code: <code>createSubscriptionRecord() requires externalUserIdCannot find function <name> in object [object Object]Download fails with no detail beyond the wrapper message. Where to check. The job result; system log lines for Gsuite; the outbound log. Causes and fixes. Google API error. The status is Google's; read the body in the outbound log and fix the cause (D, E, F, G, P).User without an ID. Indicates an unexpected directory response; confirm the account and APIs.Outdated application. Missing-function errors mean SaaS License Management is out of step; update it and run the job once.Group address instead of a user (older versions). Older versions failed when a Google group address was returned as a user email; update the application.Failed run. A failed run restores active flags but does not undo deletions already made; fix the cause and rerun. Verify. The next run shows Completed and updated subscriptions. I. Fewer subscriptions than Google shows Symptoms. Users or licenses missing; suspended or archived users do not appear as expected; counts differ from the Google Admin console. Where to check. The licensing requests for each product; the user in Google (license, status, domain); exclusion rules on the profile. Causes and fixes. Unlicensed users. Users without a license assignment are removed after the pull, by design.Products read. Licenses are read for Google Workspace, archived users and Vault. Other Google products are not read.Suspended users. They keep a record with a suspended state.Exclusion rules. Subscription Identifier Exclusion Rule and Subscription User Exclusion Rule silently drop matching rows. Review both related lists.Secondary domains and Vault Former Employee licenses (older versions). Update the application.Empty directory or license pages. An empty page ends that product's loop without an error; confirm in the outbound log.Failed run. See H5. Verify. Counts per license match the Google Admin console. J. Several licenses per user, or unmapped license types Symptoms. A user with several Google licenses (for example Workspace and Vault) has only one subscription; a raw SKU ID as the display name; entries under Unrecognized Subscription Identifiers; archived users under the wrong model. Where to check. The user's license assignments in Google; the profile's Software Models and Unrecognized Subscription Identifiers; product definitions. Causes and fixes. Several licenses per user. On some versions a user licensed on several Google products keeps only one subscription; a fix is planned for a later release. Compare counts with the Google Admin console and update SaaS License Management when the fix ships.Content coverage. Content maps Google Workspace SKUs (Business Starter, Standard and Plus; Enterprise Starter, Standard and Plus; Frontline; Essentials), archived-user SKUs, legacy G Suite SKUs, Vault, Voice and Cloud Identity Premium. A SKU not in content cannot map to a model; open it under Unrecognized Subscription Identifiers, set the correct software model and save.Content out of date. Download current subscription-identifier content.Archived users. They are read from a separate product and map to the Workspace Archived User products.Duplicate models. Remove duplicates so a single model matches. Verify. Every subscription shows its model and Unrecognized Subscription Identifiers is empty. K. Subscription user is empty or wrong Symptoms. Subscriptions with an email but no User; a user resolution rule cannot be applied to Google; candidates in Attention Required. Where to check. sys_user email versus the Google primary email; User resolution rules; sn_itam_samp.user_resolution_exclude_table. Causes and fixes. No match. The Google primary email is matched to sys_user Email, or its local part to User ID. Align the data or add a user resolution rule (Software Asset Workspace > License operations > User resolution rules), then rerun the refresh job.Rule cannot be assigned. The rule's Applies to list shows the profile as G Suite Subscription (not Google Workspace). Choose G Suite Subscription, confirm the profile exists, and check that the rule appears in the list.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 each run. Verify. The subscription shows the intended user. L. Last activity is blank or staleSkipping update of last activity as latest usage report date is equal to last sync date Symptoms. Google subscriptions have no last activity, or it does not match the user's last sign-in; the log shows Skipping update of last activity as latest usage report date is equal to last sync date. Where to check. The events job and its result; Download activity on the profile; the Reports requests in the outbound log. Causes and fixes. How activity works. Last activity is the date of the usage report in which the user was active, not the exact sign-in time. Google's reports lag by two to three days, so recent activity can be missing for a few days.Skip message. The message is informational: the newest usable report is the same date as the last sync, so nothing changed.Events job missing. It is created only for a validated profile with Download activity selected. Select it, validate and publish.Download not healthy. The events job runs after a good subscriptions run (H).Scope and role. admin.reports.usage.readonly and the Users Read role are required (F).What counts as activity. A user is active when any last-activity date parameter in the report matches the report date or any usage counter is above zero (sign-in, Gmail, Docs and Drive usage).Look-back. Reports are read from the last sync, at most 60 days back; older activity is not backfilled.Date format. If the instance date format was changed from the default, stale-license evaluation can give wrong results; keep the default format or rely on the Last activity field.Never cleared. Last activity only moves forward. Verify. A user who was active two days ago shows that report's date after the next events run. M. Usage report errorsNo usage report found in last 60 days. Contact Google Support Symptoms. No usage report found in last 60 days. Contact Google SupportThe events job fails or ends without updating anything. Where to check. The events job result; the Reports requests; the Admin SDK API status. Causes and fixes. Reports scope or API missing. Add admin.reports.usage.readonly, enable the Admin SDK API and authorize again (F).Report not ready. Google may not have produced a usable report for the recent days; the job probes back up to 60 days and then fails. Rerun later; if reports are missing for the whole period, contact Google Support.Partial data. A report is accepted only when it has all expected parameters or no partial-data warning; a day with partial data is skipped.Events job missing or not validated. See L3. Verify. The events job completes and last activity updates. N. No reclamation candidates for Google Symptoms. Inactive users get no removal candidate. Where to check. The Google reclamation rules; subscriptions' user and last activity; existing candidates. Causes and fixes. Last activity blank. Candidates depend on activity; fix L first. Candidates are generated after activity has been processed.Rule configuration. A rule per product (Google Workspace and Workspace Archived User) is created automatically with a 60-day threshold, once per product; later edits are not overwritten. Confirm Create reclamation candidate is checked and the threshold is what you want.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).Rule days. The rule's Last activity threshold can look back up to one year. Verify. A known user inactive beyond the threshold receives one candidate. O. Reclaim fails, or deleted a userThe reclamation of user subscriptions will not be successful because the Reclaim subscription checkbox isn't selected on the integration profile. Symptoms. The reclamation of user subscriptions will not be successful because the Reclaim subscription checkbox isn't selected on the integration profile.HTTP 403 from the Directory or Data Transfer API in the outbound log.Candidate in Attention Required with a red banner, or stuck in Awaiting Revocation.The user's data moved and the user no longer exists in Google. Where to check. The candidate's banner; the outbound log for admin/datatransfer and admin/directory/v1/users; the Super Administrator role of the authorizing account. Causes and fixes. Know what reclaim does. It starts a Data Transfer of all of the user's applications' data to the authorizing administrator, waits for it to complete, and then permanently deletes the Google user and the subscription. Review every candidate before approving. Google keeps a deleted user recoverable for a limited time (general Google behavior), so act quickly if a deletion was a mistake.Reclaim not configured. Select Reclaim subscriptions, validate and publish.Not covered by validation. The first failure appears at reclaim time; test with one candidate.Permissions. Reclaim needs a Super Administrator who authorized with the data transfer and directory write scopes (F). A 403 means the authorizing account or scopes are wrong; authorize again.Destination admin. The administrator who clicked Allow receives the files. To change the destination, use Get OAuth Token again and choose another administrator; you can then reclaim the old administrator to move all of their files, including transferred ones, to the new one.Transfer in progress. Candidates stay in Awaiting Revocation while the transfer runs and are checked again later; failures move the candidate to Attention Required with the error.Error shown although the user was removed. If the user is already gone in Google but the candidate shows Attention Required, confirm the deletion in the Google Admin console and close the candidate; the subscription is removed on the next download. Verify. The data is in the destination administrator's account, the user is deleted, the candidate closes and the subscription is removed. P. Rate limits, timeouts and large domains{"code":429,"message":"You have reached the maximum daily rate limit for this API."} Symptoms. HTTP 429 or 5xx in the outbound log; {"code":429,"message":"You have reached the maximum daily rate limit for this API."}; very long runs; failures on large domains. Where to check. The outbound log statuses and timing; Google Cloud console > APIs & Services > Quotas. Causes and fixes. Retry behavior. A 429 or any 5xx is retried up to three times, waiting 60, 120 and 240 seconds; other errors fail the call.Quota exhausted. If the Admin SDK quota for the project is used up, wait for the quota to reset (the next day) or request a higher quota in the Google Cloud project.Avoid overlap. Do not run the subscriptions and events jobs at the same time, and avoid manual runs near scheduled runs; in older versions overlapping runs left some subscriptions without a last activity stamp.Large domains. Users are read 500 per page and licenses 1,000 per page; allow the run to finish. Verify. A complete run without unhandled 429 or 5xx and a normal duration. Q. Stale subscriptions and orphan reclamation rules Symptoms. A subscription remains after the license was removed in Google; a Google Archived User reclamation rule remains after deleting the profile. Where to check. The subscription versus the user's licenses in Google; reclamation rules for the Google products. Causes and fixes. Stale subscriptions. Removal relies on the next successful download comparing licensed users; update SaaS License Management and rerun the download.Orphan rules. Deleting a profile leaves its reclamation rules behind in some versions. Delete the leftover rules manually before recreating the integration, and update the application.Failed downloads. A failed run does not remove subscriptions; fix H first. Verify. Subscription counts and rules match Google after the next download. R. Problems after a clone, upgrade or repair Symptoms. Validate or Publish missing after an upgrade; tokens fail after a clone; profile form missing fields; 401 jobs after moving to Zurich. Where to check. Installed versions; customizations of SaaS License Management; token records; sys_trigger for upgrade fix jobs. Causes and fixes. Form damaged by customization. Check customized files for the profile form, set them to be replaced on upgrade, then repair only SaaS License Management.Upgrade fix jobs. They run as scheduled jobs and enable Validate Connection; check sys_trigger and let them finish.Tokens after a clone. OAuth tokens are instance-specific; authorize again on the target instance, or disable the jobs on the cloned instance.Zurich or later. Set the job Run as to an administrator account (E).Versions out of step. Update SaaS License Management. Verify. Validation succeeds and both jobs complete in the target instance. 6. Cause-specific correction and controlled recovery Validation, publish, downloads, activity runs and reclaim are write operations; reclaim also deletes Google users. Obtain approval before running them in production. Established causeCorrection ownerControlled recovery and stop conditionApplication or profile typeServiceNow platform administratorUpdate, validate, publishGoogle Cloud project, APIs, consent screenGoogle administrator and integration ownerEnable APIs, fix scopes and redirect URI, authorize againRoles and tokenGoogle Super AdministratorFix the role, get a new token, validateJob Run as (Zurich and later)Platform administratorUse an admin Run as user, rerunCoverage and mappingIntegration ownerReview rules and content, run once, compare counts per licenseUser resolutionSAM administratorFix data or rules, rerunActivitySAM integration ownerEnable activity, run after a good downloadReclaimSAM process owner and Google Super AdministratorReview candidates, reclaim one first, confirm the data transferClone, upgrade, repairPlatform ownerRestore out-of-box components, authorize again, validate, run once 7. Verification criteria and recovery evidence Verification layerEvidence requiredWhat does not satisfy itConfigurationPublished profile, token present, APIs enabled, scopes on the consent screenA Published status after an unvalidated connection changeExecutionCompleted job result for subscriptions and for eventsA scheduled job that existsCoverageLicenses per SKU and per user match the Google Admin consoleTotals that ignore users with several licensesMatchingModel and user on every subscriptionRaw SKU IDs as display namesActivityUsage-report date for a user active in the last few daysBlank activity read as inactivityReclaimData in the destination account and the intended user handlingCandidate closed without the Google change 8. Escalation evidence to collect Application and platform versions; recent upgrades, repairs or clones.Profile status, selected options (activity, reclaim), consent screen audience, and the role of the authorizing account.Job name, run time in UTC, job result status and message; the Gsuite log lines for the run.Outbound log entries: URL path, status and the Google error body (no tokens).Counts per license in Google and in ServiceNow; one affected user's licenses and status (no names).Whether the job Run as user has the admin role.Steps already taken and results. Never include client secrets, tokens, domain names or user names in shared evidence. 9. References, processing rules and known limitations Key records Jobs: SAM - Refresh <name> Subscriptions and the events (activity) job.Script: SAMSaasGSuiteIntegration. Google calls: Directory users and domains, Licensing assignments, Reports usage, Data Transfer, People.Data: samp_sw_subscription_profile, samp_sw_subscription, samp_sw_unrecognized_subscription_identifier, samp_discovered_user, exclusion rules samp_sw_subscription_id_excl_rule and samp_sw_subscription_user_excl_rule. System properties 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 OAuth 2.0 with administrator consent; the authorizing administrator receives reclaimed users' data.Users without a license assignment are removed from the results; suspended users keep a suspended record.Last activity is the usage-report date; Google's reports lag by two to three days; at most 60 days are read.A 429 or 5xx is retried three times (60, 120, 240 seconds).Reclaim transfers data and then deletes the user; validation does not test reclaim. Known limitations Google API errors are not translated; the real cause is only in the outbound log.Only Google Workspace, archived-user and Vault licenses are read.Google reports lag, so very recent activity is not available. Documentation ServiceNow product documentation for your release: Integrate with Google Workspace under Software Asset Management > SaaS License Management.Google documentation: OAuth consent screens, Admin SDK and Licensing APIs, and API quotas.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 Google Workspace 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 Google primary 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 subscription > Direct integration profiles and open the Google Workspace 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 Google Workspace 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 Google primary 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.