๐ Back to Azure Managed Applications labs
Lab 1 - Publishing an Azure Managed Application Offer in Partner Center#
In this lab you will configure and publish an Azure Application offer in the Azure Marketplace. To do this, you must have an account in Partner Center, the portal for marketplace publishers. You must also have an Azure account where you can create resources.
Exercise 1 - Create the offer#
In this exercise you will create an Azure application offer.
- Log in to Partner Center.
- Go to the Marketplace offers page.
- Select the New offer dropdown and choose Azure application for the type of offer you will create.
- You will be prompted for an Offer ID and Offer alias. Use the following values.
- Offer ID: ama-workshop-01
- Offer alias: AMA Workshop 1
- Click the Create button. Your new offer is created and you are redirected to the Offer setup page.
You now have an offer to work with. Proceed to the next exercise.
Exercise 2 - Offer setup#
In this exercise you will set up a leads management section and connect it to a CRM.
Navigate the to Offer setup page via the left hand navigation.
CRM leads - Part 1#
In this section you will fill our the Offer setup portion of your offer. You will connect your offer to a CRM so you collect leads of people using your solution, or interested in it.
- Navigate to the Offer setup page via the left hand navigation.
- Scroll down to the Customer leads section.
- Click the Connect link.
- Click the Lead destination dropdown and note you may integrate your lead collection with several types of CRMs. In this exercise you will connect to an Azure table, so select that option from the dropdown.
You must create the Azure table storage account in the Azure portal to connect to for lead management.
Create the Data storage account in the Azure Portal#
In this section you will create an Azure Data Storage account using the Azure portal.
- Log in to the Azure portal.
- Click + Create a resource in the left-most side menu. The Create a resource page appears.
- In the search box, type Storage account.
- Select Storage account from the resulting dropdown.
- On the Storage account page, click the Create button. You should now be on the Create a storage account page.
- Under the Project details section, select Create new for your resource group.
- Create a new Resource group named ama-workshop-leads.
- For storage account name, type in a string that will be unique across azure. Try something like amaworshopleads002, where 002 is a random number between 001 and 999.
- For the Region select a region near you.
- Under Redundancy, select Locally-redundant storage (LRS). This is the least expensive storage account type.
- Select the Review at the bottom of the page. You are taken to the final review page. If there are no errors, press the Create button at the bottom of the page.
CRM leads - Part 2#
In this section you will finish configuring leads management by connecting it to the new Data Storage account you just created.
- In the Azure portal, navigate to the Data Storage account you just created.
- In the left hand menu under Security + networking select Access keys.
- Near the top of the Access keys screen, click the Show keys link. This makes the hidden keys visible.
- Under key 1 copy the Connection string into your clipboard.
- Return to the Partner Center browser tab and paste the connection string in the Storage account connection string text box.
- Click the Validate link. You should see a positive confirmation that the connection string worked.
- Click the Connect button.
- Click the Save draft button at the bottom of the page.
You have completed the Offer setup screen. Proceed to the next exercise.
Exercise 3 - Properties#
In this exercise you will fill out the Properties section of your offer.
Navigate the to Properties page via the left hand navigation.
Categories#
You must select a category for your Managed App. You want your app to show up in the Azure Marketplace, so you will select a category that will ensure it will appear there.
- Click the Categories link.
- Under the Primary category dropdown, select Developer tools.
- Under the Subcategory dropdown, select Developer Service.
You have selected a category for your application. Note you could select one more, but that's not needed for this lab.
Legal#
- In the Legal section select the checkbox next to "Use the Standard Contract for Microsoftโs commercial marketplace?".
- A dialog box appears. Click the Accept button.
- Click the Save draft button at the bottom of the page.
You have completed the Properties screen. Proceed to the next exercise.
Exercise 4 - Offer listing#
In this exercise, you fill out the Offer listing page.
- In the left-hand menu, select Offer listing. You are taken to the Offer listing page.
- In the Search results summary textbox, enter "AMA Workshop 1 search results summary".
- In the Short description text area, enter "AMA Workshop 1 short description".
- In the Description text area, enter "AMA Workshop 1 description".
- In the Search keywords section, you may enter up to 3 keywords.
- For the Privacy policy link textbox, you may use Microsoft's privacy policy for this workshop. Enter "https://privacy.microsoft.com/en-us/privacystatement". This is for lab purposes. Do not use Microsoft's privacy policy on real offers.
- Scroll down to the Support contact section and enter the required information. For the field Support website for Azure Global customers, enter the link
https://partner.microsoft.com/en-US/support/v2/
. Again, this is for lab purposes only, not to be used in a live offer. This would be a link to a page on your own site. - Scroll down to the Engineering contact information section.
- Enter the required information.
- Scroll down to the Marketplace media > Logos section.
Here you will need to upload two logos that must be of the exact right size. Examples are provided for you in this directory. Upload these images. If you have cloned this repository they will already be on your local drive.
- Upload the two images.
- For the screenshot, click the Add image caption link. Enter whatever you like for a caption.
- Click the OK button.
- Click the Save draft button at the bottom of the page.
You have completed the Offer listing screen. Proceed to the next exercise.
Exercise 5 - Preview audience#
In this exercise, you will add your subscription id to the list of subscriptions that may access this offer before it is live. This is to provide access to your test team and anyone else who would like to preview the offer before it goes live. In this case, you will enter the subscription ID you are using in this workshop.
- In the Azure portal, find your subscription ID. If you aren't sure how to do this take the following steps.
- In the Azure portal, in the search box at the top of the screen, enter the word, "Subscriptions."
- Select the Subscriptions icon in the dropdown.
- On the Subscriptions page, click the link to the subscription you are using.
- On the Subscription page, copy the Subscription ID into your clipboard.
- In the Partner Center portal, Preview audience page, enter your subscription ID.
- Provide a brief description for this subscription.
You have completed the Preview audience screen. Proceed to the next exercise.
Exercise 6 - Resell through CSPs#
In this exercise, you will indicate that your solution will not be re-sold by Cloud Solution Providers.
- From the list of radio buttons, select No partners in the CSP program.
- Click the Save draft button at the bottom of the page.
You have completed the Resell through CSPs screen. Proceed to the next exercise.
Exercise 6 - Adding plans#
Every offer must include at least one plan. In this exercise, you will add two plans to your offer.
Creating a plan#
- In the left-hand menu, select Plan overview.
- At the top of the page, click Create new plan.
- Enter a Plan ID of "silver-plan".
- For Plan name enter "Silver".
- Click the Create button.
Plan setup#
- On the Plan setup page, under the Plan type section, select the dropdown item, Managed application.
- Click the Save Draft button at the bottom of the screen.
Plan listing#
- Click the Plan listing menu item on the left.
- For Plan summary, enter "Silver plan summary".
- For the Plan description, enter "Silver plan description".
- Click the Save Draft button at the bottom of the screen.
Pricing and availability#
- Click the Pricing and availability menu item on the left.
- In the Markets section, click the Edit markets link. you must select at least one market in which your plan will be available for purchase. Most users will select "United States."
- Select a market.
- Click the Save button.
โ ๏ธ In the Pricing section you will enter prices of $0 because you don't want this workshop to cost you money when you buy your offer later.
- For Price, enter 0.
In this section, we are going to have you do something that will be explained later in the day. It needs to be done upon plan creation, so you will do it now.
- Under the Marketplace Metering Service dimensions section, click Add a Custom Meter Dimension.
- The Enabled checkbox is selected.
- For ID, enter "scan-1-page".
- For Display name, enter "Scan a page".
- For Unit of measure, enter "Scanned page".
- For Price Per unit, enter 0.0
- For Monthly included in price, enter 1000.
- Click Add another Dimension.
- The Enabled checkbox is selected.
- For ID, enter "write-to-emr".
- For Display name, enter "EMR Write".
- For Unit of measure, enter "EMR Write".
- For Price Per unit, enter 0.0
- For Monthly included in price, enter 500.
Your dimensions should look like this.
Enabled | ID | Display Name | Unit of Measure | Price per unit in USD | Monthly quantity included in base |
---|---|---|---|---|---|
Checked | scan-1-page | Scan a page | Scanned page | 0.0 | 1000 |
Checked | write-to-emr | EMR Write | EMR Write | 0.0 | 500 |
Click the Save Draft button at the bottom of the screen.
Technical configuration#
In this section, you specify details about your plan needed to create the application at deployment time.
- Under Package details, enter "0.0.1" for version.
- For Package file (.zip) you will upload a ZIP file containing the deployment package needed. You may drag an drop or click to brose to the ZIP file.
- There is a file in the
lab-1-partner-center\assets
assets folder namedsilver-plan-deployment-package.zip
. Upload it.
- There is a file in the
- Navigate to the Public Azure section near the bottom of the screen.
- For the Microsoft Entra tenant ID section, enter your Tenant ID from the Azure portal. If you aren't sure how to find your Tenant ID, click here and then come back to this section when you are done.
- For the Authorizations section, under Principal ID, enter the ID of your own account from the Azure portal. If you aren't sure how to find your account ID, click here and come back to this section when you are done.
- For Role definition, select Owner.
- Click the Save draft button at the bottom of the screen.
Check your offer#
- At the bottom of the screen, click the Review and publish button.
- All circles to the right should be green with a check box in them. If any are grey, fix that section and come back to Review and publish changes.
๐ DO NOT publish your offer yet. It still needs more configuration, which you'll do in a future lab.
Conclusion#
Congratulations, you have completed Lab 1, the longest lab in the workshop. Other labs will build upon what you have done here in this lab.
๐ Back to Azure Managed Applications labs
Appendix#
Finding your Tenant ID#
- Open the Azure portal.
- In the search box at the top of the page, type Tenant.
- Select Tenant properties from the drop down menu.
- Find the Tenant ID field and copy it to your clipboard.
Finding your user account ID#
- Open the Azure portal.
- In the search box at the top of the page, type Users.
- Select Users from the dropdown menu.
- Search for your user account and click on it.
- Find the Object ID and copy it to your clipboard.