Skip to main content

Azure: Register App

Create Azure app: App registration

In the topic, you will learn how to setup Mobile Device Management (MDM) for Apple devices.

To setup Apple MDM:

  1. Sign in to your Azure Account through the Azure portal.

  2. Select the Azure Active Directory and, then select App registrations.

  3. Select an existing app or alternatively, Select New registration to create and register a new app.

  4. Provide a valid name to the app and click Register.

    Azure-1
  5. Upon registration, fetch the Tenant ID and Client ID for the app as seen in the following image:

    Azure-2
  6. To create a Client Secret:

    1. Click Certificates & secrets.

    2. Click New client secret.

    3. Under Add a client secret:

      • Description: Enter a brief description.
      • Expires: Select the duration in which the client secret will expire.
    4. Click Add. The client secret is added.

      Azure-3

Create a new role

Note:

To create a new role, a Contributor or Admin role is needed.

  1. In the Search tab, find and select your Resource group.
  2. In the menu, select Access Control (IAM) -> Roles -> Add Custom role. The Create a custom role page appears. Azure-4
  3. In the page, fill Custom role name and select the Start from scratch checkbox. Azure-5
  4. Select the JSON tab. In actions [ ], add the required permissions as provided in the respective step. Azure-6
  5. Click Save -> Review and Create. The new role is created.

Assign access control role to Azure app

  1. In the Search tab, find and select your Resource group.

  2. In the left menu pane, select Access Control (IAM) -> Roles, and then in the Search box, enter the custom role you want to find. The list of roles appears.

    Azure-7
  3. In the roles list, select the checkbox against the custom role you created, and then scroll to the right of the page. Select the View link that appears.

  4. On the page, select Assignments -> Add assignment. The Add role assignment page appears.

    Azure-8
  5. In the Add role assignment page complete the following steps in the Roles and Members tabs, respectively:

    • Roles tab:
      1. Click the Roles tab, and then click Job Function roles. The Search box appears.
      2. Enter the custom role you want to find. The list of roles appears.
      3. In the roles list, select the custom role.
      4. Azure-9
    • Members tab:
      1. Click the Members tab, and then in the Assign access to field, select User, group or service principal.
      2. In the Members field, click Select members. The Select members dialog appears.
      3. Azure-10
  6. In the Select members dialog, enter the name of the app created in Create Azure app: App registration in the Search box.

    Azure-11
  7. Click Select. The app is added to the Members list.

    Azure-12
  8. Click Review + assign. The access is assigned to the Azure app.