Troubleshooting ServiceNow SAM Dropbox integration: 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 Dropbox 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 Dropbox direct integration profile (profile type dropbox_subscription, label Dropbox Subscription). It runs on a dedicated script (SAMSaasDropboxIntegration), signs in with OAuth 2.0 using the consent of a Dropbox administrator, and reads the Dropbox team through the Dropbox API v2. The profile has three capabilities: download subscriptions (mandatory), download activity and reclaim subscriptions. What it counts. Every member returned by Dropbox becomes a subscription, whatever the member's status (active, invited or suspended). The subscription is keyed by the Dropbox team member ID, and the user principal name is the member's email. What reclaim does. Reclaiming a Dropbox subscription removes the member from the team: the member is first set to a member-only role, then suspended, then removed with their data wiped from the account, and their files are transferred to the administrator who authorized the connection. Read branches O and P before enabling or approving reclaim. It does not cover the Dropbox spoke used for file operations, Dropbox Sign (eSignature) or Dropbox in document management. Applies to: SAM Professional with the Software Asset Management - SaaS License Management (sn_sam_saas_int) Store application. Several Dropbox fixes ship in that application (token handling, profile creation, a single credential for reading and reclaim), 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_adminDropbox roleDropbox team admin consoleThe person who creates the app and authorizes holds the Security Admin roleDropbox appDropbox Developer Apps (App Console) > My Apps > Create AppScoped access, access type Full Dropbox, app namedApp permissionsApp > Permissions tabThe permissions below ticked and submittedApp key and secretApp > Settings tabApp key and App secret copied (they are the Client ID and Client Secret)Redirect URIApp > Settings tabhttps://<your-instance>.service-now.com/oauth_redirect.doProfileSoftware Asset Workspace > License operations > User subscriptions > Direct integration profiles > New > DropboxDisplay name, Client ID, Client secret; redirect URL filled in automaticallyAuthorizationProfile > Get OAuth TokenSigned in as the intended Dropbox administrator and Allow clickedValidation and publishProfile > Validate ConnectionSucceeds; jobs are created only after successful validationJobsProfile > Scheduled JobsSAM - Refresh <name> Subscriptions and, with activity, SAM - Refresh <name> Events; active, no duplicatesEntitlementsSoftware models for DropboxEntitlements created for the generated model, then reconciliation runUserssys_user email versus Dropbox emailResolvable, or user resolution rules exist Dropbox permissions and roles ProcessDropbox roleScopesDownload subscriptionsSecurity Adminteam_data.member, members.readPull user activitySecurity Adminteam_data.member, events.readReclaim subscriptionsSecurity Adminteam_info.read, members.write, members.delete The setup guide's app-creation checklist ticks team_info.read, members.write, members.delete, groups.read, events.read and team_data.member, but its scopes table also lists members.read for downloads. An app built only from the checklist may lack members.read; tick it as well and verify on a test authorization. The guide also describes the profile's access as "Full Dropbox" in one place and "Team member file access" in another; if authorization works with the permissions above, keep your configuration. 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 allowedApp cannot be registeredOAuth entity not createdOAuth record not created successfullyGet OAuth Token not completedNo token to sendNo entity profile found for oAuth entity '<id>'Redirect URI differs from the profileDropbox refuses the sign-inDropbox error page after sign-in, or no tokenmembers.read missingMember list refusedValidation fails; no subscriptionsevents.read missingAudit events refusedConnection validation failed. Insufficient scopes provided. Verify the configurations you have provided and then retry.team_data.member missingTeam data not readableValidation or download failsReclaim scopes missing (members.write, members.delete, team_info.read)Dropbox refuses removalThe Client Id and Client Secret used for this integration do not have permission to reclaim user accounts.Scopes added in the App Console after the token was issuedOld token keeps its old scopesSame errors until Get OAuth Token is run againConnection created before offline access was requestedNo refresh tokenJobs work at first, then fail with authentication errors after the token expiresDownload activity clearedEvents job not created or deletedNo SAM - Refresh <name> Events 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 againInvited or suspended membersThey are counted as subscriptionsHigher counts than active usersEntitlements missingNothing to reconcile againstCompliance shows nothingNo 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 seekDropbox option, profile type or jobs missingADropbox profile type available, jobs listedCannot create the connection or publishBStatus Published with its jobsValidate Connection failsCValidation successfulDropbox app, permissions or scopes problemsDToken with the required scopesToken expired, authentication fails after a whileEFresh token, jobs completingReclaimed files went to the wrong adminFFiles in the intended admin's accountRefresh job failedGCompleted row in the job logMore subscriptions than active usersHCounts match the Dropbox member listSeveral Dropbox teamsIOne profile and app per teamModel or entitlement problemsJDropbox model on every subscriptionUser empty or wrongKIntended sys_user linkedLast activity blank or staleLRecent sign-in or file activityEvents job fails, everyone looks inactiveMEvents job completesNo or wrong reclamation candidatesNCandidates only for truly inactive membersReclaim failsOMember removed and subscription closedAfter reclaim: data, recovery, stuck candidatesPFiles with the intended adminRate limits, timeoutsQNormal run durationProblems after clone, upgrade or repairRValidated profile, valid token A healthy download creates one subscription per Dropbox team member, keyed by team member ID and email. Subscriptions for members who no longer appear in the team list 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 downloaddaily 1Dropbox appScoped access; permissions incl. members.read, events.readBreaks here: Scopes missing; wrong roleOpen branch D →2AuthorizeGet OAuth Token as a Security Admin; offline accessBreaks here: No entity profile found; token expiresOpen branch E →3Validate and publishFirst page of members and events; not reclaimBreaks here: Insufficient scopes providedOpen branch C →4Subscriptions jobSAM - Refresh <name> SubscriptionsBreaks here: Failed run; blank spaces; profile not foundOpen branch G →5Team members/2/team/members/list, cursor paging, any statusBreaks here: Invited and suspended countedOpen branch H →6Team member ID and emailID is the identifier; email is the user principal nameBreaks here: Empty userOpen branch K →7Upsert and cleanupDeactivate, upsert, delete members not returnedBreaks here: Disappearing subscriptionsOpen branch H →8EntitlementsCreate for the generated Dropbox modelBreaks here: Compliance shows nothingOpen branch J → Activity and reclaimhourly events 1Events jobCreated only for a validated profile; after a good downloadBreaks here: Job missing; first run skipped (older)Open branch M →2Audit eventsSign-ins and file operations since the activity startBreaks here: events.read missing; 60-day windowOpen branch L →3Last activityMatched by team member ID; moves forward onlyBreaks here: Blank or stale activityOpen branch L →4Candidates60-day rule; invited and suspended often flaggedBreaks here: Wrong candidatesOpen branch N →5Reclaim stepsMember-only role, suspend, remove with data wipedBreaks here: Not allowed to reclaim; role or suspend failedOpen branch O →6Files and recoveryTransferred to the authorizing adminBreaks here: Wrong admin; not restorable from ServiceNowOpen branch P →7After clone or upgradeAuthorize again for a refresh tokenBreaks here: Stale tokens, missing buttonsOpen branch R → Subscription download path Subscriptions job → profile and OAuth token → member list (/2/team/members/list and continue, cursor paging) → one subscription per member (team member ID, email, joined date) → delete members not returned → reclamation rule (60 days) → events job on the first sync → user resolution Activity and reclaim path Events job (hourly, only after a good download) → audit events: sign-ins and file operations since the activity start date → matched by team member ID → last activity moved forward and events recorded → candidates → reclaim: set member-only role, suspend, remove with data wiped, files transferred to the authorizing admin StageRecord or source to inspectBehaviorJobsProfile > Scheduled JobsCreated on publish: a subscriptions job and, with activity, an events job that repeats every hourJob resultProfile > Scheduled Job ResultsStatus and message of each runAuthenticationOAuth entity created for the profileOAuth 2.0 authorization code; offline access requestedMembersPOST /2/team/members/list and .../continueAll members, any status; paged by cursorUpsertsamp_sw_subscriptionOne row per member; identifier = team member ID; email = user principal nameCleanupProfile subscriptionsRows are deactivated before the pull; rows not returned are deleted; on failure active flags are restoredEventsPOST /2/team_log/get_events and .../continueTwo categories read separately: sign-ins (successful logins only) and file operations; each event's team member ID is matched to a subscriptionLast activitySubscriptionLatest event time; only moves forwardReclaim/2/team/members/set_admin_permissions, /suspend, /removeRole to member-only, suspend without wiping, then remove with data wiped; files go to the authorizing admin; asynchronous 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 SAMSaasDropboxIntegration (the lines are prefixed downloadSubscription: or downloadEvents:) for the same window; for validation also look for Error in validateSubscriptionConnection and Error in validateActivityConnection.Open System Logs > Outbound HTTP Requests filtered on URL contains dropbox; read status and response body.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 <id>, <name> or <tag> are placeholders; keep the real values private. Start every investigation here 1Job resultProfile > Scheduled Job ResultsStatus and message of the run 2System logMessage contains SAMSaasDropboxIntegrationdownloadSubscription or downloadEvents error text 3Outbound HTTPURL contains dropboxStatus and the Dropbox error body 4Pick a branchMatch the message belowscopes → C/D, expired token → E, reclaim errors → O Start every investigation the same way. (1) The profile's Scheduled Job Results. (2) System Logs > All filtered on SAMSaasDropboxIntegration. (3) System Logs > Outbound HTTP Requests with URL containing dropbox. Read the response body, not only the status code. A. Dropbox option, profile type or jobs are missingB. The connection cannot be created, or the profile cannot be publishedC. Validate Connection failsD. Dropbox app, permissions or scope problemsE. Token expired or authentication fails after a whileF. Reclaimed files went to an unexpected adminG. The refresh job failsH. More (or fewer) subscriptions than active usersI. Several Dropbox teamsJ. Model or entitlement problemsK. Subscription user is empty or wrongL. Last activity is blank or staleM. Events job fails, or everyone looks inactiveN. No reclamation candidates, or wrong onesO. Reclaim failsP. After reclaim: data, recovery and stuck candidatesQ. Rate limits, timeouts and large teamsR. Problems after a clone, upgrade or repair A. Dropbox option, profile type or jobs are missing Symptoms. Dropbox is not offered when creating a direct integration profile.Creating the profile fails or cannot proceed (older versions).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 (profile creation problems were fixed in the 202503 line).Core UI create option inactive. With Software Asset Workspace installed, create the profile from License operations > User subscriptions > Direct integration profiles > New > Dropbox.Jobs not created. Jobs are created only after validation succeeds and, for the events 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 record not created successfullyDropbox integration profile not found! Symptoms. Invalid input: only blankspaces not allowedOAuth record not created successfullyDropbox integration profile 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.OAuth entity not created. Check the values for typos and update SaaS License Management, then recreate the connection.Profile removed. Dropbox integration profile not found! means a job refers to a deleted profile; delete the orphan job and republish.Not validated. Jobs are created only after Validate Connection succeeds (C).Edited after publish. Clearing Download activity or changing the connection returns the profile to Draft, deletes the events job and shows Validate again; validate and publish again. Verify. Status Published, with the subscriptions job and, if selected, the events job. C. Validate Connection failsConnection validation failed. Insufficient scopes provided. Verify the configurations you have provided and then retry.Connection validation failed. Verify the configurations you have provided and then retry.Error in validateSubscriptionConnectionError in validateActivityConnection Symptoms. Connection validation failed. Insufficient scopes provided. Verify the configurations you have provided and then retry.Connection validation failed. Verify the configurations you have provided and then retry.Error in validateSubscriptionConnection or Error in validateActivityConnection in the system log. Where to check. The outbound log for the failing dropbox request and its response body; the app's permissions. Causes and fixes. What validation tests. It reads the first page of team members and, with Download activity selected, the first page of audit events for both categories. It does not test reclaim, so a pass does not prove reclaim works.The scopes message. It is shown when Dropbox's response says the app does not have the required scope (for example events.read is missing). Add the permission in the App Console, submit, then run Get OAuth Token again and validate.The generic message. Any other failure, including a 401, shows Connection validation failed. Verify the configurations you have provided and then retry.; read the response body for the real reason (expired token, wrong credentials).No token. See D and E.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. Dropbox app, permissions or scope problems Symptoms. Validation says scopes are missing.Member list or events requests are refused.Permissions were changed in the App Console, but nothing improved. Where to check. Dropbox App Console > the app > Permissions and Settings; the person who authorized. Causes and fixes. Create the app correctly. Developer Apps > My Apps > Create App; Scoped access; Full Dropbox; name the app; Create app. On the Permissions tab tick team_info.read, members.write, members.delete, groups.read, events.read, team_data.member and also members.read, then Submit. Copy the App key and App secret from Settings, add the redirect URI there, and save changes (the guide also has you open the Branding tab and save).Missing scope. Add it, submit, then authorize again; a token keeps the scopes it was issued with.Wrong role. The authorizing person needs the Security Admin role.Wrong key or secret. Copy them again from Settings and update the profile.Redirect URI. It must match https://<your-instance>.service-now.com/oauth_redirect.do exactly. Verify. Get OAuth Token completes and validation succeeds. E. Token expired or authentication fails after a whileNo entity profile found for oAuth entity '<id>' Symptoms. Jobs worked at first and then fail with authentication errors.HTTP 401 from Dropbox in the outbound log.No entity profile found for oAuth entity '<id>' Where to check. System OAuth > Manage Tokens for the profile; the outbound response body. Causes and fixes. Token expired. Dropbox access tokens are short-lived. The authorization asks Dropbox for offline access so a refresh token is issued; connections created before this was fixed (the 202302 line) may have no refresh token. Update SaaS License Management, then run Get OAuth Token again.Token never obtained. The No entity profile found message means authorization was not completed; click Get OAuth Token, sign in and Allow.Scopes changed. Authorize again after changing app permissions (D2).App key or secret changed. Update the profile, then authorize again.First run after authorization. A new token triggers the first job run automatically. Verify. The member list request returns 200 and the next run completes. F. Reclaimed files went to an unexpected admin Symptoms. Files of reclaimed members appear in an administrator's account you did not expect. Where to check. Which Dropbox administrator clicked Allow when the token was obtained. Causes and fixes. How the destination is chosen. Reclaimed members' files are transferred to the administrator who authorized the connection. That can differ from the person who set up the integration.Change the destination. Run Get OAuth Token again and sign in as another administrator; later reclaims go to that administrator.Move earlier files. You can then reclaim the old administrator's subscription to move all of that account's files, including previously transferred ones, to the new administrator.ServiceNow does not organize files per user. Files are transferred as Dropbox's remove-and-transfer function defines it. Verify. A test reclaim places the member's files in the intended administrator's account. G. The refresh job failsThe REST API call failed with status code: <code>Cannot find function <name> in object [object Object]Failed to download subscriptions. Symptoms. Scheduled Job Results shows Failed with: SAMSaasDropboxIntegration.downloadSubscription: or SAMSaasDropboxIntegration.downloadEvents: followed by the error (system log)The REST API call failed with status code: <code>Cannot find function <name> in object [object Object]Failed to download subscriptions. Where to check. The job result; system log lines; the outbound log. Causes and fixes. Dropbox API error. Read the response body in the outbound log and fix the cause (C, D, E, Q).Outdated application. Missing-function errors mean SaaS License Management is out of step; update it and run each job once.Failed run. A failed run restores active flags but does not undo deletions already made; fix the cause and rerun.Job linked to a missing profile. See B3.Retired action in a subflow (if reported). Update SaaS License Management. Verify. The next run shows Completed and updated subscriptions. H. More (or fewer) subscriptions than active users Symptoms. Counts are higher than the number of active Dropbox users; invited or suspended members appear; members missing. Where to check. The member list in the Dropbox admin console (status per member); exclusion rules on the profile. Causes and fixes. Every status is imported. Active, invited, suspended and removed-pending members returned by the member list all become subscriptions; the integration does not filter by status and does not map administrator roles. Use a user exclusion rule for members that should not count, and review before reclaiming.Exclusion rules. Subscription Identifier Exclusion Rule and Subscription User Exclusion Rule silently drop matching rows.Members missing. Check the member list scope (members.read) and the outbound member requests; a failed run keeps old rows but does not add new ones.Removed members. Members who no longer appear in the team list lose their subscription on the next run.Failed run. See G3. Verify. Counts match the Dropbox member list per status. I. Several Dropbox teams Symptoms. A second profile shows the first team's members; one app cannot serve two teams. Where to check. Each profile's app key and token. Causes and fixes. One profile per team. Create a Dropbox app per team (apps are linked to a team), a profile for each and authorize each with that team's Security Admin.Same app reused. Do not reuse one app key and secret for two teams.Not documented. The sources do not describe other multi-team behavior; test with a single team first. Verify. Each profile imports only its own team's members. J. Model or entitlement problems Symptoms. A raw identifier and no software model; entries under Unrecognized Subscription Identifiers; compliance shows nothing. Where to check. Profile > Software Models and Unrecognized Subscription Identifiers; entitlements. Causes and fixes. Entitlements missing. Software models and reclamation rules are created automatically; entitlements are not. Create entitlements for the Dropbox model and run reconciliation.Unknown identifier. Open it under Unrecognized Subscription Identifiers, set the correct software model and save.Content out of date. Download current subscription-identifier content.Long identifiers. Identifiers over 40 characters failed to save in older versions; update the application. Verify. Subscriptions show the Dropbox model and reconciliation produces results. K. Subscription user is empty or wrong Symptoms. Subscriptions with an email but no User; records on the Subscriptions without user page. Where to check. sys_user email and user ID versus the Dropbox email; User resolution rules; sn_itam_samp.user_resolution_exclude_table. Causes and fixes. No match. The Dropbox 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 subscription > User resolution rules), then rerun the refresh job.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 stale Symptoms. Dropbox subscriptions have no last activity, or it does not move; the events job is missing. Where to check. The events job and its results; Download activity on the profile; the events requests in the outbound log. Causes and fixes. How activity works. Activity comes from Dropbox team audit events, not from a member's last-active field. Two categories are read: successful sign-ins and file operations. Each event is matched to a subscription by team member ID.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 only after a good subscriptions run (G).Scope. events.read and team_data.member are required; without them the events requests are refused (C, D).Look-back. Events are read from the Analyze user activity from date (default 60 days), not from the profile's creation date.Nothing to match. If no subscription has been created yet, the events pass returns without doing anything and without an error.Never cleared. Last activity only moves forward. Verify. A member who signed in today shows today's date after the next events run. M. Events job fails, or everyone looks inactiveError in validateActivityConnection Symptoms. Error in validateActivityConnection in the system log; the events job fails while the subscriptions job succeeds.After the first runs, many users look inactive and wrong reclamation candidates appear. Where to check. The events job result; outbound responses for team_log/get_events; the order of the first runs. Causes and fixes. Scope or token. See D and E.First events run skipped (older versions). In older versions the first events job could be skipped, which marked subscriptions stale and created wrong candidates; update SaaS License Management, rerun the events job and review or reject candidates generated from the first run.Events depend on the download. Usage summary and candidates need the events sync to have run at least once.Long first pull. A very long reclamation-rule period makes the first events pull large and slow.Overlapping runs. Do not run the subscriptions and events jobs at the same time. Verify. The events job completes and last activity populates for active members. N. No reclamation candidates, or wrong ones Symptoms. Inactive members get no candidate; active members are proposed for removal. Where to check. The Dropbox reclamation rule; subscriptions' user and last activity; existing candidates. Causes and fixes. Last activity blank or incomplete. Candidates depend on activity; fix L and M first.Rule configuration. A rule with a 60-day threshold is created automatically, once. Confirm Create reclamation candidate is checked and the threshold is what you want.Invited and suspended members. They are counted as subscriptions and typically have no activity, so they become candidates; review them 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 members (O); review candidates first. Verify. A member inactive beyond the threshold receives one candidate; active members 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.The Client Id and Client Secret used for this integration do not have permission to reclaim user accounts.Can't reclaim. Unable to update current user role to member_onlyCan't reclaim. Unable to suspend current user role account Symptoms. The reclamation of user subscriptions will not be successful because the Reclaim subscription checkbox isn't selected on the integration profile.The Client Id and Client Secret used for this integration do not have permission to reclaim user accounts.Can't reclaim. Unable to update current user role to member_onlyCan't reclaim. Unable to suspend current user role accountA Dropbox error of the form <tag> <summary> when the removal job fails. Where to check. The candidate's banner; the outbound requests for set_admin_permissions, suspend and remove; the app's reclaim permissions. Causes and fixes. What reclaim does. In order: it reads the authorizing administrator's ID, sets the member to a member-only role, suspends the member without wiping data and confirms the status is suspended, then removes the member with their data wiped from the account and their files transferred to the administrator. The removal runs as an asynchronous job that is polled until it completes; when it completes the subscription is deleted.Reclaim not configured. Select Reclaim subscriptions, validate and publish.Not covered by validation. Validation does not test reclaim; test with one candidate.Permission error. The app lacks members.write, members.delete or team_info.read, or the token was issued before they were added. Add the permissions, submit and authorize again.Role update failed. The member could not be set to member-only; the member may be a team admin that the authorizing administrator cannot change; fix the role in Dropbox.Suspend failed. The member could not be suspended; check the member's state in Dropbox.One credential. From the 202408 line one Dropbox app and connection cover both reading and reclaim; instructions for a separate reclamation credential are outdated. A Get OAuth Token for reclamation action may still be shown on the profile; the reclaim itself uses the profile's own token. Verify. The member is removed in Dropbox, the files are in the administrator's account, the candidate closes and the subscription is removed. P. After reclaim: data, recovery and stuck candidates Symptoms. A member was removed and needs to be restored; a candidate stays in Awaiting Revocation; files are not where expected. Where to check. The candidate's state; the Dropbox admin console (removed members, transferred files); the outbound log for the removal job status. Causes and fixes. Removal is not a suspension. The member is removed from the team and their data is wiped from the account after the transfer; a reclaimed member cannot be restored by ServiceNow. Handle recovery in Dropbox according to your Dropbox support terms.Candidate in Awaiting Revocation. The removal job is asynchronous; the candidate is checked again later and closes when the job completes. A job that is still in progress after a long time needs a look at the Dropbox admin console for the job's status.Files with the wrong admin. See F.A request for a per-user subfolder. Files are transferred as Dropbox defines it; ServiceNow does not organize them per user.Error after the removal succeeded. If the member is already removed in Dropbox but the candidate shows an error, confirm in the admin console and close the candidate; the subscription is removed on the next download. Verify. The candidate is Closed Complete and the member's files are accounted for. Q. Rate limits, timeouts and large teams Symptoms. HTTP 429 or 5xx in the outbound log; long runs on large teams. Where to check. The outbound log statuses and timing. Causes and fixes. Retry behavior. A 429 or any 5xx is retried up to three times, waiting 60 seconds and doubling each time; other errors fail the call. The Retry-After header is not read.Dropbox limits. The sources document no Dropbox-specific limit text; read the response body.Avoid overlap. Do not run the subscriptions and events jobs at the same time; the events job runs hourly, so check for runs that overlap.Large first pulls. See M4. Verify. A complete run without unhandled 429 or 5xx and a normal duration. 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. 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: one sets the profile properties that enable Validate Connection, and one makes the events job run only after a successful subscriptions run; 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 there.Versions out of step. Update SaaS License Management.Token handling after an upgrade. Authorize again after updating so the connection has a refresh token (E1). 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 removes Dropbox members. Obtain approval before running them in production. Established causeCorrection ownerControlled recovery and stop conditionApplication or profile typeServiceNow platform administratorUpdate, validate, publishDropbox app, scopes or roleDropbox Security Admin and integration ownerFix permissions, authorize again, validateToken expiryIntegration ownerUpdate the application, authorize again, confirm a run completesDestination adminDropbox Security AdminAuthorize as the intended administratorCoverage (status, exclusions)Integration ownerUse exclusion rules, run once, compare countsMapping and user resolutionSAM administratorCreate entitlements, add rules, rerunActivitySAM integration ownerEnable activity, run after a good downloadReclaimSAM process owner and Dropbox Security AdminReview 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 with all scopes, redirect URI matchingA Published status after an unvalidated connection changeExecutionCompleted job result for subscriptions and eventsA scheduled job that existsCoverageSubscriptions per member status match the Dropbox member listTotals that mix active, invited and suspended membersMatchingDropbox model and user on every subscriptionRaw identifiers as display namesActivityRecent sign-in or file activity for a known active memberBlank activity read as inactivityReclaimMember removed in Dropbox and files with the intended adminCandidate closed without the Dropbox change 8. Escalation evidence to collect Application and platform versions; recent upgrades, repairs or clones.Profile status, selected options, the authorizing administrator's Dropbox role and the app's permissions (no keys or secrets).Job name, run time in UTC, job result status and message; the SAMSaasDropboxIntegration log lines for the run.Outbound log entries: URL path, status and the Dropbox error body (no tokens).Counts of members by status in Dropbox and subscriptions in ServiceNow.Steps already taken and results. Never include app secrets, tokens, team IDs or member names in shared evidence. 9. References, processing rules and known limitations Key records Jobs: SAM - Refresh <name> Subscriptions, SAM - Refresh <name> Events (hourly).Script: SAMSaasDropboxIntegration. Dropbox calls: team members list, team log events, admin permissions, suspend, remove and job status.Data: samp_sw_subscription_profile, samp_sw_subscription, samp_saas_feature_usage, 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.com.snc.samp.disableeventstorage — when true, usage events are not stored (last activity still updates).sn_itam_samp.user_resolution_exclude_table — sys_user extended tables excluded from user matching. Processing rules to remember Every team member is a subscription regardless of status; the identifier is the team member ID and the email is the user principal name.Activity comes from sign-in and file-operation audit events matched by team member ID; the events job repeats hourly and runs only after a good download.A 429 or 5xx is retried three times (60 seconds, doubling); Retry-After is not read.Reclaim removes the member (role to member-only, suspend, remove with data wiped, files transferred to the authorizing admin); validation does not test it.A default reclamation rule of 60 days is created once. Known limitations Invited and suspended members are not filtered out.The Dropbox plan required for the integration is not stated in the sources.Dropbox rate limits and behavior across several teams are not documented here. Documentation ServiceNow product documentation for your release: Integrate with Dropbox under Software Asset Management > SaaS License Management.Dropbox documentation: Developer Apps, scoped access permissions and the Team API.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 Dropbox 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 Dropbox 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 Dropbox 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 Dropbox 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 Dropbox 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.