Oracle Solution for Error ora-28022

Solution for Oracle Error ORA-28022

ORA-28022: cannot grant external roles to global user or role

What triggered the Error:

role granted was IDENTIFIED EXTERNALLY. External roles cannot be granted to global users or global roles.

What should we do to fix it:

e ALTER ROLE to change the type of the role being granted (from IDENTIFIED EXTERNALLY to other, such as IDENTIFIED BY password), or use ALTER ROLE or ALTER USER to change the type of the user or role that is the grantee.