From 23c4f0a864d8b88df6505add78e7b1b6c77f0f6c Mon Sep 17 00:00:00 2001
From: Nicolas Fabert <195452170+Nico77600@users.noreply.github.com>
Date: Fri, 13 Nov 2026 10:06:22 +0100
Subject: [PATCH 1/2] PRA Remote Mailbox 3.1.4: one error for one cause when
the audit cannot start
---
CHANGELOG.md | 3 +-
README.md | 6 +-
package/Invoke-PraRemoteMailbox.ps1 | 7 +-
package/PackageIntegrity.psd1 | 2 +-
package/PraRemoteMailbox.psd1 | 2 +-
package/PraRemoteMailbox.psm1 | 2 +-
package/README.md | 2 +-
package/config/PraRemoteMailbox.config.psd1 | 2 +-
package/docs/PraRemoteMailbox-Guide.html | 474 +++++++--------
package/docs/PraRemoteMailbox-Guide.md | 4 +-
package/docs/PraRemoteMailbox-UserGuide.html | 548 +++++++++---------
package/docs/PraRemoteMailbox-UserGuide.md | 4 +-
.../docs/images/console-next-cloud-light.png | Bin 111205 -> 111379 bytes
.../images/console-next-finalize-light.png | Bin 90530 -> 90519 bytes
.../docs/images/console-next-global-light.png | Bin 112086 -> 112320 bytes
package/docs/images/console-next-light.png | Bin 112439 -> 112660 bytes
.../images/console-next-package-light.png | Bin 181621 -> 181649 bytes
.../console-next-rollback-cloud-light.png | Bin 170472 -> 170650 bytes
.../images/console-next-rollback-light.png | Bin 87422 -> 87723 bytes
.../console-next-rollback-package-light.png | Bin 180281 -> 180295 bytes
.../images/console-next-syncfailed-light.png | Bin 212303 -> 212118 bytes
.../docs/images/console-run-cloud-light.png | Bin 134442 -> 134482 bytes
.../docs/images/console-run-early-light.png | Bin 118708 -> 118761 bytes
.../images/console-run-finalize-light.png | Bin 104653 -> 104889 bytes
.../docs/images/console-run-finished-dark.png | Bin 168198 -> 168257 bytes
.../images/console-run-finished-light.png | Bin 169540 -> 169474 bytes
.../docs/images/console-run-grant-light.png | Bin 184914 -> 184970 bytes
.../docs/images/console-run-package-light.png | Bin 111789 -> 111858 bytes
.../console-run-rollback-cloud-light.png | Bin 103923 -> 103958 bytes
.../images/console-run-rollback-light.png | Bin 124070 -> 124137 bytes
.../images/console-run-syncfailed-light.png | Bin 135609 -> 135802 bytes
.../docs/images/console-run-waiting-light.png | Bin 152011 -> 152271 bytes
.../docs/images/console-settings-light.png | Bin 146702 -> 146693 bytes
package/docs/images/console-setup-dark.png | Bin 114305 -> 114313 bytes
package/docs/images/console-setup-light.png | Bin 114845 -> 114849 bytes
.../docs/images/console-setup-next-light.png | Bin 114953 -> 114951 bytes
.../docs/images/console-setup-red-light.png | Bin 142761 -> 142764 bytes
package/docs/images/console-task-ad-light.png | Bin 130777 -> 130711 bytes
.../docs/images/console-task-check-light.png | Bin 111998 -> 111945 bytes
.../images/console-task-continue-light.png | Bin 143233 -> 143043 bytes
.../images/console-task-finalize-light.png | Bin 135063 -> 134497 bytes
.../docs/images/console-task-finish-light.png | Bin 155234 -> 155300 bytes
.../docs/images/console-task-group-light.png | Bin 150178 -> 150122 bytes
.../images/console-task-identity-light.png | Bin 142356 -> 142294 bytes
package/docs/images/console-task-light.png | Bin 133044 -> 132991 bytes
.../console-task-package-selected-light.png | Bin 144909 -> 144718 bytes
.../images/console-task-rollback-ad-light.png | Bin 129656 -> 129436 bytes
.../console-task-rollback-continue-light.png | Bin 132644 -> 132426 bytes
.../images/console-task-rollback-light.png | Bin 129295 -> 129763 bytes
.../console-task-rollback-package-light.png | Bin 132946 -> 132710 bytes
.../console-task-rollback-selected-light.png | Bin 131388 -> 131237 bytes
.../docs/images/console-task-scope-light.png | Bin 133917 -> 133857 bytes
.../images/console-verify-before-light.png | Bin 128995 -> 131292 bytes
.../images/console-verify-check-light.png | Bin 96843 -> 96778 bytes
.../images/console-verify-cloud-light.png | Bin 149498 -> 149642 bytes
.../images/console-verify-finalize-light.png | Bin 125760 -> 125449 bytes
package/docs/images/console-verify-light.png | Bin 129963 -> 132387 bytes
.../console-verify-rollback-cloud-light.png | Bin 144987 -> 145607 bytes
.../images/console-verify-rollback-light.png | Bin 133682 -> 133937 bytes
.../images/console-verify-scope-light.png | Bin 161566 -> 161498 bytes
package/docs/images/readme-banner-dark.png | Bin 233180 -> 233581 bytes
package/docs/images/readme-banner-light.png | Bin 293110 -> 293450 bytes
package/module/PRA.Backup.psm1 | 2 +-
package/module/PRA.Cloud.psm1 | 2 +-
package/module/PRA.Common.psm1 | 21 +-
package/module/PRA.Directory.psm1 | 2 +-
package/module/PRA.Gui.Directory.ps1 | 2 +-
package/module/PRA.Gui.psm1 | 2 +-
package/templates/Report.template.html | 2 +-
tests/IntegrityFixture.ps1 | 2 +-
tests/Invoke-TestGate.ps1 | 2 +-
tests/PackageIntegrity.Tests.ps1 | 4 +-
tests/PraDocumentation.Tests.ps1 | 4 +-
tests/PraRemoteMailbox.Tests.ps1 | 56 +-
tests/PraReport.Tests.ps1 | 4 +-
tools/Build-Documentation.ps1 | 2 +-
tools/DocumentationImages/New-PackageCopy.ps1 | 2 +-
.../Show-ConsoleScreens.ps1 | 2 +-
tools/DocumentationImages/StubEngine.ps1 | 2 +-
.../DocumentationImages/StubPackageCheck.ps1 | 2 +-
tools/New-DocumentationImages.ps1 | 2 +-
tools/New-PraPackage.ps1 | 4 +-
82 files changed, 617 insertions(+), 560 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6a00d31..e07776f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,7 +4,7 @@ All notable changes of PRA Remote Mailbox. Author: Nicolas Fabert. Versions foll
a MAJOR version changes the command line or the configuration file, a MINOR version adds a feature,
a PATCH version fixes a defect. The backup formats have their own version (see the guide, annex D).
-## 3.1.3 — 2026-11-12
+## 3.1.4 — 2026-11-13
### Added
- Convert the members of an AD group for one run (`-Group `, or **AD group** in the console Task page): nested groups included, every member not converted listed with its reason.
@@ -16,6 +16,7 @@ a PATCH version fixes a defect. The backup formats have their own version (see t
- Every failed run ends with a next step and a command that works: refused options, a refused AD write, an unreachable domain controller, a cloud wait that timed out, an object already converted (its current batch).
- Two servers: copy the zip **and** its `.sha256` file; the rollback command after a cloud step is the AD phase.
- Plain messages for a failed Entra Connect cycle, a Check and the Exchange Online session check. The Setup page shows one "Cloud modules" light.
+- A log folder that cannot be created is reported once, as one error.
## 3.1.2 — 2026-11-10
diff --git a/README.md b/README.md
index f176475..d0f4697 100644
--- a/README.md
+++ b/README.md
@@ -21,7 +21,7 @@
> [!TIP]
-> **Download the latest release.** Open the [latest release](https://github.com/Nico77600/PraRemoteMailbox/releases/latest) and download **`PraRemoteMailbox-3.1.3.zip`** under *Assets* (its SHA-256 is in the release notes). That ZIP is the signed tool, with the HTML guides. Do not use the **Source code** archives or the green **Code** button: they are a copy of the repository, not the release package.
+> **Download the latest release.** Open the [latest release](https://github.com/Nico77600/PraRemoteMailbox/releases/latest) and download **`PraRemoteMailbox-3.1.4.zip`** under *Assets* (its SHA-256 is in the release notes). That ZIP is the signed tool, with the HTML guides. Do not use the **Source code** archives or the green **Code** button: they are a copy of the repository, not the release package.
> [!IMPORTANT]
> Files downloaded from the Internet may be blocked by Windows and fail to run. Before using this project, unblock every file in the downloaded folder:
@@ -48,7 +48,7 @@ In a hybrid organisation, a mailbox hosted on-premises is only a *mail user* for
Done by hand, this means rewriting about ten Exchange attributes per object in Active Directory, for hundreds of objects, under stress — and keeping every original value to come back later: a wrong or lost value cannot be repaired without a backup. This tool does the conversion in a planned, verified and **reversible** way.
-**Author:** Nicolas Fabert · **Version:** 3.1.3, 2026-11-10 ([changelog](CHANGELOG.md)).
+**Author:** Nicolas Fabert · **Version:** 3.1.4, 2026-11-13 ([changelog](CHANGELOG.md)).
> [!CAUTION]
> Convert creates **new, empty** mailboxes in Exchange Online: the content of the on-premises mailboxes is not moved. A Recover deprovisions the cloud mailboxes: export first what was received in the cloud during the disaster, or protect it with a retention policy (reference guide, chapter 6).
@@ -68,7 +68,7 @@ One path for everyone. Set the tool up once (**1 to 4**), then take branch **A**
# 1 · Get your rights. Give the table "Requirements" below to your administrator (minimum rights, derived from the code).
# 2 · On the server, in PowerShell 7.5+ as administrator: put the tool in its folder and unblock it.
-# Download PraRemoteMailbox-3.1.3.zip from the latest release (under Assets, not Source code) and extract it to D:\PRA\PraRemoteMailbox
+# Download PraRemoteMailbox-3.1.4.zip from the latest release (under Assets, not Source code) and extract it to D:\PRA\PraRemoteMailbox
Get-ChildItem D:\PRA\PraRemoteMailbox -Recurse -File -Force | Unblock-File
Install-Module ExchangeOnlineManagement -MinimumVersion 3.10.1 -Scope AllUsers -Force
Install-Module Microsoft.Graph.Authentication -MinimumVersion 2.41.1 -Scope AllUsers -Force # one command per module: PowerShellGet refuses -MinimumVersion with several names
diff --git a/package/Invoke-PraRemoteMailbox.ps1 b/package/Invoke-PraRemoteMailbox.ps1
index ab9a86b..30e1870 100644
--- a/package/Invoke-PraRemoteMailbox.ps1
+++ b/package/Invoke-PraRemoteMailbox.ps1
@@ -149,7 +149,7 @@
.NOTES
Author : Nicolas Fabert
- Version : 3.1.3
+ Version : 3.1.4
Requires : PowerShell 7.5 or later (pwsh.exe; Windows PowerShell 5.1 is refused), RSAT ActiveDirectory,
ExchangeOnlineManagement 3.10.1+, Microsoft.Graph.Authentication and Microsoft.Graph.Users 2.41.1+ in one same
version (cloud part), ADSync (sync; through the Windows PowerShell compatibility layer when local).
@@ -1382,8 +1382,9 @@ try {
}
catch {
$failure = $_; $failureOperation = $context.CurrentOperation
- if (-not $context.TranscriptStarted -and -not $context.LogFile -and $context.LogFolder) {
- try { Initialize-PraAudit $context } catch { $context.Issues.Add([pscustomobject]@{ Message = "Audit unavailable: $($_.Exception.Message)"; Source = 'Audit' }) }
+ # The audit starts here when the run stopped before reaching it (a configuration that cannot be read); an audit that failed is already reported.
+ if (-not $context.TranscriptStarted -and -not $context.LogFile -and $context.LogFolder -and -not [bool](Get-PraValue $context 'AuditAttempted' $false)) {
+ try { Initialize-PraAudit $context } catch { $retryMessage = $_.Exception.Message; if (-not @($context.Issues.ToArray() | Where-Object { ([string](Get-PraValue $_ 'Message' '')).Contains($retryMessage) }).Count) { $context.Issues.Add([pscustomobject]@{ Message = "Audit unavailable: $retryMessage"; Source = 'Audit' }) } }
}
$context.CurrentOperation = $failureOperation
try {
diff --git a/package/PackageIntegrity.psd1 b/package/PackageIntegrity.psd1
index dc21900..8f63de1 100644
--- a/package/PackageIntegrity.psd1
+++ b/package/PackageIntegrity.psd1
@@ -1,4 +1,4 @@
-# PRA Remote Mailbox 3.1.3 - authenticated package integrity manifest
+# PRA Remote Mailbox 3.1.4 - authenticated package integrity manifest
# Generated only after the final stable-file signatures and timestamps.
@{
SchemaVersion = 1
diff --git a/package/PraRemoteMailbox.psd1 b/package/PraRemoteMailbox.psd1
index 2f36053..1f11458 100644
--- a/package/PraRemoteMailbox.psd1
+++ b/package/PraRemoteMailbox.psd1
@@ -19,7 +19,7 @@
#
@{
RootModule = 'PraRemoteMailbox.psm1'
- ModuleVersion = '3.1.3'
+ ModuleVersion = '3.1.4'
GUID = '1d97585b-d077-4d74-bf10-4e36d16308b6'
Author = 'Nicolas Fabert'
Description = 'PRA Remote Mailbox: disaster-recovery tool for an Exchange hybrid environment. Converts on-premises mailboxes to remote mailboxes and back (Active Directory and Exchange Online), with a backup before every write, a proof after it, a guided console and a transfer package between the Active Directory server and the cloud server.'
diff --git a/package/PraRemoteMailbox.psm1 b/package/PraRemoteMailbox.psm1
index 70164b9..151a626 100644
--- a/package/PraRemoteMailbox.psm1
+++ b/package/PraRemoteMailbox.psm1
@@ -18,7 +18,7 @@
.NOTES
Author : Nicolas Fabert
- Version : 3.1.3
+ Version : 3.1.4
History : see CHANGELOG.md
#>
#Requires -Version 7.5
diff --git a/package/README.md b/package/README.md
index 00a9a7a..8260d8a 100644
--- a/package/README.md
+++ b/package/README.md
@@ -1,6 +1,6 @@
# PRA Remote Mailbox
-When the on-premises Exchange servers are lost, gives every user a mailbox in Exchange Online and rolls everything back when Exchange is available again. PowerShell 7.5+ engine, optional WPF window. Author: Nicolas Fabert. Version 3.1.3.
+When the on-premises Exchange servers are lost, gives every user a mailbox in Exchange Online and rolls everything back when Exchange is available again. PowerShell 7.5+ engine, optional WPF window. Author: Nicolas Fabert. Version 3.1.4.
This folder contains everything needed to run the tool: `Invoke-PraRemoteMailbox.ps1`, its modules and WPF window, the configuration and CSV samples, the report template and the two guides (user guide and reference guide). Tests and build tools stay outside it, in the repository.
diff --git a/package/config/PraRemoteMailbox.config.psd1 b/package/config/PraRemoteMailbox.config.psd1
index 1265d36..9d3a2bf 100644
--- a/package/config/PraRemoteMailbox.config.psd1
+++ b/package/config/PraRemoteMailbox.config.psd1
@@ -2,7 +2,7 @@
# PRA Remote Mailbox - configuration file
# --------------------------------------------------------------------------
# Author : Nicolas Fabert
-# Version : 3.1.3
+# Version : 3.1.4
#
# This file is read by Invoke-PraRemoteMailbox.ps1. It is a PowerShell data
# file: text between quotes, $true / $false, numbers, and @( ) for lists.
diff --git a/package/docs/PraRemoteMailbox-Guide.html b/package/docs/PraRemoteMailbox-Guide.html
index 1edf365..f3d351c 100644
--- a/package/docs/PraRemoteMailbox-Guide.html
+++ b/package/docs/PraRemoteMailbox-Guide.html
@@ -1,192 +1,192 @@
-
-
-PRA Remote Mailbox - Administrator guide
-
-
-
-
Administrator guide
PRA Remote Mailbox
Version 3.1.3Updated 2026-11-10Nicolas FabertPowerShell 7.5+ (engine and window)Backup before every change
When the on-premises Exchange servers are lost, PRA Remote Mailbox turns the on-premises mailboxes into remote mailboxes, so that every user gets a mailbox in Exchange Online within the hour — and rolls everything back when Exchange is available again. Only Active Directory is changed on-premises, and every change is backed up first.
Version 3.1.4Updated 2026-11-13Nicolas FabertPowerShell 7.5+ (engine and window)Backup before every change
When the on-premises Exchange servers are lost, PRA Remote Mailbox turns the on-premises mailboxes into remote mailboxes, so that every user gets a mailbox in Exchange Online within the hour — and rolls everything back when Exchange is available again. Only Active Directory is changed on-premises, and every change is backed up first.
New here? Start with the [user guide]fPraRemoteMailbox-UserGuide.md): the same tool, one step after the other, with a picture for each step. This guide is the reference.
@@ -1265,7 +1265,7 @@
Files
The routine is always the same: run the command without-Mode Apply (preview: nothing is written), read the plan, run the same command with-Mode Apply, answer Y, and note the batch ID printed at the end — it is the key of the roll-back. The recipes below are complete: copy them, change the names.
The console (WPF window)
-The console: the Run page of a conversion, when it is done (synthetic data, no live operation)
+The console: the Run page of a conversion, when it is done (synthetic data, no live operation)
PowerShell
# Native Fluent controls; the business engine runs in a separate pwsh.exe process.
pwsh -STA -File .\Invoke-PraRemoteMailbox.ps1 -Gui -ConfigPath .\config\PraRemoteMailbox.config.psd1
@@ -1308,10 +1308,10 @@
The console (WPF window)
-Setup: the prerequisite lights
-Setup: the run settings opened with Change
-Task: the four cards and the object source
-Run: a wait of the Entra Connect synchronisation, with the attempt counter
+Setup: the prerequisite lights
+Setup: the run settings opened with Change
+Task: the four cards and the object source
+Run: a wait of the Entra Connect synchronisation, with the attempt counter
Run settings (page 1, Change...): Environment, domain controller, mailbox scope (All, users only, shared only), sign-in (certificate or
interactive Windows broker), tenant ID and organization. The cloud fields appear only when the chosen task needs the cloud. A value that differs from the
configuration file is marked modified, with Reset. What you change applies to this run only and is never written to the file. The window
@@ -1546,14 +1546,14 @@
Scenario D — Recover on two servers
Phase Both retains inline restoration unless DeferOnPremRestore is enabled. Finalize is only
required when the result supplies a Finalize package (deferred shared attributes or retention tags).
What you see
-The Verify page: the preview of a Convert, with the confirmation word typed
+The Verify page: the preview of a Convert, with the confirmation word typed
The banner: action, mode, scope, tenant, configuration and log file.
Numbered steps. In a preview, the steps that write are shown as skipped.
For each object: its type change (UserMailbox → RemoteUserMailbox) and only the attributes that change — green = added, yellow = changed, red = removed. For a shared mailbox, the holders that will get FullAccess, SendAs and SendOnBehalf in Exchange Online. The full before/after values and the complete lists of holders are in the log.
The summary: result, batch ID, backup, report, log, duration and the next command.
-The Next steps page at the end of a Convert
+The Next steps page at the end of a Convert
Exit codes
@@ -2556,45 +2556,45 @@
Lab revalidation of t
No defect was found in the backup, receipt and proof engine; its logic is unchanged in 2.0.0 and covered by the gate.
-
-
-
-
-
+
+
+
+
+
\ No newline at end of file
diff --git a/package/docs/PraRemoteMailbox-Guide.md b/package/docs/PraRemoteMailbox-Guide.md
index 1faed47..2873f74 100644
--- a/package/docs/PraRemoteMailbox-Guide.md
+++ b/package/docs/PraRemoteMailbox-Guide.md
@@ -1,9 +1,9 @@
---
title: PRA Remote Mailbox
subtitle: Administrator guide
-version: 3.1.3
+version: 3.1.4
author: Nicolas Fabert
-updated: 2026-11-10
+updated: 2026-11-13
runtime: PowerShell 7.5+ (engine and window)
safety: Backup before every change
---
diff --git a/package/docs/PraRemoteMailbox-UserGuide.html b/package/docs/PraRemoteMailbox-UserGuide.html
index 554e316..e053e75 100644
--- a/package/docs/PraRemoteMailbox-UserGuide.html
+++ b/package/docs/PraRemoteMailbox-UserGuide.html
@@ -1,192 +1,192 @@
-
-
-PRA Remote Mailbox - User guide
-
-
-
-
User guide
PRA Remote Mailbox
Version 3.1.3Updated 2026-11-10Nicolas FabertPowerShell 7.5+ (engine and window)Backup before every change
Follow the path, one step after the other. Each step says what to do, what you should see, and what to do if not. You do not need to know anything before you start: every word is explained. How the tool works inside, every setting and the exact rights are in the reference guide. It is a second file, PraRemoteMailbox-Guide.html, in the same docs folder as this one.
+
+
+PRA Remote Mailbox - User guide
+
+
+
+
User guide
PRA Remote Mailbox
Version 3.1.4Updated 2026-11-13Nicolas FabertPowerShell 7.5+ (engine and window)Backup before every change
Follow the path, one step after the other. Each step says what to do, what you should see, and what to do if not. You do not need to know anything before you start: every word is explained. How the tool works inside, every setting and the exact rights are in the reference guide. It is a second file, PraRemoteMailbox-Guide.html, in the same docs folder as this one.
Important
Files downloaded from the Internet may be blocked by Windows and fail to run. Before using this project, unblock every file in the downloaded folder:
You should see: the console opens. It starts on the Setup page. Look at the lights. A light is a small box with a mark. A green check means "this is ready". A red cross means "this is missing".
-The Setup page. Five lights: all five are green or grey. Number 1 marks the lights
+The Setup page. Five lights: all five are green or grey. Number 1 marks the lights
Here is what each light checks.
The five lights, one by one, in green
@@ -542,7 +542,7 @@
4Op
If a light is red: read the red text inside it. It says what is missing. Ask your administrator to fix it. Then press Check again.
-A Setup page where the light Cloud modules is red because the cloud programs are not installed on this server
+A Setup page where the light Cloud modules is red because the cloud programs are not installed on this server
Note
A red light is not always a problem. In the middle box, This server can run, a big word says what this server can do. AD + Cloud means everything. AD means the directory part only. Cloud means the cloud part only. Nothing yet means a light must be fixed first. The word comes from the programs installed here and from a short test of the Internet. If Microsoft 365 cannot be reached, the word is AD, even when every program is installed. The cloud part must then run on another machine that reaches the Internet (two servers). On the directory server, the cloud lights stay red. On the cloud server, the RSAT ActiveDirectory light stays red. That is normal. You do the other part on the other server.
@@ -579,7 +579,7 @@
Path 1 · Try one mailbox
This is the safest start. One person is moved. Everybody else is left alone.
1Open the console
Do: open the console as in step 4 of chapter 3. Make sure the lights are green. Press Choose a task → at the bottom right.
-The Setup page with the button Choose a task. Number 1 marks the button
+The Setup page with the button Choose a task. Number 1 marks the button
You should see: the Task page, with big cards.
If not: if the button is grey, a light is red. Read it, fix it, press Check again.
2Pick the first big card
@@ -587,7 +587,7 @@
2<
You should see: two choices below it: Start a new batch (Active Directory part) and Continue a batch (cloud part). The first one is already chosen. Keep it.
3Say which person
Do: keep Single identity (test) chosen. Click in the Identity box. Type the e-mail address of your test person. Then press the small button Check.
-The Task page. Number 1: the box with the e-mail address. Number 2: the button Check. Number 3: the pill Phase: Both. Number 4: the button Continue to verification
+The Task page. Number 1: the box with the e-mail address. Number 2: the button Check. Number 3: the pill Phase: Both. Number 4: the button Continue to verification
You should see: a green line under the box with the name of the person, for example Alice Vance · alice.vance@contoso.com · User mailbox. At the bottom of the page, the card What will happen on this server has a pink pill on its left. The pill says Phase: Both (number 3 in the picture). It means that this server does everything alone. On a directory server of a two-server move, it says Phase: AD: see Path 3. A server that cannot reach Microsoft 365 also says Phase: AD.
If not: a red line says the person was not found. Check the spelling of the e-mail address. If two people match, type the exact e-mail address. If it still fails, stop and ask.
4Go to the preview
@@ -595,28 +595,28 @@
4G
You should see: the Verify page. It is still empty. Nothing was changed.
5Press Preview
Do: press the Preview button at the bottom. A preview is a trial that changes nothing.
-The Verify page before the preview. Number 1 marks the button Preview
+The Verify page before the preview. Number 1 marks the button Preview
You should see: after a few seconds, a title like 1 mailbox will be converted · nothing blocking, and one line for the person.
If not: a red number such as 1 blocking means the tool refuses this person. Click the line and read the reason. Do not go on. Stop and ask.
6Confirm
Do: read the title one more time. Is it the right number of people? Then type the word CONVERT in the box (small or capital letters, both work). Then press the red button Convert the mailboxes.
-The Verify page after the preview. Number 1: the box where you type CONVERT. Number 2: the red button
+The Verify page after the preview. Number 1: the box where you type CONVERT. Number 2: the red button
You should see: the Run page starts at once.
If not: the red button stays grey until you did the preview and typed the word. Check both.
7Wait
Do: nothing. Watch the list of steps. Do not close the window. A new black window may open and ask you to sign in to Microsoft: sign in with your own account.
-The Run page just after the start. Steps are listed on the left. Some are finished, one is running
+The Run page just after the start. Steps are listed on the left. Some are finished, one is running
You should see: the steps turn green, one after the other. The tool makes a backup first, then changes the directory, then asks the cloud to follow.
At one step the tool waits. It waits for the synchronisation: the directory sends the news to the cloud. This can last up to 15 minutes. The page says attempt 3 of 13, next check in 10 s. This is normal.
-The Run page during the wait of the Entra Connect synchronisation. Number 1 marks the waiting step
+The Run page during the wait of the Entra Connect synchronisation. Number 1 marks the waiting step
If not: if a step turns red, the tool stopped on purpose. It will change nothing more. Stop and ask. Keep the window open and take a photo.
8Look at the end
Do: when the title says Done in green, press What next? →.
-The Run page at the end. The title says Done. Number 1 marks the button What next
+The Run page at the end. The title says Done. Number 1 marks the button What next
You should see: the Next steps page.
9Open the report
Do: press Open report. A web page opens in your browser. It is the report: the list of everyone and what was done.
-The Next steps page. Number 1: the button Open report. Number 2: the button Open log
+The Next steps page. Number 1: the button Open report. Number 2: the button Open log
You should see: the word Success and one line for your test person. Chapter 6 explains the report.
If not: if the result says Pending or Error, read the text on the page. It says what to do. If it is not clear, stop and ask.
Now check with the test person. Ask them to open Outlook. They should see a new, empty mailbox, and be able to send and receive. If yes, go to Path 2 or Path 3. If not, stop and ask. You can undo the test with chapter 5.
@@ -624,23 +624,23 @@
Path 2 · Move everyone, one server
Use this path only after Path 1 worked, and only if one server reaches both Active Directory and Microsoft 365. The server does the directory part and the cloud part by itself. The steps are the same as Path 1. Only the choice of people changes.
1Choose the people
Do: open the console. Go to Task. Click Move mailboxes to Exchange Online. Under Objects to process, click Configured scope. This means "the people named in the settings file".
-The Task page with Configured scope chosen. Number 1 marks the button Configured scope
+The Task page with Configured scope chosen. Number 1 marks the button Configured scope
You should see: a line that tells which group of people will be moved.
If not: for another group of people, use the buttons OU, AD group or CSV. An OU is one folder of the directory. An AD group is a group of people in the directory: type its name, then press Check to see its name and how many people it holds. A CSV is a list in a file. Ask your administrator before you use them.
-The Task page with AD group chosen. Number 1 marks the button AD group, number 2 the box for the name, number 3 the button Check
+The Task page with AD group chosen. Number 1 marks the button AD group, number 2 the box for the name, number 3 the button Check
2Preview and confirm
Do: press Continue to verification →, then Preview. Read the title and the list. Warnings are orange triangles. A warning does not stop the run. Read them. Then type CONVERT and press Convert the mailboxes.
-The Verify page with seven people in the list. Number 1: the list. Number 2: the box where you type CONVERT
+The Verify page with seven people in the list. Number 1: the list. Number 2: the box where you type CONVERT
You should see: a title like 6 mailboxes will be converted · nothing blocking. Look at the column TYPE in the list. A person shows User. A shared mailbox shows Shared. A shared mailbox is one mailbox that several people use, like finance.shared.
If not: a number in red (blocking) means someone cannot be moved. The reason is in the list. Remove that person from the list, or stop and ask.
3Wait
Do: nothing. This takes longer for many people: 30 minutes to an hour is common. At one step the tool gives people access to shared mailboxes. It checks each access, up to 13 times, 10 seconds apart.
-The Run page during the check of an access to a shared mailbox
+The Run page during the check of an access to a shared mailbox
You should see: every step green at the end, and the word Done.
If not: if one step is red, the tool stopped. Stop and ask. The people already done are kept. Do not run it again before you talk to your administrator.
4Read the end
Do: press What next? →. The page shows a button Open global report. Press it.
-The Next steps page of a move on one server. Number 1 marks the button for the report
+The Next steps page of a move on one server. Number 1 marks the button for the report
You should see: the report. Chapter 6 explains it. Write down the batch ID (eight letters and numbers, like 490cc62e). It is the key to go back.
Path 3 · Move everyone, two servers
Use this path when no single server reaches both Active Directory and Microsoft 365. Often the directory server cannot reach the Internet. Then you need a second machine for the cloud part. This machine is the cloud server.
@@ -661,11 +661,11 @@
Path 3 · Move everyone, two servers
Two servers work one after the other. A package goes from the first server to the second one. It is a zip file with a small .sha256 file next to it. The tool creates both by itself. Together they are called the transfer package.
The whole journey, in the first chapter, shows both servers and each file on one page.
Part 1 · On the directory server (the AD server). The steps are the same as Path 2, steps 1 and 2. At the bottom of the Task page, the pink pill says Phase: AD (number 1 in the picture). Then you press Convert the mailboxes.
-The Task page on the directory server. Number 1 marks the pink pill Phase: AD, at the left of the card What will happen on this server
+The Task page on the directory server. Number 1 marks the pink pill Phase: AD, at the left of the card What will happen on this server
You should see: at the end, the Run page lists a step Creating the transfer package.
-The Run page of the directory server: the last step creates the transfer package
+The Run page of the directory server: the last step creates the transfer package
Press What next? →. The page shows the name of the package. The tool made this file by itself. It also chose the name by itself. The name looks like PRA-PROD-Convert-490cc62e-for-Cloud.zip. It holds your Environment (PROD), the kind of work (Convert), the batch ID (490cc62e) and the server it is for (for-Cloud). You never type this name. You never rename the file.
-The Next steps page of the directory server. Number 1: the name of the package. Number 2: the button Open folder. Number 3: the command for the other server
+The Next steps page of the directory server. Number 1: the name of the package. Number 2: the button Open folder. Number 3: the command for the other server
Do:
Press Open folder. The folder with the file opens.
@@ -674,16 +674,16 @@
Path 3 · Move everyone, two servers
If not: if the page says Pending, this is normal. It means: "The directory part is done. The cloud part remains." It is not an error.
Part 2 · On the cloud server (the machine that reaches Microsoft 365). Open the console there. On Setup, a red light for RSAT ActiveDirectory is normal here. Press Choose a task →. Click Move mailboxes to Exchange Online. Click Continue a batch (cloud part).
-The Task page of the cloud server. Number 1: Continue a batch. Number 2: the button Import package. Number 3: the list that shows the package
+The Task page of the cloud server. Number 1: Continue a batch. Number 2: the button Import package. Number 3: the list that shows the package
Do: press Import package… and pick the .zip file. You can also put the file in the folder Backups\Inbox of this server. Then it is already in the list. The package shows Checksums verified. Click its line.
-The list with the package selected. Number 1: the line of the package. Number 2: the pink pill Phase: Cloud, in the card What will happen on this server. Number 3: the button to continue
+The list with the package selected. Number 1: the line of the package. Number 2: the pink pill Phase: Cloud, in the card What will happen on this server. Number 3: the button to continue
You should see: the line turns pink. At the bottom of the Task page, in the card What will happen on this server, a pink pill says Phase: Cloud (number 2 in the picture).
If not: if you see no pill, click a big card first: the card appears at the bottom after that. A red line Invalid means the file is damaged or comes from another environment. Copy it again, with its .sha256 file. Check that both servers have the same Environment in their settings file. If it still fails, stop and ask.
Do: press Continue to verification →, Preview, type CONVERT, and press Convert the mailboxes.
-The Verify page of the cloud server. Number 1 marks the box for the word CONVERT
+The Verify page of the cloud server. Number 1 marks the box for the word CONVERT
You should see: the Run page, then Done. Press What next? → and Open report. This report is the global report: it follows each person on the two servers.
-The Run page of the cloud server at the end
-The Next steps page of the cloud server. Number 1 marks the button for the global report
+The Run page of the cloud server at the end
+The Next steps page of the cloud server. Number 1 marks the button for the global report
Chapter 5
B · Go back
Go back only when your administrator says that the old mail servers work again. Before you go back, save the mail received in the cloud if you want to keep it. Going back removes the cloud mailboxes. The tool keeps the extra address that the cloud added to each person (an X500 address). A reply to a mail sent from the cloud still arrives. The Preview says how many it keeps. To find a person in Exchange Online afterwards, search by mail address or alias, not by name.
Path 4 · Roll back
@@ -701,25 +701,25 @@
Path 4 · Roll back
1Pick the rollback
Do: open the console. Go to Task. Click the card Roll back a conversion. A list of batches appears. A batch is one move, with its backup. Click the line of the batch to undo.
-The Task page, Roll back a conversion. Number 1: the card. Number 2: the list of batches
+The Task page, Roll back a conversion. Number 1: the card. Number 2: the list of batches
You should see: the line turns pink. It shows the date, the number of mailboxes, and Can be rolled back.
-The batch selected. Number 1 marks the line. Number 2 marks the button to continue
+The batch selected. Number 1 marks the line. Number 2 marks the button to continue
On a directory server of a two-server rollback, the pink pill at the bottom says Phase: AD (number 2 in the next picture). It means that this server does the directory part and then writes a package for the cloud server. A server that does both parts says Phase: Both.
-The Task page of the directory server. Number 1: the batch. Number 2: the pink pill Phase: AD. Number 3: the button to continue
+The Task page of the directory server. Number 1: the batch. Number 2: the pink pill Phase: AD. Number 3: the button to continue
If not: if the list is empty, the backup folder is not on this server. Copy the folder Batch-… back to D:\PRA\Backups, or use Import package… on a two-server move. If you cannot, stop and ask.
2Preview and confirm
Do: press Continue to verification →, then Preview. Read the title: … will be rolled back. Type the word RECOVER. Press Roll back the mailboxes.
-The Verify page of a rollback. Number 1 marks the box where you type RECOVER
+The Verify page of a rollback. Number 1 marks the box where you type RECOVER
You should see: the Run page. The tool restores each person from the backup. For a shared mailbox, the directory first tells the cloud to take its mailbox back. The last directory change for it comes later. On two servers, this page is the directory part.
If not: a red number means the tool refuses something. Read the reason. Stop and ask.
3Wait and read
Do: wait for Done. This can take up to an hour. Then press What next? → and Open report.
-The Run page at the end of a rollback
-The Next steps page at the end of a rollback. Number 1 marks the button for the report
+The Run page at the end of a rollback
+The Next steps page at the end of a rollback. Number 1 marks the button for the report
You should see: each person with Success. People come back to the old servers when Exchange works again.
If not: on two servers, the result says Pending. It is normal. The directory server did its part. Do the cloud server next: see Part 2 of Path 5.
On two servers, the last step of the Run page is Creating the transfer package. Press What next? →. The page shows the name of the Recover package. It looks like PRA-PROD-Recover-5ad39f71-for-Cloud.zip. The ID in it is new. It is not the ID of the move. You never type this name. You never rename the file.
-The Next steps page of the directory server after a rollback. Number 1: the name of the Recover package. Number 2: the button Open folder. Number 3: the command for the cloud server
+The Next steps page of the directory server after a rollback. Number 1: the name of the Recover package. Number 2: the button Open folder. Number 3: the command for the cloud server
Do: press Open folder. Copy these two files (the .zip and its .zip.sha256) to the cloud server, into the same folder. Keep the files. Do not delete them on this server.
Path 5 · Complete the rollback (two servers)
On two servers, a rollback has three parts. Each part gives a file to the next one.
@@ -732,23 +732,23 @@
Path 5 · Complete the rollbac
Do: open the console on the cloud server, as in step 4 of chapter 3. On Setup, a red light for RSAT ActiveDirectory is normal here. This server does not use Active Directory. Press Choose a task →.
You should see: the Task page, with big cards.
Do: click the card Roll back a conversion. Then click Continue a rollback (cloud part).
-The Task page of the cloud server. Number 1: the card. Number 2: Continue a rollback. Number 3: the button Import package. Number 4: the list that shows the package
+The Task page of the cloud server. Number 1: the card. Number 2: Continue a rollback. Number 3: the button Import package. Number 4: the list that shows the package
The Next steps page of the directory server told you to choose Continue an existing batch. On the cloud server, this choice is called Continue a rollback (cloud part).
Do: press Import package… and pick the Recover package. You can also put the file in the folder Backups\Inbox of this server. Then it is already in the list. The package shows Checksums verified. Click its line.
-The list with the Recover package selected. Number 1: the line of the package. Number 2: the pink pill Phase: Cloud. Number 3: the button to continue
+The list with the Recover package selected. Number 1: the line of the package. Number 2: the pink pill Phase: Cloud. Number 3: the button to continue
You should see: the line turns pink. The pink pill says Phase: Cloud (number 2 in the picture). The card What will happen on this server says that this server checks the rollback in the cloud. It also says that this server never writes to Active Directory.
If not: a Convert package does not show in this list. Only a Recover package does. A red line Invalid means the file is damaged or comes from another environment. Copy it again, with its .sha256 file. Check that both servers have the same Environment. If the list is empty, the file is not in Backups\Inbox. If it still fails, stop and ask.
Do: press Continue to verification →, then Preview. A black window may ask you to sign in to Microsoft. Sign in with your own account. Read the title: … will be rolled back. Is it the right number of people? Type the word RECOVER. Press the red button Roll back the mailboxes.
-The Verify page of the cloud server. Number 1: the box where you type RECOVER. Number 2: the red button
+The Verify page of the cloud server. Number 1: the box where you type RECOVER. Number 2: the red button
You should see: the Run page starts at once. The preview changed nothing.
If not: the red button stays grey until you did the preview and typed the word. A red number (blocking) means the tool refuses something. Read the reason. Stop and ask.
Do: wait for Done. Do not close the window. This part changes nothing in Exchange Online and nothing in Active Directory. The directory part already asked the cloud to take the mailboxes back. This part waits until Exchange Online has done it. Then it checks each mailbox. It looks every minute, for up to an hour.
-The Run page of the cloud server at the end. Number 1 marks the three steps
+The Run page of the cloud server at the end. Number 1 marks the three steps
You should see: three green steps: Loading the Recover batch, Exchange Online: deprovisioning checks and Final restore of shared mailboxes and tags. The last step packs the Finalize package when the directory still needs one.
If not: the page may say Waiting for Exchange Online to finish deprovisioning. This is normal. Wait. If a step turns red, the tool stopped on purpose. Nothing was changed here. Take a photo. Stop and ask.
Do: press What next? →. Two cases are possible.
First case: a Finalize package was written. The page says The cloud part of the rollback is done. It asks you to copy two files to the AD server. They are the package and its .sha256 file. The name looks like PRA-PROD-Finalize-b7d41a9c-for-AD.zip. Its ID is new too. It is not the ID of the move.
-The Next steps page of the cloud server. Number 1: the name of the Finalize package. Number 2: the button Open folder. Number 3: the command for the directory server
+The Next steps page of the cloud server. Number 1: the name of the Finalize package. Number 2: the button Open folder. Number 3: the command for the directory server
Do:
Press Open folder. The folder with the file opens.
@@ -761,24 +761,24 @@
Path 5 · Complete the rollbac
Part 3 · On the directory server. Copy the Finalize package to this server. Then follow the two steps below.
1Pick the Finalize package
Do: on the directory server, open the console. Go to Task. The card Complete a rollback shows only when a Finalize package is here. Click it. Click the package line. Press Continue to verification →.
-The Task page, Complete a rollback. Number 1: the card. Number 2: the package. Number 3: the button to continue
+The Task page, Complete a rollback. Number 1: the card. Number 2: the package. Number 3: the button to continue
You should see: the line Ready to finalize.
If not: if the card is missing, the package is not here. Use Import package… or copy it into the folder Backups\Inbox.
2Preview, confirm, wait
Do: press Preview. Read the title. Type the word FINALIZE in the box. Press the red button Finalize the rollback.
-The Verify page of Complete a rollback. Number 1 marks the box where you type FINALIZE. Number 2 marks the red button
+The Verify page of Complete a rollback. Number 1 marks the box where you type FINALIZE. Number 2 marks the red button
Wait until the title says Done in green. This is short: the directory server changes the one remaining object.
-The Run page at the end of Complete a rollback
+The Run page at the end of Complete a rollback
Press What next? →. Then press Open global report.
-The Next steps page at the end of Complete a rollback. Number 1 marks the button for the global report
+The Next steps page at the end of Complete a rollback. Number 1 marks the button for the global report
You should see: the Verify page with one shared mailbox, finance.shared. Then the Run page. Then the Next steps page with the button for the global report. In the report, every person shows done.
If not: the red button stays grey until you did the preview and typed the word. A step in red means the tool stopped. Stop and ask.
Chapter 6
Check a mailbox, and read the report
Check one mailbox
Do: open the console on a server whose cloud lights are green: the one server, or the cloud server. Go to Task. Click Check a mailbox. Type the e-mail address of one person. Press Continue to verification →, then Check the mailbox.
-The Task page, Check a mailbox. Number 1: the card. Number 2: the box for the e-mail address. Number 3: the button to continue
+The Task page, Check a mailbox. Number 1: the card. Number 2: the box for the e-mail address. Number 3: the button to continue
You should see: a sentence that says if the mailbox is in the cloud or not. A check only reads. It changes nothing.
-The Verify page of a check
+The Verify page of a check
If not: if the sign-in window does not open, look at the Windows taskbar for a new black window. Click it.
Read the report
The report is a web page. It opens in Edge or Chrome. It works without Internet. It is the proof of what was done.
@@ -955,9 +955,9 @@
If the Entra Connect sync failed
Sometimes the directory change is done and checked, but the sync to the cloud cannot start. The most common cause is a missing right on the Entra Connect server.
Before any change, the tool tries the sync with your account. If it fails, the tool stops and nothing is changed. Ask your administrator for the right named in the message. Then start again.
After the directory change, the run ends with Next step required. The package is made anyway. On the Run page, the sync step shows an orange triangle and says why.
-The Run page when the sync did not start. Number 1: the steps. The step Entra Connect synchronisation has an orange triangle
+The Run page when the sync did not start. Number 1: the steps. The step Entra Connect synchronisation has an orange triangle
The Next steps page tells you what to do, the sync first.
-The Next steps page when the sync did not start. Number 1: the title. Number 2: the steps, with the sync first. Number 3: the package to carry
+The Next steps page when the sync did not start. Number 1: the title. Number 2: the steps, with the sync first. Number 3: the package to carry
Do not move the people again. They are already moved.
Ask your administrator to start a sync on the Entra Connect server, or wait about 30 minutes.
@@ -969,7 +969,7 @@
If the Entra Connect sync failed
Pick the batch marked AD part done, sync did not run: finish it here. The pink pill says Phase: AD.
Click Continue to verification. Then preview and run as usual. The directory is not changed again.
-The Task page with a batch to finish. Number 1: Continue a batch. Number 2: the batch to finish. Number 3: the pink pill Phase: AD. Number 4: the button to continue
+The Task page with a batch to finish. Number 1: Continue a batch. Number 2: the batch to finish. Number 3: the pink pill Phase: AD. Number 4: the button to continue
The run does three things: it opens the batch, it runs the sync again, and it makes the package.
Chapter 8
Picture dictionary
Pictures of the main words: mailbox, directory, cloud, synchronisation, backup, package, report, directory server, cloud server, phase
@@ -1095,45 +1095,45 @@