QuestionQ24
Secure, optimize, and deploy database solutionsYou have an Azure SQL database named SalesDB on a logical server called sales-sql01.
You have an Azure App Service web app named OrderApi that connects to SalesDB by using SQL authentication.
You enable a user-assigned managed identity named OrderApi-Id for OrderApi.
You need to configure OrderApi to connect to SalesDB using Microsoft Entra authentication. The managed identity must have read and write permissions to SalesDB.
Which Transact-SQL statements should you execute in SalesDB?
Community Discussion