Azure Installation

1. Contact the CloudWisdom Sales Team

  1. Contact CloudWisdom Sales to get a link for accessing the new Azure integration page.
  2. Wait for an email containing the link.
  3. Once you receive the link, open it in a new tab.

2. Create an Active Directory Application in Azure

  1. In a separate tab, open the Azure portal and select Azure Active Directory from the left or top menu. azure-active-directory
  2. Select App registrations from the Manage options. app-registrations
  3. Select + New Registration at the top. new-registration
  4. Provide a name for the application (e.g., CloudWisdom-Integration).
  5. Select Accounts in this organizational directory only (Default Directory only - Single tenant) for Supported Account Types.
  6. Find the Redirect URI (optional) section. Select Web and input https://us.cloudwisdom.virtana.com. redirect-uri-url
  7. Select Register at the bottom of the window.

3. Get the Application ID, Application Key, & Tenant ID from Azure

Once you have completed part 2, you are redirected to the CloudWisdom-Integration’s overview page.

  1. Copy the Application (client) ID and paste the ID into the Client ID field in CloudWisdom. Then Copy the Directory (tenant) ID and paste it into the Tenant ID field. ids
  2. Select Certificates & secrets. certs-secrets
  3. Select + New client secret
  4. Provide a description and select an Expiration for the key. add-desc-expiration
  5. Select Add. The Secret is now listed in the Client secrets section.
  6. Copy the secret’s Value and return to the tab with CloudWisdom open. Paste it into the Access Key field. Once it’s pasted, return to the Azure tab.
    • Note: the access key is only shown in the Azure portal for a few minutes. copy-secret-value

4. Set Delegated Permissions in Azure

  1. In Azure, navigate to the API Permissions section of your CloudWisdom-Integration. api-permissions
  2. Select + Add a permission. A side panel appears.
  3. Select the Azure Service Management card. azure-service-management
  4. Select Delegated Permissions.
    • Note: Granting delegated permissions authorizes the registered application (CloudWisdom) to make requests to the Azure API only. Details of what data can be read is configured in the next step.
  5. Enable the user_impersonation permission. user-impersonation
  6. Select Add permissions.

5. Collect Subscription ID and Set Role

To assign a role to the application, you’ll need the Owner or User Access Administrator role in Azure (the Contributor role will not work) or a custom role that grants write access for Microsoft.Authorization.

  1. Navigate to Home > Subscriptions in Azure.
  2. Select the Subscription Name your new app belongs to.

    While here, ensure the microsoft.insights resource provider is registered as it’s needed to gather performance metrics for your Azure objects. enable-microsoft-insights

  3. Copy the Subscription ID and return to the tab with CloudWisdom open. Paste it into the appropriate field. Once it’s pasted, return to the Azure tab. copy-subscription-id

  4. Navigate to this subscription’s Access Control (IAM) tab. access-control-tab

  5. Select Add > Add role assignment. A side panel appears. add-role-assignment

  6. Complete the following fields:

    • Role: Reader
    • Assign access to: Azure AD user, group, or service principal
    • Select: Enter the name of the app you created in section 2 and select the app.
  7. Select Save.

    • Note: You can verify the permissions by selecting Role Assignments and searching for the CloudWisdom application.
  8. Return to CloudWisdom, verify each field has been filled in accurately, and then click the Save button.

Follow the instructions on Guest OS Diagnostic Metrics to enable guest OS diagnostic metrics on your VMs. These metrics are required for CloudWisdom’s Azure cost reports.