Discussions
Categories
- 197K All Categories
- 2.5K Data
- 546 Big Data Appliance
- 1.9K Data Science
- 450.8K Databases
- 221.9K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 552 MySQL Community Space
- 479 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.1K ORDS, SODA & JSON in the Database
- 556 SQLcl
- 4K SQL Developer Data Modeler
- 187.2K SQL & PL/SQL
- 21.4K SQL Developer
- 296.3K Development
- 17 Developer Projects
- 139 Programming Languages
- 293K Development Tools
- 110 DevOps
- 3.1K QA/Testing
- 646.1K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 158 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.2K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 19 Java Essentials
- 162 Java 8 Questions
- 86K Java Programming
- 81 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 205 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 468 LiveLabs
- 39 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 175 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 233 Portuguese
You are not authorized to access Cloud Shell. The tenancy admin must add a policy to grant your acce

Trying to start the lab. 1st step is to create the SSH keys. For doing that I need to open the Cloud Shell so I select the workshop compartment and click on the Cloud Shell button.
The issue is that I cannot open the Cloud shell due to this reason:
"You are not authorized to access Cloud Shell. The tenancy admin must add a policy to grant your access."
I guess all grants should be already applied in order to start asap with the lab.
How I can get this grant?
Could you please help?
Thanks.
Answers
-
Hello,
I am not sure we tried the same lab but I got the same error when using "Get Started with Oracle Cloud Infrastructure Core Services Workshop" with option "Reserve Workshop on LiveLabs".
Is anybody aware of any problem regarding this workshop?
Thank you for your help :-)
-
Hey try adding this command in your oci-admin-group policy by logging into your root
Allow group <group-name> to use cloud-shell in tenancy
-
Hello everyone, I am also new employee of Oracle,
1) You need to go in the hamburger menu on the top-left corner and pick a "Identy & Security"
2) Find on the screen Policies and go in
3) On the left side from drop-down menu chose your root compartment "IMPORTANT"
4) Then click "create policy"
5) Write your name and description like you want
6) Chose from drop-down list root Compartment , it's very important .
7)check manual editor and type command inside "Allow group <group-name> to use cloud-shell in tenancy"
Note: If you don't remember you can come back and check it your group Name , and paste inside " < >"
-
Hello, I'm having the same problem, even when I create the policy, doesn't allow me to use cloud-shell, I can use all the other resources but not the cloud-shell some one know how to solve this.
-
Hello. I faced up the same problem, and I found the solution.
My Scenario
- user: test_user
- group: test_group
- compartment: test_compartment
The test_user is member of test_group and MANAGE resources in test_compartment. Problem: test_user cannot use cloud-shell.
Solution
First connect as administrator to OCI. Administrators group can also do anything in any of the compartments in the tenancy.
Create policy in root compartment: allow group test_group to use cloud-shell in tenancy
By the concept of policy inheritance test_compartment will inherit policy from root compartment. In other words user test_user will get permission to use cloud-shell from parent compartment.
I hope you will find this useful.
BR
-
Hi everyone!
I've spent some time to realize that we have to issue the command above in the root compartment (which means).
Menu > Identity > Policies > Compartment. Here you pick the root compartment and finally click [Create Policy]
Thank you every body for the question and for the answers!
= )
-
ops, only saw your post after wrote mine. Big thanks same way! 😀