From 3dd58653a8a8d61b563966d3292eacb3931e5277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sr=C4=91an=20Bo=C5=BEovi=C4=87?= Date: Mon, 28 Jan 2019 00:39:25 +0100 Subject: [PATCH] mod: minor issues --- .../automation-functions/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/manage/azure-sql-db-managed-instance/automation-functions/README.md b/samples/manage/azure-sql-db-managed-instance/automation-functions/README.md index 0ab7c4ae..612b5aa1 100644 --- a/samples/manage/azure-sql-db-managed-instance/automation-functions/README.md +++ b/samples/manage/azure-sql-db-managed-instance/automation-functions/README.md @@ -53,9 +53,9 @@ To run this sample, you need the following prerequisites. Steps below show how to deploy pre-build package. Alternatively you could deploy Function App using Visual Studio and source code provided with this sample. -1. Create Function App by following [Create your first function in the Azure portal].(https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-azure-function) quickstart +1. Create Function App by following [Create your first function in the Azure portal](https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-azure-function) quickstart 2. Download [package](./zip-deploy/ManagedInstanceAutomationDemo.zip?raw=true). -3. Publish package using [Azure CLI](https://docs.microsoft.com/en-us/azure/azure-functions/deployment-zip-push#cli), with [cURL](https://docs.microsoft.com/en-us/azure/azure-functions/deployment-zip-push#with-curl) or with [PowerShell].(https://docs.microsoft.com/en-us/azure/azure-functions/deployment-zip-push#with-powershell) +3. Publish package using [Azure CLI](https://docs.microsoft.com/en-us/azure/azure-functions/deployment-zip-push#cli), with [cURL](https://docs.microsoft.com/en-us/azure/azure-functions/deployment-zip-push#with-curl) or with [PowerShell](https://docs.microsoft.com/en-us/azure/azure-functions/deployment-zip-push#with-powershell) 4. Grant access to Function App by following [Grant access](https://docs.microsoft.com/en-us/azure/role-based-access-control/quickstart-assign-role-user-portal#grant-access). For easier selection, choose `Function App` in `Assign access to` dropbox. In some situations this might take up to an hour to propagate. 5. Add system-assigned identity by following [Adding a system-assigned identity](https://docs.microsoft.com/en-us/azure/app-service/overview-managed-identity?toc=%2fazure%2fazure-functions%2ftoc.json#adding-a-system-assigned-identity) and note generated `Object ID`. 6. Run PowerShell below to provide Function App required Azure AD permissions. @@ -66,7 +66,7 @@ Connect-AzureAD $managedInstanceAutomationObjectId = '' -# Get Azure AD role "Directory Users" and create if it doesn't exist +# Get Azure AD role "Privileged Role Administrator" and create if it doesn't exist $roleName = "Privileged Role Administrator" $role = Get-AzureADDirectoryRole | Where-Object {$_.displayName -eq $roleName} if ($role -eq $null) {