Where to get the Tenancy's OCID and User's OCID?

Where to get the Tenancy's OCID and User's OCID?


This article helps retrieve the Tenancy OCID and User OCID for setting up Oracle Cloud monitoring in our product. If you find any discrepancies with the current setup, refer to the Oracle Cloud documentation linked here.


Tenancy's OCID

Follow the below steps to get the tenancy OCID from the Tenancy Details page in the Oracle cloud infrastructure console:
Step 1: Navigate to Tenancy Details page

Open the navigation menu ( 
☰ ), choose "Governance & Administration", under "Account Management and click "Tenancy details".
Navigation Menu Icon (Three bar icon - top left corner) --> Governance & Administration --> Tenancy Details under Account Management section

Step 2: Copy OCID under Tenancy Information tab
The tenancy OCID will be shown under "Tenancy information" tab. You can copy it to your clipboard.

Tenancy Information Page

 
User's OCID

Based on user type you have logged in, choose between the below steps to get the user's OCID from the Profiles page in the Oracle cloud infrastructure console:
Signed in as User
  1. Click the Profile icon at the top right corner and choose User Settings 
    from the Profile menu.
  2. Copy OCID from User Information tab in the following page.

Profile Icon (top right corner) --> User Settings --> Copy OCID from User Information tab.





Signed in as Admin
  1. Click the Profile icon at the top right corner and choose 'Identity Domain' from the Profile menu.
  2. Go to 'Users' tab and choose the username from the list of users.
  3. In the following page, copy the OCID under User Information tab.
    Profile Icon (top right corner) --> Identity Domain --> Users --> Choose User --> Copy OCID from User Information tab.