Skip to content

Commit 6009c2f

Browse files
committed
formatting fix
1 parent 0556748 commit 6009c2f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

articles/azure-resource-manager/managed-applications/publish-service-catalog-app.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Shows how to create an Azure managed application that is intended f
44
author: tfitzmac
55

66
ms.topic: quickstart
7-
ms.date: 04/13/2020
7+
ms.date: 04/14/2020
88
ms.author: tomfitz
99
---
1010
# Quickstart: Create and publish a managed application definition
@@ -19,8 +19,6 @@ To publish a managed application to your service catalog, you must:
1919
* Decide which user, group, or application needs access to the resource group in the user's subscription.
2020
* Create the managed application definition that points to the .zip package and requests access for the identity.
2121

22-
[!INCLUDE [cloud-shell-try-it.md](../../../includes/cloud-shell-try-it.md)]
23-
2422
## Create the ARM template
2523

2624
Every managed application definition includes a file named **mainTemplate.json**. In it, you define the Azure resources to deploy. The template is no different than a regular Azure Resource Manager (ARM) template.
@@ -207,6 +205,8 @@ $groupID=(Get-AzADGroup -DisplayName mygroup).Id
207205
groupid=$(az ad group show --group mygroup --query objectId --output tsv)
208206
```
209207

208+
---
209+
210210
### Get the role definition ID
211211

212212
Next, you need the role definition ID of the RBAC built-in role you want to grant access to the user, user group, or application. Typically, you use the Owner or Contributor or Reader role. The following command shows how to get the role definition ID for the Owner role:
@@ -223,6 +223,8 @@ $ownerID=(Get-AzRoleDefinition -Name Owner).Id
223223
ownerid=$(az role definition list --name Owner --query [].name --output tsv)
224224
```
225225

226+
---
227+
226228
### Create the managed application definition
227229

228230
If you don't already have a resource group for storing your managed application definition, create one now:
@@ -239,6 +241,8 @@ New-AzResourceGroup -Name appDefinitionGroup -Location westcentralus
239241
az group create --name appDefinitionGroup --location westcentralus
240242
```
241243

244+
---
245+
242246
Now, create the managed application definition resource.
243247

244248
# [PowerShell](#tab/azure-powershell)
@@ -271,6 +275,8 @@ az managedapp definition create \
271275
--package-file-uri "https://github.com/Azure/azure-managedapp-samples/raw/master/Managed%20Application%20Sample%20Packages/201-managed-storage-account/managedstorage.zip"
272276
```
273277

278+
---
279+
274280
When the command completes, you have a managed application definition in your resource group.
275281

276282
Some of the parameters used in the preceding example are:

0 commit comments

Comments
 (0)