Troubleshooting bulk operations

Troubleshooting bulk operations

Bulk operations in Advanced User Manager run row by row against Atlassian's own APIs. When something fails, the app does not invent an explanation - it reports Atlassian's verdict for that row. This page explains how to read that message and what to do about each one.

Step 1: read the result message

Every bulk action closes its drawer and shows one message:

  • All rows succeeded - a green confirmation with the number of rows the API actually confirmed. This can be lower than the number you selected, because rows that were already in the target state are not counted as changes.

  • Some rows failed - an amber warning in the form N succeeded, M failed - <reason>. The reason is Atlassian's own explanation for the first failing row.

  • Nothing changed - an amber warning saying Nothing was changed. or a specific reason. Zero successes is never reported as a success.

Only the first failure's reason is shown. If you selected a mixed batch, re-run the action on a smaller selection to see the reason for the other rows, or check Recent activity on the Overview screen - every mutating action is recorded there.

Step 2: find your symptom

Symptom

Cause

Fix

Symptom

Cause

Fix

Deactivate or activate fails with 403 and "Caller must be a verified org admin of targeted account"

The account is not a managed account of the organization that owns your API key. This is about the target account, not about your key.

Open admin.atlassian.com → Directory → Managed accounts and confirm the account is listed. It only appears once its email domain is verified and the account is claimed. If you belong to more than one organization, make sure the key belongs to the one that claimed the account.

Every account fails with 403, including ones you can see under Managed accounts

The organization API key was created with scopes. The Atlassian user-management API is not covered by any scope, so a scoped key fails no matter which boxes are ticked.

At admin.atlassian.com → Settings → API keys, create a new key under API keys without scopes, then enter it in the app when prompted. Revoke the old key.

The key is rejected with 401

A personal API token from id.atlassian.com was entered where the organization API key is required. They are different credentials and are not interchangeable.

Use an organization API key from admin.atlassian.com → Settings → API keys for activate and deactivate. The personal token from id.atlassian.com is only for bulk-creating Jira users.

The message says the account is provisioned from your identity provider via SCIM or synced from Google Workspace

The account's lifecycle is owned by your identity provider. No Atlassian API key can override it.

Deactivate the user in the IdP (Okta, Entra ID, Google Workspace, and so on). The change syncs back to Atlassian.

An amber panel appears in the drawer before you run anything, listing accounts that will be skipped

This is the pre-check, not an error. The app asks Atlassian in advance whether your key may change each selected account.

Deselect the listed accounts and run the rest, or make them managed accounts first. If every selected account is blocked, the confirm button stays disabled - there is nothing the run could achieve.

Add as customer fails with 403 while creating the account

Creating a Service Management customer needs Jira Administrator global permission, which the app itself must hold.

Check the app's permissions on the site, and confirm you are signed in as a Jira administrator.

Add as customer creates the account but portal access is not granted, with 403 on the chosen service desk

Granting portal access needs the caller to be a service desk administrator on that project. The app performs this as the signed-in admin.

Add yourself to the Administrators role under Project settings → People on that service desk and retry, or add the customer directly in Project settings → Customers.

Add as customer fails with 404

The site has no Jira Service Management product.

Customers cannot be created on a site without Service Management. External users still work as records inside the app.

Removing a customer fails with 400 on an open-access desk

The service desk allows anyone to sign up. Its customer list is not what controls access, so Atlassian refuses to remove people from it. Retrying never helps.

Change the project to Customers added by agents and admins under Project settings → Channels & self-service. Until then, removing the customer would not restrict them anyway.

Removing a customer fails with 403

Neither you nor the app is a service desk administrator on that project.

Add yourself to the Administrators role under Project settings → People, or remove the customer in Project settings → Customers.

"No Service Management account was recorded for this user"

The external user was never added as a customer through this app, so there is no account id to revoke against.

Nothing to revoke. If they are a customer, they were added elsewhere - remove them in Project settings → Customers.

"Could not find a service desk this user belongs to"

The record predates per-desk tracking and the probe across the site's service desks found no membership.

Remove them manually in Project settings → Customers on the relevant project.

A removed customer is still visible somewhere

Removal detaches them from one service desk. It does not delete the Atlassian account, does not clear the site-wide customer list, and does not touch customer-organization membership.

See What removing a customer does not do below. If they still have access, check whether they belong to a customer organization attached to the project.

The last-seen import refuses the file: "No 'Last seen in …' column found"

The CSV has no column the importer recognises. It matches columns by product name.

Re-export from admin.atlassian.com → Directory / User management → Export users with last-seen data included. Recognised headers include Last seen in Jira - <site>, Jira Service Management, Confluence and Compass.

"Every row in that export says 'Never accessed' - nothing to import"

The columns were found, but no row carries a date. Never accessed is deliberately not treated as a date.

Nothing to fix - those users genuinely have no last-seen date for the products in the export.

"No rows imported - N rows were rejected"

The account ids in the file do not match accounts on this site.

Export from the same organization and site whose users you are viewing. An export from another site's directory will not match.

Users are missing from the Jira users table

The status segmented control defaults to Active, so deactivated accounts are hidden.

Switch it to Inactive or All. This is the single most common "missing users" report.

Lists are completely empty and no error is shown

Every operation requires Jira administrator permission. Non-admins get empty lists rather than errors, which looks like a bug.

Sign in as a Jira administrator, or have your site admin grant Jira Administrator global permission.

Only part of a large selection was processed

Bulk runs are capped per invocation: 200 rows for Add as customer, 50 rows for portal-access revocation and for the activation pre-check.

Run the action again on the remaining rows. The message tells you how many of the total were processed.

Which credential does this operation use?

Most "it worked yesterday" reports are the wrong credential in the wrong dialog. There are two, and the app stores both.

Credential

Where you create it

Used only for

Credential

Where you create it

Used only for

Personal Atlassian API token, plus your account email

id.atlassian.com → Security → API tokens

Bulk-creating Jira users from CSV

Organization API key

admin.atlassian.com → Settings → API keys, created under API keys without scopes

Activating and deactivating accounts

Both credentials are stored by the app in Forge storage and reused, so you only enter them once. If either is ever exposed, revoke it at its source and create a replacement - rotating the credential is the only way to invalidate it.

Activate and deactivate: what the pre-check is telling you

Activation changes only work on managed accounts - accounts in a domain your organization has verified and claimed. Consumer domains such as gmail.com and outlook.com can never be managed by an organization.

  1. Select the accounts in Jira users and choose the activation action.

  2. The app asks Atlassian whether your key may change each selected account and lists any it cannot in an amber panel.

  3. Deselect the blocked accounts, or make them managed accounts first, then run the action.

Deactivation frees the licensed seat and is reversible - the account can be reactivated the same way.

What removing a customer does not do

The Also revoke their Service Management portal access checkbox on delete detaches the person from the service desks this app granted them access to. Being explicit about the boundaries saves a lot of confusion:

  • It never deletes the Atlassian account. No API can. Only an organization admin can delete an account, by hand.

  • Removed customers still appear in the site-wide customer list, and on any requests they already raised. Atlassian keeps them for record keeping.

  • Customers cannot be removed from an open-access service desk. Atlassian refuses with 400, and on such a project the customer list does not control access anyway.

  • Customer organization membership is a separate access path. Removing someone from a service desk does not remove them from a customer organization attached to that project.

  • Success means the removal call was accepted, not that the person was a customer. Atlassian returns the same result either way.

Adding and removing customers both require the caller to be a service desk administrator on the project. The app performs these as the signed-in admin, so your own project roles matter, not just your global permissions.

Still stuck?

  1. Open Overview → Recent activity and find the run. Every mutating action is recorded there.

  2. Note the exact message from the result toast, including Atlassian's own wording and any HTTP status.

  3. Confirm which credential the operation uses and that it was created in the right place, in the right class.

  4. Reach out through Documentation & support in the console footer, quoting the message and the affected account emails.