Unable to find the compartments in the tenancy : ocid1.tenancy.oc1..xxxxxx

Unable to find the compartments in the tenancy : ocid1.tenancy.oc1..xxxxxx

Problem: Error message "Unable to find the compartments in the tenancy : ocid1.tenancy.oc1.xxxxx" obtained while monitoring Oracle Cloud in Applications Manager.

Reason : This error message is obtained when the user does not have sufficient user permission/policy.

Solution: To obtain data into Applications Manager, the user must have appropriate policies/permissions assigned by the administrator. To do so, follow the steps given below:

1. Login as administrator into the Oracle Cloud Infrastructure console. 

2. Under Governance and Administration section, go to Identity → Groups option and click on Create Group button.

3. Create a new group with the required group name (say 'AppManager') and add the required user to this newly-created group.

4. Under Identity → Policy option, click on Create Policy button and create a new policy with the following policy statement:

      ALLOW GROUP <Your Group Name> to use all-resources IN TENANCY

Example:

     ALLOW GROUP AppManager to use all-resources IN TENANCY

Note: Make sure that you are in the 'root' compartment while creating the above policy.


After assigning the above policy, poll the monitor. If the issue still exists, reach out to our support with the screenshot of the error obtained to appmanager-support@manageengine.com along with the latest Support Information File (SIF) from Applications Manager with print all logs enabled for analysis.

                  New to ADSelfService Plus?