File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 2
2
title : Manage databases in Azure SQL databases using Azure Automation
3
3
description : This article explains on how to use Azure SQL server database using a system assigned managed identity in Azure Automation.
4
4
services : automation
5
- ms.date : 06/26 /2023
5
+ ms.date : 09/23 /2023
6
6
ms.topic : conceptual
7
7
---
8
8
@@ -51,8 +51,7 @@ To allow access from the Automation system managed identity to the Azure SQL dat
51
51
1 . Go to [ Azure portal] ( https://portal.azure.com ) home page and select ** SQL servers** .
52
52
1 . In the ** SQL server** page, under ** Settings** , select ** SQL Databases** .
53
53
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 `
56
55
- EXEC sp_addrolemember ` dbowner ` , "AutomationAccount"
57
56
- Automation account - replace with your Automation account's name
58
57
- Object ID - replace with object (principal) ID for your system managed identity principal from step 1.
You can’t perform that action at this time.
0 commit comments