EdbMails EDB Recovery and Migration software
  • Products
    EdbMails
    All-in-one Recovery and Migration
    Explore our products
    • EDB recovery and Migration
    • OST, PST, MBOX, NSF, EML, MSG
    • Office 365, Exchange Migration
    • SharePoint, OneDrive & Teams
    • G Suite Migration
    • IMAP Migration
    • Duplicate Remover
    • Windows Data Recovery
    • Backup Solutions

    EDB Recovery and Migration

    EdbMails lets you recover corrupted, damaged, and offline Exchange EDB files, convert EDB mailboxes to PST format, and directly migrate mailbox data to Office 365 and live Exchange Server.

    EDB to PST
    Recover corrupted, damaged, offline EDB files and convert Exchange EDB mailboxes to PST file format
    Public Folder to Exchange
    Migrate public folders from an Exchange offline EDB file to live Exchange Server
    EDB to Live Exchange Migration
    Directly migrate offline Exchange database (EDB) files to live Exchange server
    Archive Mailbox to Office 365
    Migrate archive mailboxes from offline EDB files directly to Office 365
    EDB to Office 365 Migration
    Directly migrate offline Exchange database (EDB) files to Office 365
    Public Folder to Office 365
    Migrate public folders from an offline Exchange EDB file to Office 365

    OST, PST, MBOX, NSF, EML, MSG Export and Migration

    EdbMails lets you to recover OST and PST files, export OST, PST, MBOX, NSF, EML, and MSG files to PST files, and directly migrate OST, PST, MBOX, and NSF mailbox data to Office 365 and live Exchange Server.

    OST Recovery and Migration
    Recover offline OST files, convert OST to PST, and migrate OST to Office 365 and Exchange Server
    PST Recovery and Migration
    Recover Outlook PST files , Export PST to PST, migrate PST to Office 365 and Exchange Server
    MBOX Export and Migration
    Export MBOX to PST, migrate MBOX to Office 365 and Exchange Server
    NSF Export and Migration
    Export NSF to PST, migrate NSF to Office 365 and Exchange Server
    EML to PST Export
    Convert EML files to Outlook PST files
    PST to MSG Export
    Convert Outlook PST file to MSG file format
    MSG to PST Export
    Export MSG files to Outlook PST files

    Office 365, Exchange Migration

    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.

    Office 365 Migration
    Migrate between Office 365 tenants, Office 365 to Exchange, Office 365 to PST, PST files to Office 365.
    Exchange Migration
    Migrate between any Exchange Servers, Exchange to Office 365, Exchange to PST, PST files to Exchange.
    Tenant to Tenant Migration
    Migrate Mailboxes, Public Folders, Archive Mailboxes between Office 365 Tenants.
    Exchange to Office 365
    Migrate Mailboxes, Public Folders, Archive Mailboxes from live Exchange server to Office 365.
    Office 365 to IMAP
    Migrate Office 365 to IMAP, Office 365 to Gmail, Office 365 to Outlook, Office 365 to Zoho etc.
    Exchange to IMAP
    Migrate from live Exchange Server to IMAP servers such as Gmail, Outlook, and Zoho Mail.
    Public Folder to Office 365
    Migrate Public Folders between Office 365 tenants with complete folder hierarchy and mailbox data integrity.
    Exchange to PST
    Export live Exchange Server mailboxes, public folders, and archive mailboxes to Outlook PST files.

    SharePoint, OneDrive & Microsoft Teams Migration

    EdbMails lets you migrate SharePoint sites, OneDrive data, Microsoft Teams, teams, channels, chats, permissions, and documents between Microsoft 365 tenants while maintaining the existing folder structure and data integrity.

    SharePoint Online Migration
    Migrate documents, lists, files and folders from SharePoint sites.
    OneDrive for Business Migration
    Migrate documents, lists, files, folders, private chats 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
    Easily clean up your Office 365, Exchange, Outlook and IMAP accounts by removing duplicate emails.
    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
    • Create a SharePoint site
    • Enable site/subsite creation
    • Add admin as SharePoint site member
    • Disable audit logs in SharePoint
    • OneDrive Migration
    • Microsoft Teams 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 Certificate Azure AD App Register SharePoint 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

© 2026 Shifttocloud Inc. Privacy Policy | Terms of Use | GDPR | Security | Press Releases

hidden msg
Live Chat

Hi, May I help you?

Hide Chat Now