ORA-65040: Operation is not allowed from within a pluggable database
Find an init parameter that can be immediately modified but is modifiable for a PDB:
select
name,
value
from
v$parameter
where
ispdb_modifiable = 'FALSE' and
issys_modifiable = 'IMMEDIATE'
order by
name;
One of these parameters is background_core_dump. Assuming we're on a PDB, the following statement throws ORA-65040: Operation is not allowed from within a pluggable database: