Skip to content

Commit 1376a93

Browse files
committed
change
1 parent c70b375 commit 1376a93

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

articles/app-service/tutorial-connect-msi-sql-database.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ az ad group member list -g $groupid
130130

131131
Go to the Azure portal to grant the minimum permissions your app needs.
132132

133-
If the identity is system-assigned, its name is always the same as the name of your app. The name of a system-assigned identity for a deployment slot is `<app-name>/slots/<slot-name>`. To grant permissions for a Microsoft Entra group, use the group's display name, such as `myAzureSQLDBAccessGroup`.
133+
The name of a system-assigned identity is always the same as the app name. The name of a system-assigned identity for a deployment slot is `<app-name>/slots/<slot-name>`. To grant permissions for a Microsoft Entra group, use the group's display name, such as `myAzureSQLDBAccessGroup`.
134134

135135
<!--SQLCMD IS NO LONGER SUPPORTED IN BASH CLOUD SHELL as of April 2025. Use Powershell or portal.
136136
1. In your Bash terminal, sign in to SQL Database by using the following SQLCMD command, replacing `<server-name>` with your server name, `<db-name>` with your database name, and `<aad-user-name>` and `<aad-password>` with your Microsoft Entra user credentials.
@@ -154,17 +154,22 @@ If the identity is system-assigned, its name is always the same as the name of y
154154
Here are portal steps I made up. Not sure if they work since my app doesn't work (database is blank).-->
155155

156156
1. On your web app's page in the Azure portal, select **Identity** from the left navigation menu.
157+
157158
1. On the **System assigned** tab, make sure **Status** is set to **On**.
159+
158160
1. Under **Permissions**, select **Azure role assignments**.
161+
159162
1. On the **Azure role assignments** page, select **Add role assignment (Preview)**.
160-
1. Use the **Add role assignment (Preview)** pane to add each of the following roles:
163+
164+
1. Use the **Add role assignment (Preview)** pane to add each of the following roles in turn.
161165
- **Scope**: Select **SQL**.
162166
- **Subscription**: Select your subscription.
163167
- **Resource**: Select your SQL server.
164168
- **Role**: Select each of the following roles:
165169
- **SQL DB Contributor**
166170
- **SQL Server Contributor**
167171
- **Reader**
172+
168173
After adding each role, select **Save**.
169174

170175
> [!NOTE]

0 commit comments

Comments
 (0)