Microsoft 365 Online Archive - Destination Connection Setup

Prerequisites

  • Global Admin access.

Connection Details

  • Connection Name: Provide a unique name for this new source connection. This connection will be available in the Connections screen and can be reused across projects. The name can be used to identify the connection.
  • Admin Username: This should be the username of a global admin account within your Microsoft 365 tenant. If you are planning to migrate Microsoft Teams/Groups, this should also have a valid Microsoft 365 license that includes Teams.
  • Test Username: Username of a user account in your Microsoft 365 tenant that will be used to test the connection to users.
  • Domain Name: The default domain for your Microsoft 365 tenant.
  • Plan: Select your Office 365 plan. Office 365 Germany is a differentiated option to the Office 365 services already available across Europe. It helps address the needs of the most regulated customers in Germany.
  • Cloud Deployment: Select your Cloud Deployment. For most migration projects leave this set to Global Service as this is the endpoint for M365. If the endpoint is in a special version of Microsoft Cloud, such as GCC High, select the instance that is correct.

Azure AD Application

Migrate uses modern authentication to connect to Microsoft 365 resources. An Azure AD App registration is created in order for this to be achieved. You can either create this automatically by clicking on the button on the below screen and following the flow, or manually via PowerShell.

Automatic Creation - Azure AD Application

To create the app registration automatically, follow the steps below.

  • Click on the "Create Azure AD Application" button.
  • Copy the code and click on the link. The link will take you to a Microsoft 365 web page where you will be asked to enter the code and sign in.

  • Enter the code and click Next.

 

  • Sign in using your Global Admin account.
  • Click Continue to confirm you are trying to sign in to Microsoft Graph Command Line Tools.

  • Close the browser tab as instructed to return to CloudM and allow the Azure AD Application Details to be loaded. It can take a few minutes for the app registration to be created in the background and the page to refresh.

  • Once the Azure AD Application Details page is populated, you can click on Next to proceed to the connection test.

Manual Creation - Azure AD Application

You may need to allow running of unsigned scripts before using the .\CreateAzureADApplication.ps1. powershell script. To do so, open Powershell as an admin and run Set-ExecutionPolicy Unrestricted

Download the following powershell scripts into a working directory eg c:\CloudM

Ensure you open powershell as Administrator in windows (for example press the windows key and type powershell, then choose the Run as Administrator option).

mceclip0.png

From here, change directory to the working directory where the above scripts are saved (for example enter cd  c:\CloudM).

Then, you can run the script by typing .\CreateAzureADApplication.ps1. You will then be prompted to enter:

  • Certificate Password (optional) Press enter to skip
  • Location to save certificate e.g. “c:\cloudm\certificates”
  • Application Name e.g. “My Migration” (Application will appear with prefix ‘CloudM-’)
  • Cloud Deployment
  • Scope (default scopes or limited scopes). For information on using limited scopes, please review the limited scopes article here.

Sign into your account.

mceclip1.png

After logging in, the script will generate the application in Azure AD and create certificate files in the directory specified above eg  “c:\cloudm\certificates”  The script will output the fields and also create a text file with the details you will need to enter into your migration configuration. Copy the values for these fields into CloudM Migrate and click the Next button to test your connection.

Note that when running the script against a tenant that already has an application with the same name specified, the application will be updated with a new certificate replacing any existing certificate. 
Was this article helpful?
0 out of 0 found this helpful