I recently created an Azure Sql database instance into which I deployed my EF Core data model. The database has a system-assigned managed identity assigned to it which is member of the db_datareader
and db_datawriter
built-in roles. I should be able to read/write from/to any table or view.
Still I am getting the below error when trying to insert data into it. The table is not in the dbo schema but has a seperate one.
ExType= Microsoft.Data.SqlClient.SqlException; Ex= Cannot find the object "<TABLE_NAME>" because it does not exist or you do not have permissions.; InnerEx=
It should work, right? Do you have any idea what I'm doing wrong? Any help is greatly appreciated;