First of all the syntax seems to be wrong . The DELET keyword is not correct, make it as DELETE.
And as a step to debug, can you login via the admin account and execute Select * from sys.schemas and check whether that schema is visible in output
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I did create new schemas and they are all visible when I connect as admin to the Azure SQL database.
I use this query to revoke permissions for the user 'userReport':
-- Revoke any existing permissions on the tables
REVOKE SELECT, INSERT, UPDATE, DELTE ON SCHEMA::bronze TO [userReport];
I am getting this as a result and I don't know why, as I am admin and I can see the schemas:
Msg 15151, Level 16, State 1, Line 27
Cannot find the schema 'bronze', because it does not exist or you do not have permission.
First of all the syntax seems to be wrong . The DELET keyword is not correct, make it as DELETE.
And as a step to debug, can you login via the admin account and execute Select * from sys.schemas and check whether that schema is visible in output
Problem solved.
The SSMS lost connection to the SQL server. After reconnecting the old query window did work, but delivered these strange error messages.
A complete restart of the SSMS and a new query window did it ... now I'm able to query the schemas and to alter permissions for the user.
Thanks for your support !