# Microsoft Azure

The NetSPI Platform has a growing integration with Microsoft Azure (MSAzure).

This integration supports the Microsoft Azure product only.

Similar to our other integrations, the Microsoft Azure integration is read-only and does not perform actions to configure systems or otherwise change anything about your Microsoft Azure system.

# Supported asset types

Thr Microsoft Azure integration provides the NetSPI Platform visibility into the following asset types:

  • Systems
  • Users
  • IPV4 Addresses

# Endpoints used

This integration needs access to the following API endpoints:

# Required permissions

This integration needs an API key with the following access permissions:

  • DeviceManagementApps.Read.All
  • DeviceManagementConfiguration.Read.All
  • DeviceManagementManagedDevices.Read.All
  • DeviceManagementRBAC.Read.All
  • DeviceManagementServiceConfig.Read.All
  • Device.Read.all
  • Directory.read.all
  • User.read.all

# Configuration steps

Use the sections below for configuring Microsoft Azure to integrate with the NetSPI Platform.

# Step one: Microsoft Azure system configuration

  1. Sign in to the Microsoft Azure portal (https://portal.azure.com/), select the portal menu icon in the top left, and select Azure Active Directory as illustrated below.

    Azure Step 1

  2. Select App registrations in the left pane as illustrated below:

    Azure Step 2

  3. Select New registration along the top row of tabs as illustrated below:

    Azure Step 3

  4. Provide a descriptive name for the registration and select Register at the bottom as illustrated below:

    Azure Step 4

  5. Copy the values for Application (client) ID and Directory (tenant) ID as we will need these later when configuring the integration in the NetSPI Platform UI. Once copied, select Certificates & secrets in the left pane as illustrated below:

    Azure Step 5

  6. On the Client secrets tab, select New client secret as illustrated below:

    Azure Step 6

  7. Select an appropriate expiration period for the client secret and then select Add at the bottom as illustrated below:

    Azure Step 7

  8. Once the client secret has been created, select the Copy icon to the right of the Value field and record this as we will need it later when configuring the integration in the the NetSPI Platform UI:

    Azure Step 8

  9. Next, navigate to the API permissions link in the left pane and select Add a permission as illustrated below:

    Azure Step 9

  10. On the Request API Permissions modal, select Microsoft Graph as illustrated below:

Azure Step 10

  1. Select the Application permissions button and use the search box to find and select the individual permissions shown below.
  • DeviceManagementApps.Read.All
  • DeviceManagementConfiguration.Read.All
  • DeviceManagementManagedDevices.Read.All
  • DeviceManagementRBAC.Read.All
  • DeviceManagementServiceConfig.Read.All
  • Device.Read.all
  • directory.read.all
  • user.read.all
  1. When finished, select the Add permissions button at the bottom.

Azure Step 11

When complete, the permissions list should look like the following:

Azure Step 11

  1. Select the Grant admin consent for <yourdomain> button and then select yes.

  2. Assign a Read role to this application. Search for "Subscriptions" in the search box at the top bar of the panel and select Subscriptions.

  3. Copy the Subscription ID to used when configuring the integration in the the NetSPI Platform in the section below.

  4. Select your subscription and then Access Control (IAM).

  5. Select the Add button and Add Role Assignment to add a new permission.

  6. Select the Reader role, search for the application you just created, and select Save.

# Step two: NetSPI Platform CAASM configuration

Use the steps below to configure the Microsoft Azure integration in the NetSPI Platform.

  1. Log into the NetSPI Platform as a Client Admin user.

  2. Navigate to Settings -> CAASM Integrations to display the Integrations page.

    Platform Integrations page

  3. Select the Integration Library tab -> Integration Categories / Cloud -> Microsoft Azure Integration.

    Integration Library tab

    This brings the Azure integration card into focus.

  4. Select the Add button on the Azure card to display the Azure integration configuration page.

    Azure integration page

  5. Select and enter values for the following fields.

    1. Select the integration type from the Integration drop-down list. In this case, Azure, which is already selected by default.

    2. Select the integration scope from the Integration Scope drop-down list. The Azure integration can only run on a cloud scope, which was configured by NetSPI and Cloud is the default value.

    3. Enter an integration name and description in the Integration Name and Description fields.

    4. Select the Enabled slider button to display as either on (blue) or off (light gray).

    5. In the Microsoft Azure Parameters field group, enter the following values:

      • Enter the Directory (tenant) and Application (client) IDs created in step 5 in the section above in the Tenant ID and Client ID fields, respectively.

      • Enter the client secret created in step 8 in teh section above in the OAuth2 Secret field.

    6. In the Azure Subscription ID(s) field group, enter the following values:

      • Enter the Subscription ID copied from step 15 above into the Subscription IDs field.

    7. Select Add to add additional subscription IDs as needed.

  6. Select Create to create the integration. The new integration now displays on the Applied Integrations tab with its statuses: current and last run, last run time, and status (enabled/disabled).