Integrating with Microsoft Azure Migrate

Note: This integration is currently available as a public preview. For access, contact tanium-azuremigrate@tanium.com.

Use assessments in Asset to combine the real-time operational state of your on-premises environment, as known by Tanium, with the robust capabilities of Microsoft Azure Migrate to quantify the economic impact of running workloads in Microsoft Azure without using separate appliances or agents.

Overview

Assessments in Asset provide an automated method to provide Tanium data to your Microsoft Azure Migrate project and run total cost of ownership (TCO) and return on investment (ROI) assessments. You can target an assessment to any segment of your endpoint estate. For example, you might want to assess all on-premises servers that belong to a specific business unit or all servers in a particular geographical region.

For more information about Microsoft Azure Migrate, see Microsoft Azure Migrate documentation: About Azure Migrate.

Before you begin

Before you create a Microsoft Azure Migrate assessment in Asset, you must complete several prerequisite tasks, as detailed in the following sections. After you complete these tasks, you are ready to Create an assessment in Asset.

Step 1. Create a Microsoft Azure account and configure required permissions

If you do not have a Microsoft Azure user account, you must create one to use for the assessment. For an existing user account, confirm that the user account has the required permissions. For more information, see Microsoft Azure Migrate documentation: Prepare an Azure user account.

Step 2. Create a Microsoft Azure Migrate project

If you do not have a Microsoft Azure Migrate project, you must create one to use for the assessment. For more information, see Microsoft Azure Migrate documentation: Create a project for the first time.

Example page that shows Azure Migrate creation

If you are using an existing Microsoft Azure Migrate project, confirm that the Azure Migrate: Discovery and assessment tool is available in the project. If you did not create the project from the Discover, assess and migrate option on the Microsoft Azure Migrate Get Started page, you must add this tool to the project. For more information, see Microsoft Azure Migrate documentation: Select a discovery and assessment tool.

Example page that shows assessment tools

Note the following details about the project so that you can provide them when you create the assessment in Asset:

  • Name of the project

  • Subscription UUID for the subscription in which you create the project. For more information about how to find your subscription ID, see Microsoft Azure documentation: Find your Azure subscription.

  • Resource group that you selected or created for the project

    • Location for the resource group

      Example page that shows resource groups

Step 3: Create an app registration, Microsoft Azure client ID, and secret

In the Microsoft Azure portal, create an app registration and then create a Microsoft Azure client ID and secret for that app to use for authentication.

Step 4: Grant the necessary permissions to the service principal for the registered app

Microsoft Azure automatically creates a service principal object when you register an app (which you completed in Step 3). This service principal object must have Contributor or Owner roles on the associated Microsoft Azure subscription for the assessment to complete successfully. For more information, see Microsoft Azure documentation: Assign Azure roles using the Azure portal.

Tip:
  • In Step 3 of the article, select the Privileged administrator roles tab to see the Contributor or Owner roles.

  • In Step 4 of the article, select the service principal that was created for your registered app.

Step 5: Enable assessments in Asset

Enable the assessments feature

Add a Tanium Core Platform advanced setting to add the assessments feature to Asset. For more information about Tanium Core Platform settings, see Tanium Console User Guide: Managing Tanium Core Platform settings.

  1. From the Main menu, go to Administration > Configuration > Settings > Advanced Settings.
  2. Click Add Setting, configure the following properties, and click Save:
    1. Setting Type: Select Server.
    2. Name: Enter console_enable_asset_assessments.
    3. Value Type: Select Numeric.
    4. Value: Enter 1.
Note: A Tanium Server restart is not needed to apply this setting. Refresh the Asset Settings page to see the Assessments setting.

Enable assessments in the Asset settings

  1. From the Main menu, go to Modules > Asset > Overview and then click Settings cog.
  2. On the Advanced tab, select to enable Assessments.
  3. Click Save.

Step 6: Confirm that the necessary URLs are allowed through your security software

If security software is deployed in your environment to monitor and block unknown URLs, your security administrator must allow the following URLs:

  • discoverysrvprodcusrepsa.blob.core.windows.net

  • management.azure.com

  • login.microsoftonline.com

Create an assessment in Asset

  1. From the Main menu, go to Modules > Asset > Assessments.
  2. Create the assessment:
    • To create a new assessment, click Create Assessment > Azure Migrate.
    • To create an assessment based on an existing assessment, click Copy copy-blue in the row for the assessment that you want to use as the base configuration.
  3. Specify a Name and optional Description for the assessment.
  4. (Optional) Set the Log Level.

    The default log level (Information) is sufficient for typical usage. Adjust the log level only when you are troubleshooting an issue.

  5. In the Azure Connection Details section, provide these details:
    1. Directory (tenant) ID: Enter your Entra ID tenant ID.

      For more information about how to find your tenant ID, see Microsoft Azure documentation: Find your Microsoft Entra tenant.

      Example page that shows where to find the tenant ID
    2. Application (client) ID: Enter the Microsoft Azure Application (client) ID for the application that you created and registered with the Microsoft identity platform in the "Before you begin" section.
      Example page that shows where to record the application (client) ID
    3. Client Secret: Provide the Value for the client secret that you generated for the application that you created and registered with the Microsoft identity platform in the "Before you begin" section.
      Example page that shows where to record the client secret
    4. Click Verify Connection to confirm that the connection is valid.

      Ensure that you receive a Connection successful message before you proceed to the next section. For more information about how to proceed if the verification fails, see Troubleshoot Microsoft Azure assessments.

  6. In the Azure Project Details section, provide these details:
    1. Subscription ID: Enter the UUID for the subscription in which you created the Microsoft Azure Migrate project.

      For more information about how to find your subscription ID, see Microsoft Azure documentation: Find your Azure subscription.

    2. Resource Group Name: Enter the resource group that you selected or created when you created the Microsoft Azure Migrate project.
    3. Azure Migration Project Name: Enter the name of the Microsoft Azure Migrate project that you created to use for the assessment.
    4. Azure Location: Select the Microsoft Azure location to use for the assessment.
      Important: This location must match the location for your resource group. If you did not record the location when you created the project in the "Before you begin" section, you can find it in the Essentials for the resource group. In the Microsoft Azure portal, search for the Resource groups service. Open the Resource groups service and then click the name of your resource group.
      Example page that shows where to access resource groups
  7. In the Targeting section, click Select Computer Groups. Select the computer groups to target with this assessment and click Save.
  8. In the Configuration section, provide these details:
    1. Azure Offer Code: Enter the Microsoft Azure offer code to use for the assessment.

      For more information about the current Microsoft Azure offers, see Microsoft: Microsoft Azure Offer Details.

    2. Savings Options: If you plan to use Microsoft Azure Reserved Instances (RI), select the savings plan you want to use for the assessment. Select None if you do not plan to use Microsoft Azure Reserved Instances.

      For more information about Reserved Instances, see Microsoft Azure: Azure Reserved Virtual Machine Instances.

    3. (Optional) Discount Percentage: If you selected None for Savings Options and have a discount offer to apply in addition to the Microsoft Azure offer code, specify the discount percentage to apply on the final price in the assessment. Valid values are numbers from 0 - 100.
    4. Sizing Criteria: Select the sizing criteria to use for the assessment.

      For more information about sizing criteria, see Microsoft Azure Migrate documentation: Azure VM Assessment overview.

  9. Click Submit to save your changes.

The assessment is available on the Assessments page in Asset. The status is Ready to Run state-idle until it runs for the first time. To run the assessment, click Run caret-right.

Note: Depending on the number of targeted endpoints, an assessment can take several hours to complete.

Work with assessments

After you create an assessment, run the assessment from the Assessments page in Asset to generate the assessment results in Microsoft Azure Migrate. Assessments in Asset can have the following states:
Table 1. Assessment states
Icon Status Description

state-idle

Ready to Run

The assessment is configured and ready to run. Click Run caret-right to run the assessment.

running

In Progress

The assessment is in progress.

circle-check-no-border

Completed

The assessment is complete and ready to open in Microsoft Azure Migrate. Click the link for the assessment on the Assessments page in Asset to open the resulting report in Microsoft Azure Migrate.

inactive

Canceled

The assessment was canceled while in progress.

state-critical

Failed

The assessment failed to complete. Edit the assessment and confirm that all details are correct before you attempt to run the assessment again. For more information about troubleshooting, see Troubleshoot Microsoft Azure assessments.

Run an assessment

  1. From the Main menu, go to Modules > Asset > Assessments.
  2. In the row for the assessment, click Run caret-right.
Note: Depending on the number of targeted endpoints, an assessment can take several hours to complete.

Edit an assessment

  1. From the Main menu, go to Modules > Asset > Assessments.
  2. In the row for the assessment, click Edit edit.
  3. Make the necessary changes and click Save. Run the assessment again to use the updated details in the assessment results.

Open a completed assessment

  1. From the Main menu, go to Modules > Asset > Assessments.
  2. Click the name of the assessment to open the assessment results.
    Example assessmemt results
  3. (Optional) On the assessment page, click View Assessment Details to open the assessment in Microsoft Azure Migrate or View Business Case to open the business case in Microsoft Azure Migrate.

    For more information about interpreting the assessment results, see Microsoft Azure Migrate documentation: Review an assessment. For more information about business case reports, see Microsoft Azure Migrate documentation: Overview report.

Delete an assessment

  1. From the Main menu, go to Modules > Asset > Assessments.
  2. In the row for the assessment, click Delete trash.

Add Tanium data to a Microsoft Azure Migrate assessment

Use Tanium reports to build a report with the fields that you want to migrate, and then export the data to an Microsoft Azure Migrate project for assessment.

Prerequisites

  • Complete steps one and two of Before you begin to create a Microsoft Azure account and a Microsoft Azure Migrate project.

  • You must have Tanium Reporting installed in your environment.

  • You must have a user role with the Report write and Report API user permissions.

Steps

  1. In the Microsoft Azure portal, go to the Assessment tools section and select Discover > Using Import. The Discover page opens.

    Example page that shows where to access the Discover option in Microsoft Azure
  2. Follow the steps listed on the Discover page. To start, download and review the example CSV template provided by Microsoft.

  3. From the Main menu in Tanium Console, go to Data > Reports. The Reports page appears.

  4. Click Create Report and create a report to target the Windows, Linux, and SQL Server endpoints in your environment that you want to migrate. Include the following initial fields:

    • Computer Name

    • Operating System

    • Number of Processor Cores

    • Total Memory

    • Disk Total Space

    Example report that targets Windows, Linux, and SQL Server endpoints
    Note: For more information about additional functionality available in Tanium Reporting, see Tanium Reporting User Guide: Working with reports.
  5. Include any additional fields listed in the example CSV template from Microsoft. You can find similar columns through the Quick Column Add option to add them to the Tanium Report.

    Note: This step might take some time depending on how thorough you want the migration assessment. While only a handful of fields are required, you can select additional fields to increase the accuracy of the assessment data from the Microsoft Azure Migrate project.
  6. Export the Tanium report to CSV and then manually add your Tanium data rows into the appropriate columns of the example CSV template from Microsoft. You might need to slightly modify some values from the Tanium data, such as Memory and Storage, to match the expected format from Microsoft.

  7. After you add data from the Tanium report to match the example CSV template from Microsoft, follow step 3 on the Discover page to import the CSV file.

  8. After the import process completes, return to the Microsoft Azure Migrate project page to verify that your servers are now visible, and that the Build business case and Assess options are now available.

    Microsoft Azure page that shows the 'Build business case' and 'Assess' options
  9. Build business cases or assess as needed, and then view the results.

    Figure 1. Business case
    Business case
    Figure 2. Asessment
    Assessment