Forum Discussion

Jeanmik's avatar
Jeanmik
Copper Contributor
Jan 24, 2023
Solved

What is the best way for a marketplace offering to impersonate a customer's "app registration" ?

Hello !   I'm currently exploring the Azure Marketplace and I would like to build and deploy a product that can authenticate as a customer's "App registration" to obtain the privileges of that app ...
  • SatishBoddu's avatar
    SatishBoddu
    Jan 25, 2023

    Hello Jeanmik 

     

    We have to publish Applications which use the Managed Identity for Accessing Resources. And if you need any more inputs from the user, then the UI definition file is used for that purpose. Your deployment template file should contain the definition to deploy those identities as well.

    Publishing

    Partners publish their Managed Applications to Azure Marketplace using the Cloud Partner Portal. The main components required are

    a) the template files, which describe the resources that will be provisioned, and

    b) the UI definition file, which describes how the required inputs for provisioning these resources will be displayed in the portal.

     

    The required files are packaged in a .zip file and uploaded through the publishing portal.

    Below is the screenshot from the publishing portal, and more detailed instructions can be found here.

     

    Please have look the below section, i hope this may help on adding the Identity to our Resource which will be deployed.

    Adding Managed Identity

    Creating a Managed Application with a Managed Identity requires an additional property to be set on the Azure resource. The following example shows a sample identity property:

    {
    "identity": {
        "type": "SystemAssigned, UserAssigned",
        "userAssignedIdentities": {
            "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.ManagedIdentity/userassignedidentites/myuserassignedidentity": {}
        }
    }

     

     

Resources