cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

GRANT PRIVILEGES or REVOKE not working in databricks: Operation not allowed

Joao_DE
New Contributor III

Hi everyone!

I am having a problem! I can Grant or Revoke privileges from users using the UI on databricks, but when I try to do that using SQL commands such as GRANT SELECT ON SCHEMA [... ] TO [USER]; I get an error stating Operation not allowed.

I am the owner of the schema and I am also an adm.

Thanks for your help in advance!

2 REPLIES 2

Ajay-Pandey
Esteemed Contributor III

Hi @João Peixoto​ In my case, it's working fine, I am able to grant and revoke the access by using spark SQL.

Joao_DE
New Contributor III

Its solved, the problem was I was using '' insted of ``

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.