Oracle Error ORA-28021: cannot grant global roles

Oracle Error Message

ORA-28021: cannot grant global roles

Reason for the Error

The role granted was IDENTIFIED GLOBALLY. Global roles can only be granted via a central authority for the domain.

Solution

Use ALTER ROLE to change the type of role (from IDENTIFIED GLOBALLY to other, such as IDENTIFIED BY password), or allocate it to a global user via the central authority.