Raise the limit in TrueFoundry
You need the Tenant Admin role in TrueFoundry, or a role that can manage settings.- In TrueFoundry, open Settings › Organisation › Security.
- Select Edit Security.
- Raise Maximum Personal Access Token (PAT) Per User. Leave it blank to remove the limit.
- Save.
- In OpenWork, open AI Gateway › AI Providers, open the TrueFoundry provider, and select Sync.
The PAT limits in TrueFoundry only apply while the Security policy is turned on. TrueFoundry suggests a limit of about 5 so tokens don’t pile up unnoticed. OpenWork only ever needs one per person.
Reset the person’s tokens from OpenWork
If you’d rather keep the limit, reset the person’s tokens instead:- On the TrueFoundry provider page, find the person under Needs attention.
- Select Reset tokens.
- Read the confirmation, then select Revoke all and create a new key.
Other ways to fix it
- Delete their old OpenWork tokens in TrueFoundry. Tokens OpenWork creates are named after the person, like
openwork-alice-example-com-3f9a1c, so you can find them in TrueFoundry’s token list. Delete the ones for that person, then select Sync in OpenWork. Tokens namedopenwork-followed only by random characters come from an older version of OpenWork and don’t show whose they are. - The person deletes old tokens themselves. People can see and delete their own tokens in TrueFoundry. After they delete one they no longer use, select Sync in OpenWork.
- Wait for old OpenWork tokens to expire. Tokens OpenWork creates expire after 90 days, or sooner if your tenant’s maximum token lifetime is shorter. When one expires, OpenWork creates a new one at the next sync.