Skip to content

Commit 9d80c43

Browse files
committed
minor edit
1 parent 76c7dce commit 9d80c43

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

articles/automation/manage-sql-server-in-automation.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Manage databases in Azure SQL databases using Azure Automation
33
description: This article explains on how to use Azure SQL server database using a system assigned managed identity in Azure Automation.
44
services: automation
5-
ms.date: 06/26/2023
5+
ms.date: 09/23/2023
66
ms.topic: conceptual
77
---
88

@@ -51,8 +51,7 @@ To allow access from the Automation system managed identity to the Azure SQL dat
5151
1. Go to [Azure portal](https://portal.azure.com) home page and select **SQL servers**.
5252
1. In the **SQL server** page, under **Settings**, select **SQL Databases**.
5353
1. Select your database to go to the SQL database page and select **Query editor (preview)** and execute the following two queries:
54-
- CREATE USER "AutomationAccount"
55-
- FROM EXTERNAL PROVIDER WITH OBJECT_ID= `ObjectID`
54+
- CREATE USER "AutomationAccount" FROM EXTERNAL PROVIDER WITH OBJECT_ID= `ObjectID`
5655
- EXEC sp_addrolemember `dbowner`, "AutomationAccount"
5756
- Automation account - replace with your Automation account's name
5857
- Object ID - replace with object (principal) ID for your system managed identity principal from step 1.

0 commit comments

Comments
 (0)