Register the NavOps Application with Azure

Register NavOps with Azure so that you can later add a cloud credential in NavOps.

You must have already purchased an Azure subscription, obtained a tenant and have an Azure user account.

Azure documentation can be found at Quickstart: Register an application with the Microsoft identity platform.

Register the NavOps web application with the Azure Active Directory and create an client secret key. Manage access to the newly create application by assigning a role. Also, obtain your Azure tenant ID and subscription ID. Once this task is complete, you should have the following information stored in a file:
  • Application ID generated when registering NavOps with the Azure Active Directory.
  • Client secret key generated for the newly registered NavOps application.
  • Subscription ID
  • Tenant ID
This information is necessary to create a cloud credential in NavOps.
  1. Login in to your Microsoft Azure account.
Register NavOps to the Azure Active Directory.
  1. Using the search box, enter app reg.
    A list of search results is listed.
  2. Under Services, click App registrations.
  3. Click New registration.
  4. Enter the following to register NavOps to the Azure Active Directory:
    1. For Name, enter the name of the application.
      The name can be anything meaningful to your organization, e.g., pc_cloudapp.
    2. For Supported account types, choose the option that best suits your organization.
      Tip: Click the Help me choose link for additional information about the available options.
    3. For Redirect URI, select Web and enter the URL https://hostname:9500/pc.
      where hostname is the hostname of the machine where the NavOps Web Interface is installed. This is the URL that is used to login to NavOps.
  5. Click Register.
    Once the application registration is complete, its details are displayed, including an Application ID.
Obtain the application id of the newly registered application.
  1. Hover over the Application (client) ID and click the copy to clipboard icon when it appears.
  2. Store the Application ID to a file.
    The Application ID is used later to create a cloud credential in NavOps.
Create a client secret key for your newly registered application.
  1. Click Certificates and secrets from the Manage menu located on the left-hand side of the web page.
    Figure 1. Certificates and Secrets

    Certificates and Secrets
  2. Under Client secrets, click New client secret.
  3. Enter the following to add a client secret:
    1. For DESCRIPTION, enter pc_client_secret.
    2. For EXPIRES, select 24 months.
  4. Click Add.
    A client secret key is generated and is displayed under the heading VALUE.
  5. Click copy to clipboard icon next to the client secret key.
  6. Store the client secret key to a file.
    The client secret key is used later to create a cloud credential in NavOps.
Obtain your Azure subscription ID.
  1. Using the search box, enter subscription.
    A list of search results is listed.
  2. Under Services, click Subscriptions.
  3. Locate and click your subscription.
    Details about the subscription are displayed, including a Subscription ID.
  4. Hover over the Subscription ID and click copy to clipboard icon when it appears.
  5. Store the Subscription ID value to a file.
    The Subscription ID is used later to create a cloud credential in NavOps.
Assign an access control role to the newly registered application.
  1. Click Access control (IAM).
    Figure 2. Add Access Controls

    Add Access Controls
  2. Click Add.
  3. Click Add role assignment.
  4. In the Add role assignment panel, enter the following to assign a role to the newly registered application:
    1. For Role, select Contributor.
    2. For Assign access to, select user, group, or service principal.
    3. For Select, search for the newly registered application by entering its name, e.g., pc_cloudapp.
    4. Select the application by clicking on it.
  5. Click Save.
    Note: For scaling to work in Azure, a minimal permission can be set that a Role of Contributor is available at the Resource Group level for the Resource Groups we will use for scaling.
Obtain your Azure tenant ID:
  1. At the top of the web page, click ?.
  2. Click Show diagnostics.
    A dialog box is displayed allowing a file called PortalDiagnostics.json to be saved.
  3. Open the file using any text editor.
  4. Search for tenantId.
  5. Store the value of tenantId to a file.
    The Tenant ID is used later to create a cloud credential in NavOps