Recover setup refused by the organization token policy
A setup refusal that names the API token policy needs a policy decision from an organization owner. Reauthenticating the same grant cannot bypass the saved policy.
Check both setup permissions#
As an owner, open Settings → API tokens → Policy. Review whether Run setup from a coding agent and Change settings from a coding agent are allowed. Save any intended policy change. The agent must also hold those permissions for the organization.
If its sign-in lacks one, reconnect as an administrator and approve both for all accessible repositories. Then ask the agent to resume the saved setup step.