Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

ORA-28022

External roles cannot be granted to a global user or global role.

Cause

The role used in the GRANT statement was an external role. Roles that are created with IDENTIFIED EXTERNAL cannot be granted to global users or global roles or any other roles.


Action

Review your authorization design to select your action. Some options to consider:

  • Use another non-external role instead.
  • Use ALTER ROLE to change the role type so that it is not external.
  • Change the global role or global user (ALTER ROLE or ALTER USER) so that it is not a global role or user anymore.