Migrate
Migrate from Microsoft 365
Send feedbackNevTan reads each person's mail through Microsoft Graph using an app you register in your own Microsoft Entra tenant. Nobody shares a password, and nothing changes in Microsoft 365. Microsoft 365 bought through GoDaddy works too, as long as you can sign in to Microsoft Entra as a Global Administrator; if you can't, use Upload files instead.
What you need
- A Microsoft 365 Global Administrator, who can grant admin consent.
- About ten minutes.
1. Register an app
- Open App registrations: Sign in to Microsoft Entra → App registrations and click New registration.
- Name it: Use something like
NevTan migration, keep Accounts in this organizational directory only, leave the redirect URI empty and click Register.
2. Give it permissions
- Add Graph permissions: Open API permissions → Add a permission → Microsoft Graph → Application permissions. Tick
Mail.ReadandUser.Read.All, then Add permissions. - Grant admin consent: Click Grant admin consent and confirm. Both permissions should show a green Granted.
Mail.Read copies mail; User.Read.All lets NevTan list your people.
3. Create a client secret
Open Certificates & secrets → Client secrets → New client secret, pick an expiry that covers the migration, and click Add. Copy the Value straight away; Microsoft shows it only once and hides it when you leave the page. The Secret ID next to it is not the secret: it is a 36-character code with dashes, while the Value is about 40 characters and usually has a ~ in it.
4. Connect in NevTan
- Start a migration: Open Dashboard and click Move mail here next to your domain, or open Mailboxes → Mail data. Then click New migration and pick Microsoft 365 / Outlook.
- Paste the details: From the app's Overview copy the Directory (tenant) ID and Application (client) ID, and paste the secret value.
- Connect: Click Connect and find people. NevTan reads your people and checks it can open one mailbox.

5. Choose people and start
Everyone in your tenant is listed and matched by the name before the @ to a mailbox on your NevTan domain. Untick shared mailboxes or accounts you don't want to move, choose what to copy, and click Start migration.
Fixing errors
| Message starts with | What to do |
|---|---|
| That's the secret's ID, not its value | You pasted the Secret ID. Copy the Value column instead. If it's hidden, create a new secret and copy its Value before leaving the page. |
| Microsoft refused the sign-in. The client secret is wrong | Paste the secret's Value, not its Secret ID, and check the secret was made on the same app as the Application (client) ID. |
| Microsoft refused the sign-in. The client secret has expired | Create a new secret under Certificates & secrets and paste its Value. |
| Microsoft can't find an app with that Application (client) ID | Copy the Application (client) ID again from the app's Overview. |
| Microsoft can't find that Directory (tenant) ID | Copy the Directory (tenant) ID again from the app's Overview. |
| Microsoft won't share your list of people | Add User.Read.All as an application permission and click Grant admin consent. |
| Microsoft 365 has N people, but none of them has a mailbox | Those people have no Exchange Online licence, so there is no mail to move. In the Microsoft 365 admin center go to Users → Active users → Licenses and apps and give each one a licence that includes Exchange Online, wait a few minutes, then connect again. |
| Microsoft 365 didn't let the app read | Add Mail.Read as an application permission and click Grant admin consent. Consent can take a few minutes to apply. |
| Microsoft 365 has no mailbox for | That account has no Exchange mailbox, usually because it has no licence. Untick or remove it. |
| Microsoft 365 is busy | Nothing to do. NevTan waits and carries on by itself. |
Limit it to some mailboxes
Mail.Read can read every mailbox in the tenant. To allow only some people, put them in a mail-enabled security group and create an application access policy in Exchange Online PowerShell, with your app's client ID and the group's address:
New-ApplicationAccessPolicy -AppId <client ID> -PolicyScopeGroupId migrate@yourcompany.com -AccessRight RestrictAccess -Description "NevTan migration"
When you're done
After your final Sync new mail, delete the app registration, or at least its client secret. Mail already copied stays in NevTan.
