My Oracle Support Banner

OCI Identity Cloud Service (IDCS) - OCI Federated User Executing OCI CLI Command Returns 'NotAuthorizedOrNotFound' and 'Authorization failed or requested resource not found' (Doc ID 2854127.1)

Last updated on OCTOBER 28, 2022

Applies to:

Identity Cloud Service (IDCS) - Version N/A to N/A
Information in this document applies to any platform.


IDCS Federated user in OCI executes the following OCI CLI command (the example below is to list DB system in a given compartment):


All group policies were verified and are correct.

Local user executing the same OCI CLI doesn't have the problem.

The group mapping in OCI was removed and recreated.



The IDCS group that was mapped to OCI was renamed.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.