Skip to main content

Return to TX Community

Liaison

Resolving Common Permission Scanner Errors

Issue/Error

Resolution

Generating a Permission Set resulted in error 'Apex CPU time limit exceeded'

The error 'Apex CPU time limit exceeded' can result when a Permission Scanner 'definition' is lengthy.

Follow these steps to work around the error:

  1. If the Permission Set has already been assigned, delete any assignments for that Permission Set.
  2. Delete the Permission Set.
  3. Generate the Permission Set again.
  4. Re-assign the Permission Set to any users who were previously assigned to the old Permission Set.
  • Was this article helpful?