EdbMails EDB Recovery and Migration software
  • Products
    EdbMails
    All-in-one Recovery and Migration

    Trusted and internationally recognized software that delivers award winning solutions.

    Explore our products
    • Offline Recovery Tools
    • Migration Tools
    • G Suite Migration
    • IMAP Migration
    • Duplicate Remover
    • Backup
    • Windows Data Recovery

    Exchange EDB / Email Recovery Tools

    EdbMails offers a comprehensive suite of tools to recover and convert offline EDB, OST, and PST files into Outlook PST, migrate mailboxes to Office 365 and live Exchange Server, and export and migrate data from NSF, MBOX, EML, and MSG formats.

    EDB Recovery and Migration
    Recover EDB to PST, EDB to Office 365 and Exchange NO Duplicate Migration
    NSF Export and Migration
    Export NSF to PST, NSF to Office 365 and Exchange Migration
    OST Recovery and Migration
    Recover OST to PST, OST to Office 365 and Exchange Migration
    EML to PST Export
    EML files export to Outlook PST format
    PST Recovery and Migration
    Recover Outlook PST, PST to Office 365 and Exchange Migration
    PST to MSG Export
    Outlook PST files export to MSG format
    MBOX Export and Migration
    Export MBOX to PST, MBOX to Office 365 and Exchange Migration
    MSG to PST Export
    Export MSG files to Outlook PST files

    Exchange, Office 365, IMAP, SharePoint, OneDrive, Teams

    EdbMails lets you securely migrate mailboxes across Microsoft 365, Exchange, Google Workspace (G Suite), and IMAP-supported servers such as Outlook, Gmail, Zimbra, Zoho Mail, and cPanel, ensuring zero downtime.

    Exchange Server Migration
    Migrate between any Exchange Servers, Exchange to Office 365, Exchange to PST, PST files to Exchange.
    SharePoint Online Migration
    Migrate documents, lists, files and folders from SharePoint sites.
    Office 365 Migration
    Migrate between Office 365 tenants, Office 365 to Exchange, Office 365 to PST, PST files to Office 365.
    OneDrive for Business Migration
    Migrate documents, lists, files and folders from OneDrive.
    Microsoft Teams Migration
    Migrate Teams, chats, channels, documents, files and folders etc.

    Google Workspace / G Suite Migration

    EdbMails G Suite Migration Tool lets you easily migrate emails, calendars, contacts, tasks, and more from G Suite to Office 365, Exchange Server, and IMAP servers using a Google Admin account without requiring individual user credentials.

    G Suite Migration
    Migrate emails, calendars, contacts, tasks from G Suite to Office 365, G Suite to Exchange, G Suite to IMAP Servers
    G Suite to Office 365
    Migrate emails, calendars, contacts, tasks from Google Workspace / G Suite to Office 365
    G Suite to Exchange Server
    Migrate emails, calendars, contacts, tasks from Google Workspace / G Suite to on-Premise Exchange Server
    G Suite to IMAP
    Migrate emails, calendars, contacts, tasks from Google Workspace / G Suite to IMAP, Outlook, Zimbra, Zoho etc.

    IMAP Migration

    EdbMails IMAP Migration tool lets you easily migrate emails from IMAP servers such as Outlook, Gmail, Zoho Mail, Zimbra, cPanel, and more. Supports IMAP to IMAP, Office 365, Exchange Server, PST, and bulk PST to IMAP migration.

    IMAP Email Backup & Migration
    Backup and migrate emails from IMAP servers to PST, Office 365, and On-Premises Exchange Server
    IMAP to Office 365
    Migrate emails, folders, and attachments from IMAP servers to Office 365
    IMAP to Exchange
    Migrate emails, folders, and attachments from IMAP servers to on-premises Exchange Server
    IMAP to PST
    Export emails, folders, and attachments from IMAP servers to Outlook PST files for backup
    PST to IMAP
    Migrate emails, folders, and attachments from bulk PST files to IMAP servers

    Duplicate Remover

    EdbMails Duplicate Remover lets you easily remove duplicate items from Office 365 and Exchange Server, and from IMAP, Outlook, Gmail, Zimbra, Zoho Mail, etc., ensuring a clean and organized mailbox.

    Remove Duplicates from Office 365
    Remove duplicate emails, calendars, contacts, journal tasks, etc. from Office 365.
    Remove Duplicates from Exchange Server
    Remove duplicate emails, calendars, contacts, journal tasks, etc. from live Exchange Server.
    Remove Duplicates from IMAP, Outlook
    Remove duplicate emails, attachments from IMAP, Outlook, Gmail, Zimbra, Zoho Mail etc.

    Exchange, SharePoint, OneDrive, Teams and Office 365 Backup

    EdbMails enables secure, automated backup and recovery for Microsoft 365 services including Exchange Online, SharePoint, OneDrive, Teams, and Live Exchange Server with complete data protection and restore flexibility.

    Office 365 Backup
    Incremental, Granular, Encrypted and Compressed Office 365 Mailboxes Backup
    Exchange Server Backup
    Incremental, Granular, Encrypted and Compressed Exchange Mailboxes Backup
    SharePoint, OneDrive & Teams Backup
    Backup Online site collections, Team sites, Office 365 groups, all documents etc.

    Windows Data Recovery

    EdbMails Windows Data Recovery Software lets you recover permanently deleted data, including photos, videos, documents, and archived files, from partitions on hard drives, SSDs, USB drives, SD cards, and external storage devices.

    Windows Data Recovery
    Recover and restore permanently deleted data from hard drives, SSDs, USB drives, SD cards, and etc.
    Whitepaper
    Request a Demo
    Sign Up
  • Features
  • FAQ
  • Pricing
  • Download
  • Support
  • Sign in
User’s Manual
SharePoint Migration

User Manual

User Manual

  • FAQ
    • SharePoint Migration
    • OneDrive Migration
    • Microsoft Teams Migration
    • Office 365 Migration
  • Videos
    • SharePoint Migration
    • OneDrive Migration
    • Microsoft Teams Migration
    • Office 365 Migration
  • Screenshots
    • SharePoint Migration
    • OneDrive Migration
    • Microsoft Teams Migration
    • Office 365 Migration
  • How it works?
    • SharePoint Migration
    • OneDrive Migration
    • Microsoft Teams Migration
    • Chats and Channels Migration
  1. Home
  2. Product
  3. Manually Register an App in Azure AD for SharePoint Migration | EdbMails
Download Buy Now

Manually Register an App in Azure AD for SharePoint / OneDrive / Teams Migration

EdbMails supports Modern Authentication using OAuth 2.0, which requires an application to be registered in Microsoft 365 (Office 365) Azure Active Directory. This app registration enables secure authentication to access SharePoint, OneDrive, and Microsoft Teams data during migration.

EdbMails supports two methods to register the required Azure AD application:

  • Automatic Registration Method – Requires a Global Administrator account to sign in to Microsoft 365. EdbMails automatically creates and configures the Azure AD app with the required permissions.
  • Manual Registration Method – Administrators can manually register the Azure AD application and then sign in to Microsoft 365 using an Admin account or any other user account with full access rights, without requiring a Global Administrator account to establish the Office 365 connection in EdbMails.

To complete the manual app registration and authentication process, follow the steps outlined in the sections below.

  1. Prepare CA Certificate or Self-Signed Certificate

    A certificate is required to securely authenticate the Azure AD application during the migration process. You can either use a CA-issued certificate or generate a self-signed certificate based on your organization’s security requirements.

    Execute the following Windows PowerShell commands by running PowerShell as an Administrator to generate the .cer and .pfx files.

    Commands:

    Command: Copy & Paste it

    $cert = New-SelfSignedCertificate `
    -Subject "CN=SPO-Migration-Tool" `
    -CertStoreLocation "Cert:\LocalMachine\My" `
    -KeyExportPolicy Exportable `
    -KeySpec Signature `
    -KeyLength 2048 `
    -HashAlgorithm SHA256 `
    -NotAfter (Get-Date).AddYears(1)
    $pwd = ConvertTo-SecureString "password123" -AsPlainText -Force

    Export-Certificate `
    -Cert $cert `
    -FilePath "D:\SPO_App.cer"

    Export-PfxCertificate `
    -Cert $cert `
    -FilePath "D:\SPO_App.pfx" `
    -Password $pwd

     Note:
    • Replace "password123" with a strong password before exporting the PFX file.
    • If D: does not exist on your system, change the FilePath
  2. Register App in Azure AD

    • Log in to Microsoft Entra Admin Center.
    • Navigate to 'Entra ID' from the left-hand menu, select 'App registrations', and then click '+ New registration'.

      App Registration

    • Now, enter the name for the application and select 'Accounts in this organizational directory only (EdbMails only – Single tenant)', and then click the ‘Register’ button.

      Register an Application

    Configure the application permissions

    • On the application’s ‘Overview’ page, click ‘View API permissions’ to access and manage the app’s permission settings.

      View API Permissions

    • Click the ‘+ Add a permission’ button on the API permissions page.

      Add API Permission

    • Next, in the Request API permissions window, select ‘Microsoft Graph’ from the Microsoft APIs section.

      Select a Microsoft API

    • Then, choose ‘Application permissions’ from the available options.

      Application Permissions

    • Choose the following permissions from the list and click ‘Add permissions’ to apply them.
      • ChannelMember.Read.All
      • ChannelMessage.Read.All
      • Chat.Read.All
      • Directory.Read.All
      • Files.ReadWrite.All
      • Group.ReadWrite.All
      • Sites.FullControl.All
      • User.Read
      • User.Read.All
      • User.ReadBasic.All
      • User.ReadWrite.All

      Add Permissions

    • Again, click the ‘+ Add a permission’ button.

      Add Permissions

    • Navigate to the ‘APIs my organization uses’ tab, search for ‘Office 365 SharePoint Online’, and select it from the results.

      Office 365 SharePoint Online

    • Then, choose ‘Application permissions’ from the available options.

      Office 365 SharePoint Online

    • Choose the following permissions from the list and click ‘Add permissions’ to apply them.
      • Sites.FullControl.All
      • TermStore.ReadWrite.All

      Add Permissions

    • On the API permissions page, click ‘Grant admin consent’.

      Grant Admin Consent

    • Click ‘Yes’ to confirm the admin consent.

      Confirm Admin Consent

    • The selected permissions are granted with admin consent

      Source Permissions List

    Upload certificate

    Follow the steps below to upload the certificate that is generated using PowerShell commands:

    • Navigate to ‘Certificates & secrets’ and click the ‘Certificates’ tab.

      Certificates and Secrets

    • Click on ‘Upload certificate’.
    • Browse and select the .cer file, enter the description for the certificate, and then click the ‘Add’ button.

      Select .cer File

       Note: The certificate is uploaded with a default validity of one year. After it expires, a new certificate must be uploaded.

      Upload Certificate

    • Navigate to the 'Overview' section and note the 'Application (Client) ID' and 'Directory (Tenant) ID'. These details need to be then pasted in the EdbMails application later.

      Copy Client & Tenant ID

    Permissions for target SharePoint Server

     Note:
    • Repeat the same steps for the target server except the permissions. Target Permissions are mentioned below.
    • You can use the same .cer file to upload the certificate in the Target environment.
    • Navigate to ‘Microsoft Graph’ and choose the permissions
      • Channel.Create
      • Channel.ReadBasic.All
      • ChannelMember.ReadWrite.All
      • ChannelMessage.Read.All
      • Chat.Read.All
      • Directory.Read.All
      • Files.ReadWrite.All
      • Group.ReadWrite.All
      • Sites.FullControl.All
      • TeamMember.Read.All
      • User.Read
      • User.Read.All
      • User.ReadBasic.All
      • User.ReadWrite.All
      • The permissions that need to be selected under ‘Office 365 SharePoint Online’ are:
        • Sites.FullControl.All
        • TermStore.ReadWrite.All

        Target Permissions List

      • Once the permissions are assigned, grant admin consent. Next, navigate to the ‘Overview’ section, copy the ‘Application (client) ID’ and ‘Directory (tenant) ID’, and use them for the target connection in the EdbMails application.
  3. Connect to SharePoint Server in EdbMails

    • Select the option 'Manual Registration' and click the 'Next' button.

      Manual Registration

    • Enter the ‘Application (Client) ID’, ‘Directory (Tenant) ID’, and then click the ‘Import’ button.

        Note: Ensure the certificate is installed in the correct certificate store before entering the thumbprint; otherwise, import it using the ‘Import’ button.

      Enter the Required Details

    • Browse the PFX file, enter the ‘Password’ (the password you set when exporting the PFX file using PowerShell Commands), and then click the ‘Continue’ button.

      Upload PFX file

       Note: You can also directly copy the value for certificate thumbprint from the ‘Entra admin center’ under the ‘Certificates & secrets’ section.

    • Click the ‘Login’ button to continue.

      Login to Source SharePoint

       Note: If you choose to use the manual registration method for both the source and target servers, register the application separately for each server by following the steps outlined above.


Additional resources:

  • SharePoint Migration
  • OneDrive Migration
  • Microsoft Teams Migration
lady image

 

 In this manual

IntroductionPrepare CA CertificateAzure AD App RegisterSharePoint Server Connection

SharePoint Migration

Just 10 Sites $80 Only

Buy Now

Need help?

24/7 Customer support

Contact us on Live chat

Personalized Demo

Book a personalized demo

Still need help?

Email us / Call us

@edbmails.com All rights are reserved Privacy Policy | Terms of Use | GDPR | Security | Press Releases

hidden msg
Live Chat

Hi, May I help you?

Hide Chat Now