Apparently, you have granted permissions to another principal than the one you think you did. Or you granted permissions in the wrong database.
Have the application to run
SELECT SYSTEM_USER, * FROM sys.user_token
to see what comes back.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We have configured Sql Managed Instance and currently configured MS Entra MFA but we can't use for application login/Service account which is prompting for MFA so we have created Service Principal and provided access after adding into Managed Sql Server Instance Database.
I am able to connect to the Instance/Database and can run SELECT but can't run DML statement (Insert/Update/Delete).
I have provided Read and Write access also, evne thogu I have added DB_Owner role permission but still getting error:
The UPDATE permission was denied on the object 'order', database 'Ordertest', schema 'dbo'
Appreciate your feedback!
Thank you in advance!
Apparently, you have granted permissions to another principal than the one you think you did. Or you granted permissions in the wrong database.
Have the application to run
SELECT SYSTEM_USER, * FROM sys.user_token
to see what comes back.