Migration Prerequisites

Entra Application Registration

Register the Opsole Migrate application in Microsoft Entra ID, grant Microsoft Graph permissions, create a client secret, and validate authentication.

Overview

Opsole Migrate requires an application registration in Microsoft Entra ID to authenticate and perform Microsoft Graph API operations across device, identity, Intune, recovery, and post-migration assignment workflows.

The application registration can be created using one of two methods:

  • Automatic Registration — Create and configure the app registration directly from the Opsole Migrate portal. Recommended for most organizations.
  • Manual Registration — Create and configure the app registration through the Microsoft Entra admin center. Recommended for organizations with policies that restrict automated application registration.

Select the method that aligns with your organization's policy and proceed to the corresponding section below.


Option 1 — Automatic Entra Application Registration

The Opsole Migrate portal provides an automatic Entra application registration option that creates and configures the app registration in your tenant without any manual steps in the Microsoft Entra admin center. This is the recommended method for most organizations.

To use automatic registration, sign in with an account that has sufficient privileges to register applications and grant admin consent in your tenant.

Steps:

1. In the Opsole Migrate portal, navigate to Settings > Migration > Set Migration Configuration, Select Migration Option and click Automatic Entra App Registration.

Entra App Registration - New Registration

2. A Microsoft authentication window will appear. Sign in with your Entra administrator account.

Entra App Registration - New Registration

Entra App Registration - New Registration

4. The portal will complete the registration and display the status.

Entra App Registration - New Registration

5. Once complete, the portal captures and saves the application details automatically.

Entra App Registration - New Registration

Once automatic registration is complete, proceed to Validate the Entra App Registration.

Security Warning — This client secret grants privileged access to your Microsoft Entra tenant. Treat it like a password — store it securely, restrict access to authorized personnel only, and never share it. If compromised, revoke it immediately in Entra and generate a new secret.


Option 2 — Manual Entra Application Registration

Organizations with policies that restrict automated application registration can complete the registration manually through the Microsoft Entra admin center. Follow the steps below to create and configure the app registration.


Step 1 - Register Application

  1. Go to entra.microsoft.com.
  2. Navigate to Home > Applications > App registrations.
  3. Click + New registration.

Entra App Registration - New Registration

  1. Enter a name for the application, for example OpsoleMigrateApp.
  2. Retain all other settings at their default values.
  3. Click Register.

Entra App Registration - Name App


Step 2 - Save Identifiers

From the application's Overview page, copy and save the following values:

  • Application (client) ID
  • Directory (tenant) ID

These values are required later when configuring and validating the Opsole Migrate portal connection.

Entra App - Overview IDs


Step 3 - Add API Permissions

  1. Go to API permissions.
  2. Click + Add a permission.

Entra App - API Permissions

  1. On the Request API permissions page, select Microsoft Graph.

Microsoft Graph - Permission Type

  1. Select Application permissions.

Microsoft Graph - Application Permissions

  1. Use the search bar to add the required Microsoft Graph permissions.

Microsoft Graph - Add Permissions

PermissionTypeScope
User.Read.AllApplicationRequired
Device.ReadWrite.AllApplicationRequired
Directory.Read.AllApplicationRequired
DeviceManagementManagedDevices.ReadWrite.AllApplicationRequired
DeviceManagementServiceConfig.ReadWrite.AllApplicationRequired
DeviceManagementConfiguration.ReadWrite.AllApplicationFeature-dependent
GroupMember.ReadWrite.AllApplicationFeature-dependent
DeviceLocalCredential.Read.AllApplicationFeature-dependent
DeviceLocalCredential.ReadBasic.AllApplicationFeature-dependent

Feature-dependent permissions are required only when the corresponding capability is enabled, such as LAPS retrieval, group restoration, or configuration profile handling.

Microsoft Graph - Permissions List

  1. After adding the permissions, click Grant admin consent for [TENANT NAME].
  2. Click Yes at the grant admin consent confirmation prompt.

Grant Admin Consent

  1. Confirm that all permissions display Granted for [TENANT NAME].

Permissions Granted


Step 4 - Generate Client Secret

  1. Go to Certificates & secrets > Client secrets.
  2. Click + New client secret.

Certificates & Secrets

  1. Fill in the following:
    • Description: for example OpsoleSecretKey
    • Expires: select a duration aligned with your organization's secret rotation policy, for example 180 days
  2. Click Add.

Create Client Secret

Security Warning — This client secret grants privileged access to your Microsoft Entra tenant. Treat it like a password — store it securely, restrict access to authorized personnel only, and never share it. If compromised, revoke it immediately in Entra and generate a new secret.


Step 5 - Save the Secret Value

Copy the Value of the new client secret immediately and save it securely.

The client secret value is shown only once. Do not navigate away from the page until the value has been copied and stored.

Store the secret in an approved secrets vault or password management system. Do not email it, store it in scripts, save it in source control, or share it through chat.

Record the secret expiry date and assign an owner for rotation before expiry.

Client Secret Value


Next Steps

How is this guide?