This repo contains a simple "Hello World" style example of Azure Managed application that is used in this video tutorial Simple Azure Managed Application: creating, testing, and publishing in Partner Center
Important: When building your Azure Application ARM templates for submission to Azure Marketplace, please make sure to carefully follow all of the guidelines and practices described here and be ready to make fixes and changes based on manual review feedback.
Test the application using http://github.com/Azure/arm-ttk tool
C:\Code\GitHub\Azure\arm-ttk\arm-ttk\Test-AzTemplate.cmd
Zip and AzCopy to storage
tar -a -c -f ama-helloworld.zip createUiDefinition.json mainTemplate.json viewDefinition.json
azcopy copy ./ama-helloworld.zip "https://YOUR_STORAGE_ACCOUNT.blob.core.windows.net/YOUR_STORAGE_CONTAINER/ama-aks.zip?SHARED_ACCESS_SIGNATURE_WITH_WRITE_PERMISSION"
Create managed application definition
az group create --name avama --location eastus
az managedapp definition create --name "ama-definition" --location eastus --resource-group avama --lock-level ReadOnly --display-name "Hello World App Definition" --description "Azure Managed App Hello World Example" --authorizations "YOUR_AAD_GROUP_PRINCIPAL_ID:b24988ac-6180-42a0-ab88-20f7382dd24c" --package-file-uri "https://YOUR_STORAGE_ACCOUNT.blob.core.windows.net/ama-aks/ama-helloworld.zip"