diff --git a/.gitattributes b/.gitattributes
index c483d9a..2d76811 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -30,12 +30,14 @@ package/docs/PraRemoteMailbox-Guide.md -text whitespace=blank-at-eol,space-befor
package/docs/PraRemoteMailbox-UserGuide.html -text whitespace=blank-at-eol,space-before-tab,blank-at-eof,cr-at-eol
package/docs/PraRemoteMailbox-UserGuide.md -text whitespace=blank-at-eol,space-before-tab,blank-at-eof,cr-at-eol
package/docs/images/console-next-cloud-light.png -text
+package/docs/images/console-next-finalize-light.png -text
package/docs/images/console-next-global-light.png -text
package/docs/images/console-next-light.png -text
package/docs/images/console-next-package-light.png -text
package/docs/images/console-next-rollback-light.png -text
package/docs/images/console-run-cloud-light.png -text
package/docs/images/console-run-early-light.png -text
+package/docs/images/console-run-finalize-light.png -text
package/docs/images/console-run-finished-dark.png -text
package/docs/images/console-run-finished-light.png -text
package/docs/images/console-run-grant-light.png -text
@@ -62,6 +64,7 @@ package/docs/images/console-task-scope-light.png -text
package/docs/images/console-verify-before-light.png -text
package/docs/images/console-verify-check-light.png -text
package/docs/images/console-verify-cloud-light.png -text
+package/docs/images/console-verify-finalize-light.png -text
package/docs/images/console-verify-light.png -text
package/docs/images/console-verify-rollback-light.png -text
package/docs/images/console-verify-scope-light.png -text
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3a407de..f32a8f4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,26 @@ 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.0 — 2026-11-06
+
+### Added
+- **X500 control at Convert.** The AD phase now also reads `legacyExchangeDN` (read only, never written or restored) and
+ records in the batch the X500 addresses the cloud mailbox must carry: `X500:` plus the X500 addresses
+ already in the on-premises `proxyAddresses`. Once the mailbox is ready, the cloud phase proves them in Exchange Online
+ (the Entra `proxyAddresses` when the mailbox check goes through Graph), re-reads a few times for a synchronisation lag,
+ and warns per mailbox when one is missing: replies to old messages and meeting updates could bounce (IMCEAEX NDR).
+ The conversion stays done.
+- The preview shows *X500 to verify after the conversion: N*; `-Action Check` and the console's *Check a mailbox* show
+ the same comparison, read only. The warning is counted in the result, the reports and the Next steps.
+
+### Changed
+- A batch written before 3.1.0 has no expected list: the control is skipped with an information line, never a failure.
+ The backup schema is unchanged (one more optional field per record).
+- Phase detection tests the network: *AD + Cloud* is proposed only if Microsoft 365 answers from this server (HTTPS to the
+ sign-in and Exchange Online endpoints, in the background); otherwise *AD*, with a new Setup light that says why.
+- User guide clarified: which path is yours, what the cloud server is (a company machine, not a server in the cloud), where the
+ phase shows on screen, the Complete a rollback screens, working links.
+
## 3.0.0 — 2026-11-05
**Breaking: PowerShell 7.5+ required.** Windows PowerShell 5.1 is refused before any code runs; use 2.x there.
diff --git a/README.md b/README.md
index c9fd1a2..b73cdf4 100644
--- a/README.md
+++ b/README.md
@@ -41,7 +41,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.0.0, 2026-11-05 ([changelog](CHANGELOG.md)).
+**Author:** Nicolas Fabert · **Version:** 3.1.0, 2026-11-06 ([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).
@@ -69,7 +69,7 @@ Install-Module Microsoft.Graph.Authentication, Microsoft.Graph.Users -Scope AllU
# 3 · Fill in the settings: scope, licence group, routing domain, Entra Connect server, tenant
notepad D:\PRA\PraRemoteMailbox\config\PraRemoteMailbox.config.psd1
-# 4 · Open the console: five lights on the first page, all green or grey
+# 4 · Open the console: the lights on the first page, all green or grey
pwsh -STA -File D:\PRA\PraRemoteMailbox\Invoke-PraRemoteMailbox.ps1 -Gui
```
@@ -78,7 +78,7 @@ pwsh -STA -File D:\PRA\PraRemoteMailbox\Invoke-PraRemoteMailbox.ps1 -Gui
-
+
@@ -93,7 +93,7 @@ cd D:\PRA\PraRemoteMailbox
# 6 · Move everyone: the scope of the settings file, on one server
.\Invoke-PraRemoteMailbox.ps1 -Action Convert # preview
.\Invoke-PraRemoteMailbox.ps1 -Action Convert -Mode Apply # backup, AD, sync, Exchange Online
-# Two servers (the AD server cannot reach the cloud): on the AD server, then copy ONE zip file to the cloud server
+# Two servers (no single server reaches both Active Directory and Microsoft 365): on the AD server, then copy ONE zip file to the cloud server
.\Invoke-PraRemoteMailbox.ps1 -Action Convert -Phase AD -Mode Apply
.\Invoke-PraRemoteMailbox.ps1 -Action Convert -Phase Cloud -Batch 'PRA-PROD-Convert-490cc62e-for-Cloud.zip' -Mode Apply # on the cloud server
@@ -145,8 +145,9 @@ Keep the `Backups` folder on a durable, protected volume: the backups are the on
- **Signed package.** The runtime lives in `package\` (same layout as the extracted release ZIP). Every runtime file authenticates the owner-signed manifest before it runs; a changed, missing or unexpected stable file stops the tool before any import or operation. The configuration and your CSV lists are data, outside that check. There is no unsigned mode. The tool refuses to run from any tree whose files are not signed by the owner: use a signed release package. Backup, log and report folders inside the package are limited to the canonical `Backups`, `logs` and `reports`. See [package/README.md](package/README.md).
- **One script, one configuration file.** The scope is one object (`-Identity`), an OU, the members of an AD group or a CSV list — users only, shared mailboxes only, or both.
- **Preview by default.** Without `-Mode Apply` the tool only reads. With `-Mode Apply` it shows the plan and asks **one** confirmation (`-Force` for unattended runs).
+- **X500 control.** The batch records the X500 addresses (`legacyExchangeDN` and older X500) that the cloud mailbox must carry; the cloud phase proves them and warns if one is missing, because replies to old messages would otherwise bounce.
- **One batch ID** links the steps: every Apply prints it with the exact next command, and `-Action Recover -Batch ` rolls the batch back.
-- **One or two servers**: everything from one server, or the AD part on-premises and the cloud part on an isolated server.
+- **One or two servers**: everything from one server that reaches both Active Directory and Microsoft 365, or the AD part on the AD server and the cloud part on a **cloud server**. The cloud server is not a server hosted in the cloud: it is any Windows machine of your organisation that reaches Microsoft 365 through the Internet, with no access to Active Directory.
@@ -194,7 +195,7 @@ Exchange on-premises is down, so the tool reads the permissions where Exchange k
Open the console with `pwsh -STA -File .\package\Invoke-PraRemoteMailbox.ps1 -Gui` (native Fluent theme, PowerShell 7.5+, English). It starts no operation by itself; every operation runs the existing engine in a separate **PowerShell 7.5+** process (the same `pwsh.exe`).
-The console is a guided path of five pages: **Setup** (the environment, what this server can run, the prerequisite lights from real detection, one line of run settings), **Task** (move mailboxes, roll back, complete a rollback, check a mailbox, on what: one identity to test first, the configured scope, an OU or a CSV, or a batch or package to continue), **Verify** (the Preview in plain words, then the confirmation word in any letter case), **Run** (the steps announced by the engine, with their waits and warnings in plain words; click a step or an object) and **Next steps**. Run settings changed in the window apply to that run only, through a guarded effective copy of the configuration: the file is never rewritten. See the [reference guide](package/docs/PraRemoteMailbox-Guide.md), chapter 8.
+The console is a guided path of five pages: **Setup** (the environment, what this server can run, the prerequisite lights from real detection, one line of run settings), **Task** (move mailboxes, roll back, complete a rollback, check a mailbox, on what: one identity to test first, the configured scope, an OU or a CSV, or a batch or package to continue), **Verify** (the Preview in plain words, then the confirmation word in any letter case), **Run** (the steps announced by the engine, with their waits and warnings in plain words; click a step or an object) and **Next steps**. Run settings changed in the window apply to that run only, through a guarded effective copy of the configuration: the file is never rewritten. See the [reference guide, chapter 8](package/docs/PraRemoteMailbox-Guide.md#8-everyday-use).
diff --git a/package/Invoke-PraRemoteMailbox.ps1 b/package/Invoke-PraRemoteMailbox.ps1
index 48661bb..dd6fd21 100644
--- a/package/Invoke-PraRemoteMailbox.ps1
+++ b/package/Invoke-PraRemoteMailbox.ps1
@@ -131,7 +131,7 @@
.NOTES
Author : Nicolas Fabert
- Version : 3.0.0
+ Version : 3.1.0
Requires : PowerShell 7.5 or later (pwsh.exe; Windows PowerShell 5.1 is refused), RSAT ActiveDirectory,
ExchangeOnlineManagement 3.10+, Microsoft.Graph.Authentication and Microsoft.Graph.Users
(cloud part), ADSync (sync; through the Windows PowerShell compatibility layer when local).
@@ -925,11 +925,12 @@ try {
$stepTitle = switch ($Action) { 'Check' { 'Objects to check' } 'Recover' { 'Loading the Recover batch' } default { 'Loading the batch of the AD phase' } }
Write-PraStep -Context $context -Title $stepTitle -Icon Batch
if ((Test-PraOrdinalIgnoreCaseEqual $Action 'Check') -and $Identity -and -not $Batch) {
- if ($Identity -match '@') { $record = [pscustomobject]@{ ObjectGuid = ''; SamAccountName = $Identity; UserPrincipalName = $Identity; IsShared = ((Test-PraOrdinalIgnoreCaseEqual $Scope 'SharedOnly')) } }
+ if ($Identity -match '@') { $record = [pscustomobject]@{ ObjectGuid = ''; SamAccountName = $Identity; UserPrincipalName = $Identity; IsShared = ((Test-PraOrdinalIgnoreCaseEqual $Scope 'SharedOnly')); ExpectedX500Note = 'identity given as a UPN, no Active Directory read: give the sAMAccountName or -Batch' } }
else {
Initialize-PraDirectory $context
$user = Get-PraUser $context $Identity
- $record = [pscustomobject]@{ ObjectGuid = ([guid]$user.ObjectGUID).ToString(); SamAccountName = $user.SamAccountName; UserPrincipalName = $user.UserPrincipalName; IsShared = ((Test-PraOrdinalIn $user.msExchRecipientTypeDetails @(4, 34359738368) -IgnoreCase)) }
+ $record = [pscustomobject]@{ ObjectGuid = ([guid]$user.ObjectGUID).ToString(); SamAccountName = $user.SamAccountName; UserPrincipalName = $user.UserPrincipalName; IsShared = ((Test-PraOrdinalIn $user.msExchRecipientTypeDetails @(4, 34359738368) -IgnoreCase))
+ ExpectedX500 = [string[]]@(Get-PraExpectedX500 -LegacyExchangeDN ([string](Get-PraValue $user 'legacyExchangeDN' '')) -ProxyAddresses @($user.proxyAddresses)) }
}
$context.Rows.Add((New-PraRow $context $record))
Write-PraItem -Context $context -Status Ok -Text ("{0} ({1})" -f $record.UserPrincipalName, $(if ($record.IsShared) { 'shared mailbox' } else { 'user mailbox' }))
@@ -1057,6 +1058,13 @@ try {
if ($context.AllowMutation -and (Test-PraOrdinalIgnoreCaseEqual $Action 'Convert') -and (Test-PraOrdinalIn $effectivePhase @('Both','Cloud') -IgnoreCase) -and $context.BatchId -and -not $context.Issues.Count) {
$context.NextSteps = @($(if ((Test-PraOrdinalIgnoreCaseEqual $effectivePhase 'Cloud')) { 'To roll back this batch later, on the AD server: ' + (Get-PraCommandLine -ActionName 'Recover' -ModeName 'Preview' -BatchId $context.BatchId -OtherServer) } else { 'To roll back this batch later: ' + (Get-PraCommandLine -ActionName 'Recover' -ModeName 'Preview' -BatchId $context.BatchId) }))
}
+
+ # X500 addresses missing in Exchange Online (warning of the cloud phase): synchronise, then check again.
+ $x500Missing = @(Get-PraList $context 'X500Missing')
+ if ($x500Missing.Count) {
+ $checkCommand = Get-PraCommandLine -ActionName 'Check' -ModeName 'Preview' -BatchId $context.BatchId -KeepFilters
+ $context.NextSteps = @(@(Get-PraList $context 'NextSteps') + ('X500 missing in Exchange Online for {0} object(s) (replies to old messages can bounce): run an Entra Connect synchronisation, then check again: {1}' -f $x500Missing.Count, $checkCommand))
+ }
}
catch {
$failure = $_; $failureOperation = $context.CurrentOperation
@@ -1094,8 +1102,8 @@ finally {
# SIG # Begin signature block
# MIImKwYJKoZIhvcNAQcCoIImHDCCJhgCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
-# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCAN4PAFJSz2zQQ
-# Gwe+twn/3/mYLIv98VXJbULaXK3Kd6CCDW8wggZyMIIEWqADAgECAghkM1HTxzif
+# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCa7Gk0KToze9rW
+#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iG9w0BCRACLzGB
+# AQkQAQQwHAYJKoZIhvcNAQkFMQ8XDTI2MTEwNjA4Mzk1MlowKAYJKoZIhvcNAQk0
+# MRswGTALBglghkgBZQMEAgGhCgYIKoZIzj0EAwIwLwYJKoZIhvcNAQkEMSIEINVY
+# StWKLisMMM9E6QMFlDN+mFMwUvOPAWCyKxfm5HarMIHIBgsqhkiG9w0BCRACLzGB
# uDCBtTCBsjCBrwQgV0/qF6r6XnxqK5sIyZixc15FCzhzykTmokygkw5j87AwgYow
# dqR0MHIxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIDAVUZXhhczEQMA4GA1UEBwwHSG91
# c3RvbjERMA8GA1UECgwIU1NMIENvcnAxLjAsBgNVBAMMJVNTTC5jb20gVGltZXN0
# YW1waW5nIElzc3VpbmcgUlNBIENBIDICEFRD+De9Wu4YAYRyuFzajuMwCgYIKoZI
-# zj0EAwIESDBGAiEA/47ZDiMY3Nf7Jxm/ld/a6bj/H0pwv68on85J1uIoSKACIQDo
-# AuhCh/62oIm0zWH78l0Au1MBcJHIQVNQRDtxjbBmGw==
+# zj0EAwIESDBGAiEAxox1kVVF9/qO8qVTflouiqM94RIsWcn05OzGaDOqaSECIQCr
+# DGC7Kpq4yRq1deLquoxLosvd6+eovl+7fvjIgQ2iMg==
# SIG # End signature block
diff --git a/package/PackageIntegrity.psd1 b/package/PackageIntegrity.psd1
index 91741e8..b8b3ca0 100644
--- a/package/PackageIntegrity.psd1
+++ b/package/PackageIntegrity.psd1
@@ -1,69 +1,72 @@
-# PRA Remote Mailbox 3.0.0 - authenticated package integrity manifest
+# PRA Remote Mailbox 3.1.0 - authenticated package integrity manifest
# Generated only after the final stable-file signatures and timestamps.
@{
SchemaVersion = 1
Algorithm = 'SHA256'
SignerThumbprint = '0F28E442889F17B5F4D251E8F96E7CC6E2C9C6D6'
Files = @(
- @{ Path = 'Invoke-PraRemoteMailbox.ps1'; Sha256 = 'FCE57F2B33149402A2A884533559777124A2BB76FE5EB125C1B6E9DC1737999C' }
- @{ Path = 'PraRemoteMailbox.psd1'; Sha256 = 'B7D2890753AD52AC420EB97F2B321A2C35C064E8D75B827489D78AC2B11440D7' }
- @{ Path = 'PraRemoteMailbox.psm1'; Sha256 = '06BAE379A10027C0A58C99E9C2F2A3C1B757B303FFEAA9B3BA89042F4F5F5366' }
- @{ Path = 'module\PRA.Common.psm1'; Sha256 = '87DF89CC85EC25607E52EA6DFA34B0BB10B05A6D2008BE7D1E7C84C8F8FD0AAE' }
- @{ Path = 'module\PRA.Directory.psm1'; Sha256 = 'FDBCCBED75FF2EB8D5C9DA18923F0E24E1B7AA41CA5BE49461F76D089873F078' }
- @{ Path = 'module\PRA.Backup.psm1'; Sha256 = '356735A155DA7F33A672643B4792F61A9C2DD0FE673545A5D3C0740159FC7844' }
- @{ Path = 'module\PRA.Cloud.psm1'; Sha256 = '8A1D48D08FBBDBB943949EA721AD27FB821CB586FFC5F8C7E34206A8B32D4CD8' }
- @{ Path = 'module\PRA.Gui.psm1'; Sha256 = '3E7A766092EBE5186BB3D4C974945B5994391B08A87266AA117F050388DB0EE3' }
- @{ Path = 'module\PRA.Gui.Directory.ps1'; Sha256 = '8417335C0A72F8BC0D66DF3445327C8AA78B30DC510F0682103E8D5E032E5D3D' }
- @{ Path = 'module\Test-PackageIntegrity.ps1'; Sha256 = 'C5DA9BA299D304F4927E75C9FDDAFD823D4E7EF001B68CF921B3045BF2A5672F' }
- @{ Path = 'module\PRA.Gui.xaml'; Sha256 = '47BA5AAE1874D1EDD246B993EFE1F16E30A6E5A4F5B2B1CD23218FE25808CB38' }
- @{ Path = 'templates\Report.template.html'; Sha256 = '4B6883054F5153259AB2870FA55A1A30AF7D686BEB33A1B3FE99E315FFEB0611' }
+ @{ Path = 'Invoke-PraRemoteMailbox.ps1'; Sha256 = '3F5D5ABD5A900ED2E0A394AE32DFA32F107DA77AB56FC9FE84158DC8DFCD1A5F' }
+ @{ Path = 'PraRemoteMailbox.psd1'; Sha256 = '8C0D175C3CCEFA1D3392960C44CC9392C9D4EEFD9FA5C36074C0D4EBA1C7AE5C' }
+ @{ Path = 'PraRemoteMailbox.psm1'; Sha256 = '29DCCFDDD79A594E40AE17C912CDBFF50EEFCE70DAFBE18808F216010D556E90' }
+ @{ Path = 'module\PRA.Common.psm1'; Sha256 = '671E99B738F7F45E489877B135B03146269BA1AF98422A0A1BFF965A1D3A0A48' }
+ @{ Path = 'module\PRA.Directory.psm1'; Sha256 = '9475AF608B6479F8259DEDEBBF76244021BF075C50E5BC30BDD2E2140AD1F407' }
+ @{ Path = 'module\PRA.Backup.psm1'; Sha256 = '14ADC90E9A4CAFE53EFDE7F3ABA3B0FD0027AA2B6EA43CBD1DC04219FABFCF29' }
+ @{ Path = 'module\PRA.Cloud.psm1'; Sha256 = '013A52F5684AFEEBF0FDFB94F49C18C7339A6AABDFD0A759EBB8D384D7CF6B4D' }
+ @{ Path = 'module\PRA.Gui.psm1'; Sha256 = '94B3D44BF337259A9A6B4E74E07F298ED9DE73781F6254A2663B2B5989C35A57' }
+ @{ Path = 'module\PRA.Gui.Directory.ps1'; Sha256 = '798779BAE5D7D6548317D899522637ECED22D64B1FF7464B24BC560AEA527088' }
+ @{ Path = 'module\Test-PackageIntegrity.ps1'; Sha256 = '55664AF921390F16811A48F661E29AB9BE25937DF8CF619D231A43C41E7EF896' }
+ @{ Path = 'module\PRA.Gui.xaml'; Sha256 = 'D392FF147CB10F853387BFA58F1330D974C2CCA309DFC2278051654AA06719FD' }
+ @{ Path = 'templates\Report.template.html'; Sha256 = '931B1089DBEDE93E7601D723E09F7ABA056ABB79922C4CDF4F25C5AE6168E9CD' }
@{ Path = 'config\Targets.sample.csv'; Sha256 = '564C746AFDE5A5EADEBFD4449A7BB372B4D63E8B7C8352ACF825458650A458EF' }
@{ Path = 'config\SharedPermissions.sample.csv'; Sha256 = '7838261190B01E705505EAE8C1664FCFD9143E4E3F39D3E0968A02A0B7951B5F' }
- @{ Path = 'README.md'; Sha256 = '4E5721E065D0BF77C33ABB611AB130B1FD49E0AE2791CDCCB4AD98E42FC43880' }
+ @{ Path = 'README.md'; Sha256 = 'DF601A04CB4FDA71D084BDE6C92A0BBB1BCCFCCF199A705425CB57882A8E9EF7' }
@{ Path = 'LICENSE'; Sha256 = 'A91A28EED601C15D06E439F83666F0EBE1AA7897DE37D350108147C7804FD94B' }
- @{ Path = 'docs\PraRemoteMailbox-Guide.html'; Sha256 = '09B0B0C3A5164C93F7F3BF81B3666FE95A8631336DDA72D109AB72A29A34F9C1' }
- @{ Path = 'docs\PraRemoteMailbox-Guide.md'; Sha256 = '4F0CE5FDC5FC142348AE687C93284DF5ED53DBD08374710CE443FF0D13A79125' }
- @{ Path = 'docs\PraRemoteMailbox-UserGuide.html'; Sha256 = '830DE18C4232CD6C1973499E01116C94187BAFC76A3E61CB7A00579A2647E7CA' }
- @{ Path = 'docs\PraRemoteMailbox-UserGuide.md'; Sha256 = 'C2AB2DC563A4D5AC5CBD4A65204D6672CC39D4DCE39EA5E5034E053AE1830244' }
- @{ Path = 'docs\images\console-next-cloud-light.png'; Sha256 = 'AC1E971A4CCBC7D5555947A881A1490C91215444527F5E942783A8ADA1E23B93' }
- @{ Path = 'docs\images\console-next-global-light.png'; Sha256 = 'D084158045391FA5DBBE274BD3735E6CEE4056C8C550E34D382E7A2A6EDA9780' }
- @{ Path = 'docs\images\console-next-light.png'; Sha256 = 'EE50CF2D559AF42ADFCFE0241E2C8CAA02434BBD38C9DD6029D59C8994843334' }
- @{ Path = 'docs\images\console-next-package-light.png'; Sha256 = 'DCA092D03B65878D58DE256BF1F5D2DB4A913F8FB689E58FC1E291B2E9655D2C' }
- @{ Path = 'docs\images\console-next-rollback-light.png'; Sha256 = '4677C31E76576E341F071AECE7E9E0BA4D10E421C37A4BE44089983D1779E054' }
- @{ Path = 'docs\images\console-run-cloud-light.png'; Sha256 = '7CD48895D18FFF6CB8E17C7F2836407A88EF183C8198063995CE28F37789CCA3' }
- @{ Path = 'docs\images\console-run-early-light.png'; Sha256 = 'CB32F3BABB01236306E0B2FAEA6354DA8E22B06EF343BFE6249A2010CEC4511D' }
- @{ Path = 'docs\images\console-run-finished-dark.png'; Sha256 = '1D4F9D07BFF49BE5566094F7213CB80A5D25570B68E8239A3AB27D5E2F40A110' }
- @{ Path = 'docs\images\console-run-finished-light.png'; Sha256 = '075F580A6195348C764883090EBA6537DBEA9843DFBF30A487AF523106577412' }
- @{ Path = 'docs\images\console-run-grant-light.png'; Sha256 = '27290C60DC677E348E5068A9EBA8A2213C8CF6EC623485B9A46836E47CBFD55D' }
- @{ Path = 'docs\images\console-run-package-light.png'; Sha256 = '8EA7398888AC7C5E77E506E09516E98E819E76CB2B7FC44A3A346974A5FBA66A' }
- @{ Path = 'docs\images\console-run-rollback-light.png'; Sha256 = 'FB6D012AD4B39EF2DB85D708E40BEC40C25E20D7082203DA7E1EB65B8E15C5A1' }
- @{ Path = 'docs\images\console-run-waiting-light.png'; Sha256 = '081CD45A8D5D367703D3DEC47CEB159B300CD712279FA7E9C48F0B0040632AA5' }
- @{ Path = 'docs\images\console-settings-light.png'; Sha256 = '5D28ACCB0DE906B51C3E5334B10604E9E78D5838325DC67329F37A158D6E92E9' }
- @{ Path = 'docs\images\console-setup-dark.png'; Sha256 = '08F3236A59EDC729F8F6CDF8B9F2E8ECD62B376B9DA58242412E7AEA89E23DBE' }
- @{ Path = 'docs\images\console-setup-light.png'; Sha256 = 'FF89C84845D7966CF75924985472AAB4DC43314AED65E3DE5C86EBB9D9744388' }
- @{ Path = 'docs\images\console-setup-lights-light.png'; Sha256 = '70C433BE657D74696805B363A095481D01D05BA6D53B8A7E07C46CCFDC9AF661' }
- @{ Path = 'docs\images\console-setup-next-light.png'; Sha256 = 'D2543DB9B5998E9CB2CC1EF56D1614927717BE6B5BBE4A52A539CD90E60FE454' }
- @{ Path = 'docs\images\console-setup-red-light.png'; Sha256 = '819519CB38A17426D253AD6335DFC954025EA78C90A38DFC9218DD236D97E4C4' }
- @{ Path = 'docs\images\console-setup-red-lights-light.png'; Sha256 = 'AB61C5EC0581AA07774C6343FE0A3AA72F4C8E92DD823C476513FB354E7E34AC' }
- @{ Path = 'docs\images\console-task-ad-light.png'; Sha256 = '7D85AFD964FDAA7D5AA0C31B162220BE09C6D784F4FA0EB0B26499D880D4B0DC' }
- @{ Path = 'docs\images\console-task-check-light.png'; Sha256 = 'AF7C56A80AE52CEA7FEB264F24CF5C3DBA0707C755B81CEB722AB17775772B45' }
- @{ Path = 'docs\images\console-task-continue-light.png'; Sha256 = '55EB5D622469741415C19DC12916C01940099B0AD9EB37E394E87757E36483BA' }
- @{ Path = 'docs\images\console-task-finalize-light.png'; Sha256 = '24C0E33CC831C9AF36C6B9582BFA52DA0A10B6AB29148832B47AB707DF193B3C' }
- @{ Path = 'docs\images\console-task-identity-light.png'; Sha256 = '9F0BD730AF47DDB234F1011E4E843A8D1DCF5A116155E494C675CDCAFADF5739' }
- @{ Path = 'docs\images\console-task-light.png'; Sha256 = '6BF3AB7A52FD346C7E944C6E3031A12E9F028164B05AA6B0E52F0DA7F4C00584' }
- @{ Path = 'docs\images\console-task-package-selected-light.png'; Sha256 = '669B3D423D376D7EF34F016C75FA770C9C0FCE73A37AE36F5E2346283EC64DDD' }
- @{ Path = 'docs\images\console-task-rollback-light.png'; Sha256 = '870C93F165E3EC9DD9B93A0B34366D9D422C732F3D968FDDF23176BBD592A174' }
- @{ Path = 'docs\images\console-task-rollback-selected-light.png'; Sha256 = 'BC51B4C88DBEE074885A7CE6BCF0FF9CE67FA36F05FDFF8704A06EDEF98FC5F9' }
- @{ Path = 'docs\images\console-task-scope-light.png'; Sha256 = '030291F8750C28E77E0E3C20E8ED1BF5BCFBDFF254CF6EA0297F1A46261D9ED6' }
- @{ Path = 'docs\images\console-verify-before-light.png'; Sha256 = '19DA56A358D0E06CCF14500EFAC11476EBCE938EB2EBD8CF305FBC14B54287B6' }
- @{ Path = 'docs\images\console-verify-check-light.png'; Sha256 = '98B7B631026F1690004E961B614DB005A992DFAFF7AA36251F866BF9AA1031DD' }
- @{ Path = 'docs\images\console-verify-cloud-light.png'; Sha256 = '78CD3673F6027C35C3DC4BC1C18BB485275E9E49A8164F647513455A0FF592F2' }
- @{ Path = 'docs\images\console-verify-light.png'; Sha256 = 'A3FAC4D987A30668645E05D30DBDACA1B7C14D655A8A0B35EFEBA6AB481B6699' }
- @{ Path = 'docs\images\console-verify-rollback-light.png'; Sha256 = '7F49D2181381CACB09E958EEEF26E03E20CFD8EA181D7C22C88C1563E21AC9F7' }
- @{ Path = 'docs\images\console-verify-scope-light.png'; Sha256 = '3FDB64BF2C88C14B57B367F2C55967170DFE2D629AF7D787519E6A65895D6DCA' }
- @{ Path = 'docs\images\guide-dictionary-light.png'; Sha256 = '77B93C7E301FFD6D4903C0E18DB664D9362FDF411B4E972FF5448FE32AD630C5' }
- @{ Path = 'docs\images\readme-banner-dark.png'; Sha256 = '6AC3145E0FF966CCDC01292CB92BE7D47934B0CB7B3443189ED89800BC8748B6' }
- @{ Path = 'docs\images\readme-banner-light.png'; Sha256 = '461057FE7BC300812BD548C59633BA01CBE6BE471FC75A98D6875E6FD2372620' }
+ @{ Path = 'docs\PraRemoteMailbox-Guide.html'; Sha256 = '3238FB37FC63FAF88AFBF35CF4CBDDD0DCC9BCF0274D687EBD427EAF4451289D' }
+ @{ Path = 'docs\PraRemoteMailbox-Guide.md'; Sha256 = '201CE8851A6A88F7C40467D04E1FD4B36D0F27BB0219283718BE9EDF2E4B19E9' }
+ @{ Path = 'docs\PraRemoteMailbox-UserGuide.html'; Sha256 = '1841467E53245E610EF95227B756FA4CF3E8CC08D2534AB114F75DE274268858' }
+ @{ Path = 'docs\PraRemoteMailbox-UserGuide.md'; Sha256 = '81206F97E5474306A5FCE155C467268F5C54B93DCA22E7016B9D37103B9A1D1A' }
+ @{ Path = 'docs\images\console-next-cloud-light.png'; Sha256 = '71F1828DE23288E41A65850B702BC7AC364308E9C023AFB8F86014565BEBAC01' }
+ @{ Path = 'docs\images\console-next-finalize-light.png'; Sha256 = '3337D271231C52739DAC067C0A52788D6E921B3A08D8ACC9895F6B662C95852A' }
+ @{ Path = 'docs\images\console-next-global-light.png'; Sha256 = '87111B9A401A97788F138C18E5E514369DA725AC91E237803A681DFC7EE13A3E' }
+ @{ Path = 'docs\images\console-next-light.png'; Sha256 = '04E05E676652C46595868C23E9E02F65CC9D224EC6D1F3A1917258887E3F23A6' }
+ @{ Path = 'docs\images\console-next-package-light.png'; Sha256 = '8E44533D46635054B67F281A99F7A0278FEC099D36B10BE51B39D713CF72AB7A' }
+ @{ Path = 'docs\images\console-next-rollback-light.png'; Sha256 = '92C5876B2767F38F1629F54A25F61EADC778B46439B557902D3CD09EAC6E8E6D' }
+ @{ Path = 'docs\images\console-run-cloud-light.png'; Sha256 = '0BAC232097FB2679C9A2FABB959336258DDC6C62D652C2DE6E54F9147C28E5D4' }
+ @{ Path = 'docs\images\console-run-early-light.png'; Sha256 = '543304CEB625A8644BC69BB4509D77C44FE856FF0BE7E9A6CF056C0E85B6B180' }
+ @{ Path = 'docs\images\console-run-finalize-light.png'; Sha256 = '3156987545CC888DC2F48F518F042593FD5A22518F571570AED299A7870E1C6B' }
+ @{ Path = 'docs\images\console-run-finished-dark.png'; Sha256 = '84699274E9634C5106BB418214A81E8DE679DD5344C84F3C547DC7E99AB5EC86' }
+ @{ Path = 'docs\images\console-run-finished-light.png'; Sha256 = '4D8E6A8C1CF311A6F7E10ED65B9655FE57B31E1CAEB7F74583BF09FD2A4F575B' }
+ @{ Path = 'docs\images\console-run-grant-light.png'; Sha256 = '55D81968BB96FCF111C7D6B81DAC1FFA89AE48C7F174A4DE007810A0F6C2CFBF' }
+ @{ Path = 'docs\images\console-run-package-light.png'; Sha256 = '62F5525ED5E757A0B31BEFA5F1F1A138A52142AEB4F85EF6D9CCA746C4B6B3B0' }
+ @{ Path = 'docs\images\console-run-rollback-light.png'; Sha256 = 'FB3FB4489C7F30AEA36584CDC6407B716E819381BDD5EC70B141909B16A7EB1D' }
+ @{ Path = 'docs\images\console-run-waiting-light.png'; Sha256 = '3659DA4B35C0906F7CCF5EB2D2D5C147CA0F5ADB6918355ADB08E83B88D1351D' }
+ @{ Path = 'docs\images\console-settings-light.png'; Sha256 = 'EF2ADC1BDB99DC35C99FB30E954C4D28DB7E426187F064D435C4EB40F2B3AF96' }
+ @{ Path = 'docs\images\console-setup-dark.png'; Sha256 = '1599CFDFBB4193AFBF464300E002803FC078CD8909E3FD8820DA4E33E1FD16B5' }
+ @{ Path = 'docs\images\console-setup-light.png'; Sha256 = '12E6DA8DCF3AB2AB7C1E32AF694EF8707A4160BD2DF930D86FE7CC7D897FFCB6' }
+ @{ Path = 'docs\images\console-setup-lights-light.png'; Sha256 = '754C88F20853D9A23030308263C696929775BA656BB2275B10371118D312FED1' }
+ @{ Path = 'docs\images\console-setup-next-light.png'; Sha256 = '5A618543C50114BF7EC15483A40F53E69BCA55E13D3CE2ED49B01A9151485EA7' }
+ @{ Path = 'docs\images\console-setup-red-light.png'; Sha256 = '7FCB0D72B914D539A640A5C023B975E982C5689721EA51CE6F0388ADEDEC6EFB' }
+ @{ Path = 'docs\images\console-setup-red-lights-light.png'; Sha256 = '457F1158B354F6B86B16489649050DD925C049753A05EE6E79D2A0F9133CE8FA' }
+ @{ Path = 'docs\images\console-task-ad-light.png'; Sha256 = '3CAC8C065C07D2E6ABD6C9AD1DF77DBDB3B12305CEA1247448904FE6DEABB33E' }
+ @{ Path = 'docs\images\console-task-check-light.png'; Sha256 = 'F168838703AC124590164589BB3BAA8C918DB96AB8DDC0251034B3B25B812877' }
+ @{ Path = 'docs\images\console-task-continue-light.png'; Sha256 = '92FAAEC34B3A9DD5D4D14A52AF500322AD5D9637A3690432078FA52F46D844B6' }
+ @{ Path = 'docs\images\console-task-finalize-light.png'; Sha256 = '912EDFBD791F28D4A63308137BFD0177B30D57426FD98958ECCE5D994EFDCCE2' }
+ @{ Path = 'docs\images\console-task-identity-light.png'; Sha256 = '4DCFFA042D02F3AE923A69E4B8BE9ED7669F752EF38B4DE6BD3439214F3790F1' }
+ @{ Path = 'docs\images\console-task-light.png'; Sha256 = '23650ABDFB8D3BA91CAD3703F4D58BD79E576AF8C38D236F7E4F7CD430D9E7A9' }
+ @{ Path = 'docs\images\console-task-package-selected-light.png'; Sha256 = 'E9900979521E46D15D7487A06CA7238381018CDF03D662F5C8D571A331E877CC' }
+ @{ Path = 'docs\images\console-task-rollback-light.png'; Sha256 = '8FF49197F729FE886387B9AC458EB52B499AABC8810C3B7ED260330B2BC45348' }
+ @{ Path = 'docs\images\console-task-rollback-selected-light.png'; Sha256 = '3F399794A3E69E91C11ABD8EAB2A42301DAAAF819508B5169192DB78B6149F1B' }
+ @{ Path = 'docs\images\console-task-scope-light.png'; Sha256 = '2734D2EC782656B99A8997959E765E5A1D22DF84D532C0D8A53CEEB338556657' }
+ @{ Path = 'docs\images\console-verify-before-light.png'; Sha256 = '94F68BF22C6EF8A2FB2E3AD3B9C716FB569EDA02835C1220945E245AEDCD818D' }
+ @{ Path = 'docs\images\console-verify-check-light.png'; Sha256 = 'FD565780427CF2A52FB77D3CAC891CF1BE7391B5E0BDD809CC5A15FAA94DC533' }
+ @{ Path = 'docs\images\console-verify-cloud-light.png'; Sha256 = '8AE953ECA3A6FD5448902805A049235CB784CDC44E6796520D4615651FAAB520' }
+ @{ Path = 'docs\images\console-verify-finalize-light.png'; Sha256 = '831FEBA0F5AA2669E1344068BADEC88B1B288588817F5141666B550AB2B47068' }
+ @{ Path = 'docs\images\console-verify-light.png'; Sha256 = '7448AB5E1124C08FBA26BA55CCBED8108DD7AA0D43EA0787670C52917F568A8F' }
+ @{ Path = 'docs\images\console-verify-rollback-light.png'; Sha256 = '91846AC0A6480E95D5A1C7F8D2643B06AD61DF8260853FD1DBD8CBACB841165A' }
+ @{ Path = 'docs\images\console-verify-scope-light.png'; Sha256 = 'B4BB47C7BA8334B2C03D4427FB91FE1D3041007E3697A9BEAB4C461DCD970281' }
+ @{ Path = 'docs\images\guide-dictionary-light.png'; Sha256 = 'E186BE9EC2E1E121503D4B86C67761AA1ABCD63C7D79827C1DB7E019851D6BD9' }
+ @{ Path = 'docs\images\readme-banner-dark.png'; Sha256 = '2EE3356FFD8E4B3BA3E1A9AAF203CA86DC5F8F7C19C3A3E6DEE8A95B3034EB09' }
+ @{ Path = 'docs\images\readme-banner-light.png'; Sha256 = 'D1CC82C37C6F009956556FF73F37586F2A7A117BE605D6A5DF9797922994E4F5' }
@{ Path = 'docs\images\readme-flows-dark.png'; Sha256 = '5506575A6FA0729673A8C4FB5C1852D39E449B49104706C563E752DAE21D2EA4' }
@{ Path = 'docs\images\readme-flows-light.png'; Sha256 = '169597ED1DB78B467B727C762D2E5022CFC67C355FED405B529F49C9CCC7C081' }
@{ Path = 'docs\images\readme-how-dark.png'; Sha256 = 'D294589619F38AE783DE83F64E84F27475367D17F1C1CEE4FDD08E80F5D7E807' }
@@ -84,15 +87,15 @@
@{ Path = 'docs\images\report-global-recover-light.png'; Sha256 = 'B17E6B7F06B438C2D22F43D0B1542341253AD2DA6586F2E51442ABD458BFD7E8' }
@{ Path = 'docs\images\report-phase-light.png'; Sha256 = '4F62AAFF87FC0C7E7DFF38032F8FDC4BBA6A6FC0373611A01C54AD8603D4CA93' }
@{ Path = 'docs\images\report-phase-warning-light.png'; Sha256 = 'DA0622931FC47CACC1388E378D569BB7D64B1FCE1279EDDD0F95ECCB9DEC41A1' }
- @{ Path = 'CHANGELOG.md'; Sha256 = 'A85FC54AE96BF4DC423581F59B00735B9A948E39C603318D7181C6A29E59E703' }
+ @{ Path = 'CHANGELOG.md'; Sha256 = '9628CA3BD0DD077AE4E800DAE0FDF9A6126E842D00513B343804A1A6B469EBF2' }
)
}
# SIG # Begin signature block
# MIImKgYJKoZIhvcNAQcCoIImGzCCJhcCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
-# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0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QAQQwHAYJKoZIhvcNAQkFMQ8XDTI2MTEwNTA5MjIyM1owKAYJKoZIhvcNAQk0
-# MRswGTALBglghkgBZQMEAgGhCgYIKoZIzj0EAwIwLwYJKoZIhvcNAQkEMSIEIIqN
-# wboSsZ6PdlUkt8nzi5uGVhaxj06pA0C7mwY1F7RFMIHIBgsqhkiG9w0BCRACLzGB
+# AQkQAQQwHAYJKoZIhvcNAQkFMQ8XDTI2MTEwNjA4NTUxMlowKAYJKoZIhvcNAQk0
+# MRswGTALBglghkgBZQMEAgGhCgYIKoZIzj0EAwIwLwYJKoZIhvcNAQkEMSIEIPM+
+# c2wXBhQoLtkrrmL1o6BlpSBwISKDBVl8dCfs5f3XMIHIBgsqhkiG9w0BCRACLzGB
# uDCBtTCBsjCBrwQgV0/qF6r6XnxqK5sIyZixc15FCzhzykTmokygkw5j87AwgYow
# dqR0MHIxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIDAVUZXhhczEQMA4GA1UEBwwHSG91
# c3RvbjERMA8GA1UECgwIU1NMIENvcnAxLjAsBgNVBAMMJVNTTC5jb20gVGltZXN0
# YW1waW5nIElzc3VpbmcgUlNBIENBIDICEFRD+De9Wu4YAYRyuFzajuMwCgYIKoZI
-# zj0EAwIERzBFAiEAoGjxkUuyGdsJxi7Ta/kIx+OpCjxaKcXbmK6VgoZxPuwCIEIe
-# Z/fdEGvemPscut9d1QcgLMwmoBRUGa3x1R+90rRm
+# zj0EAwIERzBFAiAXvDZmDjYXj1IWNgDOSfQQIe0WjyxshrGgeXABAVGKhQIhAKYQ
+# YvU1Ql4SBkPCXs8Wk356sZ5SUkiHTCZBq2PxTvQJ
# SIG # End signature block
diff --git a/package/PraRemoteMailbox.psd1 b/package/PraRemoteMailbox.psd1
index d8d6dd1..edb2c58 100644
--- a/package/PraRemoteMailbox.psd1
+++ b/package/PraRemoteMailbox.psd1
@@ -19,7 +19,7 @@
#
@{
RootModule = 'PraRemoteMailbox.psm1'
- ModuleVersion = '3.0.0'
+ ModuleVersion = '3.1.0'
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.'
@@ -33,11 +33,11 @@
# Configuration, paths and CSV (PRA.Common)
'Import-PraConfiguration', 'New-PraEffectiveConfiguration', 'Get-PraConfigurationDifference', 'Resolve-PraPath', 'Read-PraCsvText', 'Read-PraTargetCsv', 'Get-PraTargetOverride', 'Get-PraToolVersion', 'Get-PraValue', 'Get-PraList',
# Ordinal helpers, JSON and native calls (PRA.Common)
- 'Test-PraOrdinalEqual', 'Test-PraOrdinalIgnoreCaseEqual', 'Test-PraOrdinalIn', 'Test-PraOrdinalIgnoreCaseIn', 'Sort-PraOrdinal', 'Get-PraOrdinalUnique', 'ConvertFrom-PraJson', 'Get-PraNativeProcessApi', 'Get-PraWin32ErrorText',
+ 'Test-PraOrdinalEqual', 'Test-PraOrdinalIgnoreCaseEqual', 'Test-PraOrdinalIn', 'Test-PraOrdinalIgnoreCaseIn', 'Sort-PraOrdinal', 'Get-PraOrdinalUnique', 'Compare-PraX500Address', 'ConvertFrom-PraJson', 'Get-PraNativeProcessApi', 'Get-PraWin32ErrorText',
# Private folders, phase data and transfer package (PRA.Common)
'New-PraPrivateDirectorySecurity', 'Initialize-PraPrivateFolder', 'Register-PraObjectName', 'Register-PraObjectBackup', 'Save-PraPhaseData', 'Copy-PraPhaseData', 'Get-PraTransferPackageName', 'Get-PraTransferPackage', 'New-PraTransferPackage', 'Import-PraTransferPackage',
# Active Directory, backup and proof (PRA.Directory)
- 'Initialize-PraDirectory', 'Initialize-PraPermissionCache', 'Get-PraUser', 'Get-PraTarget', 'New-PraRow', 'New-PraPlan', 'Invoke-PraAdPreview', 'Invoke-PraAdBatch', 'Invoke-PraAdReplication', 'Invoke-PraSync', 'Import-PraBackup', 'Import-PraProof', 'Assert-PraReceipt', 'Assert-PraFollowupState', 'Get-PraHash', 'Write-PraImmutableFile', 'New-PraPrivateDirectory', 'Write-PraJournal'
+ 'Initialize-PraDirectory', 'Initialize-PraPermissionCache', 'Get-PraUser', 'Get-PraExpectedX500', 'Get-PraTarget', 'New-PraRow', 'New-PraPlan', 'Invoke-PraAdPreview', 'Invoke-PraAdBatch', 'Invoke-PraAdReplication', 'Invoke-PraSync', 'Import-PraBackup', 'Import-PraProof', 'Assert-PraReceipt', 'Assert-PraFollowupState', 'Get-PraHash', 'Write-PraImmutableFile', 'New-PraPrivateDirectory', 'Write-PraJournal'
)
CmdletsToExport = @()
VariablesToExport = @()
@@ -47,8 +47,8 @@
# SIG # Begin signature block
# MIImKgYJKoZIhvcNAQcCoIImGzCCJhcCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
-# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDmGgloN8U+nnRW
-# NMUbUIKJgvktyvutOlCdyYSHtBCdF6CCDW8wggZyMIIEWqADAgECAghkM1HTxzif
+# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDMdQ8ldjUL1nO0
+# ndxp0ENp5PQASUIHSroRS8iNuvt6v6CCDW8wggZyMIIEWqADAgECAghkM1HTxzif
# CDANBgkqhkiG9w0BAQsFADB8MQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVGV4YXMx
# EDAOBgNVBAcMB0hvdXN0b24xGDAWBgNVBAoMD1NTTCBDb3Jwb3JhdGlvbjExMC8G
# A1UEAwwoU1NMLmNvbSBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IFJTQTAe
@@ -125,23 +125,23 @@
# A1UEAwwrU1NMLmNvbSBDb2RlIFNpZ25pbmcgSW50ZXJtZWRpYXRlIENBIFJ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vbjERMA8GA1UECgwIU1NMIENvcnAxLjAsBgNVBAMMJVNTTC5jb20gVGltZXN0
# YW1waW5nIElzc3VpbmcgUlNBIENBIDICEFRD+De9Wu4YAYRyuFzajuMwCgYIKoZI
-# zj0EAwIERzBFAiEA7e5kiTDIC+ov52nUVFyUSndadKDxpgNphZxl/bTZsUQCIAn5
-# w8sL87b1wJjkkWKVvoNdxui9EaAMw2Vm57cCHABk
+# zj0EAwIERzBFAiEAiz5jUr0+EzaVKwN1IpzYv/KzsHgkeBO0cgi8X7ZwvosCIDVF
+# lmjROARzbAgDuTc1ICl3tOtcY3kX1l5iTuzRZwpj
# SIG # End signature block
diff --git a/package/PraRemoteMailbox.psm1 b/package/PraRemoteMailbox.psm1
index 69af962..55d8ea4 100644
--- a/package/PraRemoteMailbox.psm1
+++ b/package/PraRemoteMailbox.psm1
@@ -18,7 +18,7 @@
.NOTES
Author : Nicolas Fabert
- Version : 3.0.0
+ Version : 3.1.0
History : see CHANGELOG.md
#>
#Requires -Version 7.5
@@ -49,10 +49,10 @@ Import-Module (Join-Path $PSScriptRoot 'module\PRA.Common.psm1') -Force -ErrorAc
Import-Module (Join-Path $PSScriptRoot 'module\PRA.Directory.psm1') -Force -ErrorAction Stop
# SIG # Begin signature block
-# MIImKwYJKoZIhvcNAQcCoIImHDCCJhgCAQExDzANBglghkgBZQMEAgEFADB5Bgor
+# MIImKgYJKoZIhvcNAQcCoIImGzCCJhcCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
-# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCfUHQ+R4v5jXyI
-# kuNGcG7hIQND0lLG4BM+Madgo3u7KKCCDW8wggZyMIIEWqADAgECAghkM1HTxzif
+# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBWyKJsU0KsqV1U
+# tTveK8vikVM3/a+IVBkpMF5OE8J5MaCCDW8wggZyMIIEWqADAgECAghkM1HTxzif
# CDANBgkqhkiG9w0BAQsFADB8MQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVGV4YXMx
# EDAOBgNVBAcMB0hvdXN0b24xGDAWBgNVBAoMD1NTTCBDb3Jwb3JhdGlvbjExMC8G
# A1UEAwwoU1NMLmNvbSBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IFJTQTAe
@@ -124,28 +124,28 @@ Import-Module (Join-Path $PSScriptRoot 'module\PRA.Directory.psm1') -Force -Erro
# ULeH38N0Vr83psiJVuBSxQyt5nRVrpYz7FACq5gtXELkyViq/rGOlJKaRrgQ6WWq
# eoIXqKhVFAdP/jAEm2M8ezoVYsUgPyKY2OcuecV9coulAcxUIUydx6qYiOfsGj5u
# Dy7l4aYjvB771wkUMzUQwxzcDYXJtMMTaWRe6n9EemR67jc73u5CJyFg3PfA5WR1
-# wZislcdCZuS6MYIYEjCCGA4CAQEwgYwweDELMAkGA1UEBhMCVVMxDjAMBgNVBAgM
+# wZislcdCZuS6MYIYETCCGA0CAQEwgYwweDELMAkGA1UEBhMCVVMxDjAMBgNVBAgM
# BVRleGFzMRAwDgYDVQQHDAdIb3VzdG9uMREwDwYDVQQKDAhTU0wgQ29ycDE0MDIG
# A1UEAwwrU1NMLmNvbSBDb2RlIFNpZ25pbmcgSW50ZXJtZWRpYXRlIENBIFJTQSBS
# MQIQBof4ljXihJpmCqqt2mhAWzANBglghkgBZQMEAgEFAKCBhDAYBgorBgEEAYI3
# AgEMMQowCKACgAChAoAAMBkGCSqGSIb3DQEJAzEMBgorBgEEAYI3AgEEMBwGCisG
-# AQQBgjcCAQsxDjAMBgorBgEEAYI3AgEVMC8GCSqGSIb3DQEJBDEiBCBlj5IB/w8L
-# 5+/ZkEZly+yvDHMY+tr7wyv59M+V5UTv2DANBgkqhkiG9w0BAQEFAASCAgBMlIH+
-# KE8d0bpybuOT47CuOKMq3sQdFX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vbN66qzoTQtjXqgnAWNAeN6MIHIBgsqhkiG9w0BCRACLzGB
# uDCBtTCBsjCBrwQgV0/qF6r6XnxqK5sIyZixc15FCzhzykTmokygkw5j87AwgYow
# dqR0MHIxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIDAVUZXhhczEQMA4GA1UEBwwHSG91
# c3RvbjERMA8GA1UECgwIU1NMIENvcnAxLjAsBgNVBAMMJVNTTC5jb20gVGltZXN0
# YW1waW5nIElzc3VpbmcgUlNBIENBIDICEFRD+De9Wu4YAYRyuFzajuMwCgYIKoZI
-# zj0EAwIESDBGAiEA53sA8PaESN+k1aH6yJlGCDUVCiiEvaxAy2BVS2idMlgCIQCm
-# q5E1OXWvrFtf1dKaXoP1nRIxocuqAFjs1ZWqlmUGtg==
+# zj0EAwIERzBFAiB/KXpdkgS2PfLSnBgxsaAMb3Rbqm24MCaXOEhHI9xliAIhAM4V
+# k+S1U812pOPP4pV/VzRMdK9T8icB+PU359Ih0UMW
# SIG # End signature block
diff --git a/package/README.md b/package/README.md
index aaf6a6d..37823c1 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.0.0.
+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.0.
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.
@@ -19,7 +19,7 @@ This folder contains everything needed to run the tool: `Invoke-PraRemoteMailbox
- PowerShell 7.5 or later (`pwsh.exe`) for the operations and the window. Windows PowerShell 5.1 is refused; the 2.2.x releases are the Windows PowerShell 5.1 version. Backups written by 2.x restore unchanged.
- RSAT `ActiveDirectory`, `ExchangeOnlineManagement` 3.10 or later, `Microsoft.Graph.Authentication` and `Microsoft.Graph.Users`, installed for PowerShell 7.
-- A hybrid Exchange organisation synchronised by Entra Connect, and the minimum permissions listed in the reference guide, chapter 4 (derived from the code; the plain version is in the user guide, chapter 2).
+- A hybrid Exchange organisation synchronised by Entra Connect, and the minimum permissions listed in the [reference guide, chapter 4](docs/PraRemoteMailbox-Guide.md#4-prerequisites) (derived from the code; the plain version is in the [user guide, chapter 2](docs/PraRemoteMailbox-UserGuide.md#2-before-you-start)).
- Windows Terminal for emoji and colours.
- To read the HTML report: a current desktop Microsoft Edge or Google Chrome (the report is compressed and needs `DecompressionStream`; the CSV with the same name works everywhere).
diff --git a/package/config/PraRemoteMailbox.config.psd1 b/package/config/PraRemoteMailbox.config.psd1
index f7a9689..2c7354b 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.0.0
+# Version : 3.1.0
#
# 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 d498acb..2e264e4 100644
--- a/package/docs/PraRemoteMailbox-Guide.html
+++ b/package/docs/PraRemoteMailbox-Guide.html
@@ -184,9 +184,9 @@
main { padding: 0; max-width: none; } .section { break-inside: avoid-page; box-shadow: none; } .part { break-before: page; }
}
-
Important
-
Breaking in 3.0.0: PowerShell 7.5 or later is required. Windows PowerShell 5.1 (powershell.exe) is refused by #Requires before any code runs, and so is PowerShell 7.4 (the tool reads JSON dates as text with ConvertFrom-Json -DateKind, new in 7.5). The 2.2.x releases remain the Windows PowerShell 5.1 version: keep them for a server that cannot have PowerShell 7. Backups, proofs and Finalize packages written by 2.x restore unchanged with 3.0.0 (same formats, annex D), and the files written by 3.0.0 stay readable by 2.2.x.
+
Breaking in 3.0.0: PowerShell 7.5 or later is required. Windows PowerShell 5.1 (powershell.exe) is refused by #Requires before any code runs, and so is PowerShell 7.4 (the tool reads JSON dates as text with ConvertFrom-Json -DateKind, new in 7.5). The 2.2.x releases remain the Windows PowerShell 5.1 version: keep them for a server that cannot have PowerShell 7. Backups, proofs and Finalize packages written by 2.x restore unchanged with 3.0.0 (same formats, annex D), and the files written by 3.0.0 stay readable by 2.2.x.
Part IUnderstand
Chapter 1
Project background
@@ -302,6 +302,10 @@
Convert
Exchange Online
The tool waits (up to Polling.TimeoutMinutes) for the mailboxes and the licences, then grants FullAccess / SendAs / SendOnBehalf on the shared mailboxes and checks each grant.
+
+
X500 control
+
For each mailbox that is ready, the tool proves that it carries the X500 addresses recorded by the AD phase (next section). A missing one is a warning; the conversion stays done.
+
What changes in AD
@@ -356,6 +360,16 @@
What changes in AD
+
X500 addresses — replies to old messages keep working
+
Every message, meeting and cached Outlook entry (nickname cache, delegates, meeting organiser) addresses an on-premises mailbox by its legacyExchangeDN (internally an IMCEAEX address). Convert creates a new cloud mailbox. If that mailbox does not carry X500:<legacyExchangeDN> of the on-premises object, and the X500 addresses already in its proxyAddresses (older legacyExchangeDN values from earlier migrations), a reply to an old message, a meeting update or a cached recipient bounces with an IMCEAEX non-delivery report.
+
The tool proves this, per object, and never writes a cloud address:
+
+
AD phase (Convert, phases AD and Both).legacyExchangeDN is read with the other attributes (read only: it is not one of the managed attributes, is never written, restored or modified). The batch records, for each object, the list ExpectedX500: X500:<legacyExchangeDN> when it is not empty, then every X500: entry of the original proxyAddresses. Duplicates are removed (ordinal, ignoring case, on the whole value); each value is kept byte for byte. The preview shows X500 to verify after the conversion: N for each object. The field travels in the batch JSON and in the transfer package, so the cloud server on another machine has it.
+
Cloud phase (Convert, phases Cloud and Both). When the mailbox is ready (and its licence, and the shared mailbox permissions), the tool reads EmailAddresses of the mailbox in Exchange Online, or the Entra proxyAddresses when Cloud.MailboxCheckVia is Graph, and compares each expected value (ordinal, ignoring case, on the whole value). All present: X500: N of N present (legacyExchangeDN + older X500). Otherwise it re-reads, at the polling interval, up to three reads in total (the cloud value can lag one synchronisation; there is no long new wait), then writes ONE warning for the object: X500 missing in Exchange Online: <values>. It is a warning, not an error: the conversion stays done. The warning is counted in the run result, the HTML report, the global report (journey of the object) and the Next steps, which give the command to check again after an Entra Connect synchronisation.
+
Check.-Action Check -Batch <id> (or -Identity <sAMAccountName>, which reads AD) shows the same comparison, read only. An identity given as a UPN has no Active Directory read: the line says so and skips the control.
+
Old batches. A batch written before 3.1.0 has no ExpectedX500: the control is skipped with the information line expected addresses not available (batch from 3.0.0 or older), never a failure. The field is validated like KeptX500 when the batch is read (only strings starting with X500:, at most 2,000 values of at most 2,048 characters); a changed or invalid field makes the batch refused.
+
+
The control runs only when the mailbox check runs (Cloud.CheckMailbox). Recover is unchanged: it keeps the cloud X500 address written back on premises (chapter 3).
Shared mailbox permissions — where they come from
Shared mailbox access: read in Active Directory, saved in the batch, every holder found in Exchange Online, granted once, read again
Exchange on-premises is down: the tool cannot ask it (Get-MailboxPermission is not available). It reads the permissions where Exchange keeps a copy in Active Directory, on the account of the shared mailbox itself (default SharedMailbox.PermissionSource = 'AD'):
@@ -472,7 +486,7 @@
The four actions
Caution
-
Convert creates new, empty mailboxes in Exchange Online (msExchMailboxGuid is cleared). The content of the on-premises mailboxes is not moved. A Recover deprovisions the cloud mailboxes: mail received in the cloud during the disaster must be exported first if it has to be kept (or protected by a retention policy, see Retention in chapter 6).
+
Convert creates new, empty mailboxes in Exchange Online (msExchMailboxGuid is cleared). The content of the on-premises mailboxes is not moved. A Recover deprovisions the cloud mailboxes: mail received in the cloud during the disaster must be exported first if it has to be kept (or protected by a retention policy, see Retention in chapter 6).
What the lab showed after a deprovisioning: Exchange Online keeps the cloud mailbox disconnected (it is not listed as a soft-deleted mailbox), and a new Convert a few minutes later reattached it with the same ExchangeGuid. How long Exchange Online keeps it is not known, so saving its content before a rollback stays the advice. In Exchange Online, the synchronised mail user can have its object id as its Name: search by UPN, alias or address, never by Name.
The cloud X500 address is kept. While an object is a remote mailbox, Entra Connect (Exchange hybrid writeback) adds an X500: address of the cloud mailbox to proxyAddresses and sets msDS-ExternalDirectoryObjectId. A Recover restores proxyAddresses as captured before the Convert plus every X500: address that is on the object at that moment and was not in the original list: nothing else is kept, the routing smtp: address added by Convert is still removed, no X500: is invented, and an address that was already original is not duplicated. Without it, a reply to a message sent from the cloud during the disaster, or a cached Outlook address, would bounce after the rollback. The Preview says N cloud X500 address(es) kept, and the batch records the list (KeptX500; a batch written before 3.0.0 has none).
@@ -482,7 +496,7 @@
The four actions
Tip
-
Two servers are supported. If the cloud server has no access to AD (isolated network), run the AD part with -Phase AD, copy the one transfer package it writes (Backups\Outbox\*.zip, chapter 10), and run -Phase Cloud -Batch <package.zip> on the other server. The summary of each step prints the command of the next one.
+
Two servers are supported. If no single server reaches both Active Directory and Microsoft 365 (for example an AD server on an isolated network), run the AD part with -Phase AD on the AD server, copy the one transfer package it writes (Backups\Outbox\*.zip, chapter 10), and run -Phase Cloud -Batch <package.zip> on the cloud server. That is not a server hosted in the cloud: it is any Windows machine of the organisation that reaches Microsoft 365 through the Internet (server room or administrator workstation), with no access to AD. The summary of each step prints the command of the next one.
Part IISet up
Chapter 4
Prerequisites
@@ -531,6 +545,7 @@
Server or workstation
+
The cloud server is not a machine hosted in the cloud: it is any Windows machine of the organisation that can reach Microsoft 365 (Exchange Online and Microsoft Graph) through the Internet, in your own server room or an administrator workstation. It needs no access to Active Directory, no RSAT and no Entra Connect. It needs the rows of the Cloud server column, the same signed package folder, and a configuration file with the same Environment.
PowerShell
# PowerShell 7.5+ (pwsh), as administrator. winget install Microsoft.PowerShell installs PowerShell 7 if needed.
Install-WindowsFeature RSAT-AD-PowerShell # Windows Server (client: RSAT optional feature)
Install-Module ExchangeOnlineManagement -MinimumVersion 3.10.0 -Scope AllUsers -Force
@@ -760,7 +775,7 @@
Exchange Online
Certificate
none
-
in the CurrentUser\My store of the account that runs the tool (Microsoft: -CertificateThumbprint reads the user store), with its private key, not expired (the console's Sign-in: Certificate light checks the thumbprint, the expiry and the private key), created with a CSP key provider (a CNG key is refused by Exchange Online): annex C
+
in the CurrentUser\My store of the account that runs the tool (Microsoft: -CertificateThumbprint reads the user store), with its private key, not expired (the console's Sign-in: Certificate light checks the thumbprint, the expiry and the private key), created with a CSP key provider (a CNG key is refused by Exchange Online): annex C
@@ -769,23 +784,24 @@
What the code
The Entra role of the person for the Graph reads. The code asks for User.Read.All (delegated). Which role the signed-in admin needs to read assignedLicenses, assignedPlans and licenseDetails of other users is decided by Microsoft Graph, not by this code. Global Reader is known to be sufficient and is the one to give; whether the Exchange Recipient Administrator role alone is enough must be tested: sign in with only that role and run Check on one user; an Authorization_RequestDenied means a reader role is missing.
Which right replicates a single object. The tool says Replication Synchronization in its access denied message (PRA.Directory.psm1:1675). Microsoft's protocol document for the replicateSingleObject operation (MS-ADTS 3.1.1.3.3.18) names the same control access right, DS-Replication-Synchronize (Replication synchronization, 1131f6ab-9c07-11d1-f79f-00c04fc2dcd2), on the root of the naming context. The delegation above grants it. This has not been run with a delegated account yet. If access denied persists on a destination domain controller, add Replicating Directory Changes in the same way and report it.
-
That an attribute-level Write property ACE is enough for every msExch* attribute with Set-ADUser from a non-Exchange account. It is how Active Directory works, but it was validated in the lab with an administrator account only (annex B).
+
That an attribute-level Write property ACE is enough for every msExch* attribute with Set-ADUser from a non-Exchange account. It is how Active Directory works, but it was validated in the lab with an administrator account only (annex B).
The exact Exchange role of each cmdlet. Check it in your tenant: Get-ManagementRoleEntry "*\Add-MailboxPermission","*\Add-RecipientPermission","*\Set-Mailbox","*\Get-EXOMailbox" lists the roles that carry each cmdlet; a custom role group with exactly those roles is a narrower alternative to Exchange Recipient Administrator (Microsoft, Option 2: custom role groups of the app-only authentication article).
ADSyncOperators as the only membership for Get-ADSyncScheduler / Start-ADSyncSyncCycle, and Remote Management Users for the remote session: Microsoft documentation, not exercised by the tests.
+
How Exchange Online and Entra expose the X500 addresses. The X500 control reads EmailAddresses (Get-EXOMailbox -Properties EmailAddresses) or, through Graph, proxyAddresses, and assumes that Entra Connect writes the on-premises legacyExchangeDN as an X500 address of the cloud object (the normal hybrid result). The lag (how many minutes a value takes to appear) and the property behaviour of your tenant are marked for lab validation; if the property is not returned, the control warns could not be verified instead of failing.
The certificate store. The console light looks in CurrentUser\My only, the store that Exchange Online (Connect-ExchangeOnline -CertificateThumbprint) reads: a thumbprint that exists only in LocalMachine\My shows a red light. A green light still does not prove that Exchange Online accepts the certificate (CSP key, application permission): the sign-in is proven by a Check on one mailbox.
In short: Copy the signed package to the server, unblock it, and put Backups on a safe disk. The package checks itself at every start.
-
Install PowerShell 7.5 or later on the server (winget install Microsoft.PowerShell, or the MSI of the PowerShell release page), then the modules for PowerShell 7 (chapter 4). Copy the package folder (PraRemoteMailbox-3.0.0, the signed package built by tools\New-PraPackage.ps1, or the extracted release ZIP) to the server, for example D:\PRA\PraRemoteMailbox.
+
Install PowerShell 7.5 or later on the server (winget install Microsoft.PowerShell, or the MSI of the PowerShell release page), then the modules for PowerShell 7 (chapter 4). Copy the package folder (PraRemoteMailbox-3.0.0, the signed package built by tools\New-PraPackage.ps1, or the extracted release ZIP) to the server, for example D:\PRA\PraRemoteMailbox.
Unblock the files if they were downloaded: Get-ChildItem D:\PRA\PraRemoteMailbox -Recurse -File -Force | Unblock-File.
Put Backups on a durable volume (default: .\Backups in the tool folder; see Storage.BackupFolder).
-
Fill in the configuration (chapter 6), then run a Preview: it checks the configuration, AD access and the scope without writing anything.
+
Fill in the configuration (chapter 6), then run a Preview: it checks the configuration, AD access and the scope without writing anything.
-
Two servers: install the same version on both, with a configuration of the same Environment (a batch is refused by a configuration of another Environment). The cloud server needs only the cloud sections; the AD server needs the AD sections.
+
Two servers: install the same version on both, with a configuration of the same Environment (a batch is refused by a configuration of another Environment). The cloud server (any Windows machine that reaches Microsoft 365, see chapter 4) needs only the cloud sections; the AD server needs the AD sections.
@@ -940,7 +956,7 @@
Shared mailboxes
SharedMailbox.PermissionSource
-
Where FullAccess / SendAs holders are read, without Exchange: AD (default: the copy Exchange keeps on the account), Csv (Shared,Group), CustomAttribute (a group tagged with the name of the mailbox), None. Groups are expanded to their users. Details: chapter 2, Shared mailbox permissions.
+
Where FullAccess / SendAs holders are read, without Exchange: AD (default: the copy Exchange keeps on the account), Csv (Shared,Group), CustomAttribute (a group tagged with the name of the mailbox), None. Groups are expanded to their users. Details: chapter 2, Shared mailbox permissions.
$false (default): interactive sign-in through the Windows broker (WAM). $true: browser sign-in instead. See chapter 8, Cloud sign-in from the window.
+
$false (default): interactive sign-in through the Windows broker (WAM). $true: browser sign-in instead. See chapter 8, Cloud sign-in from the window.
Exo.GrantVerifyAttempts, GrantVerifyDelaySeconds
@@ -1122,9 +1138,9 @@
Files
Start PowerShell 7, never powershell.exe: the action of the scheduled task is "C:\Program Files\PowerShell\7\pwsh.exe" -NoProfile -NonInteractive -File "D:\PRA\PraRemoteMailbox\Invoke-PraRemoteMailbox.ps1" -Action Convert -Mode Apply -Force (adapt the path of pwsh.exe).
-
Certificate sign-in: create the application once (annex C) and set Cloud.AppId + Cloud.CertificateThumbprint. The certificate must be in the CurrentUser\My store of the account that runs the tool.
+
Certificate sign-in: create the application once (annex C) and set Cloud.AppId + Cloud.CertificateThumbprint. The certificate must be in the CurrentUser\My store of the account that runs the tool.
-
Run with -Mode Apply -Force under a domain account that has the AD rights of chapter 4. -Confirm:$false is accepted as an equivalent for the single confirmation (an explicit -Confirm, with either value, skips it); use it only after a reviewed Preview.
+
Run with -Mode Apply -Force under a domain account that has the AD rights of chapter 4. -Confirm:$false is accepted as an equivalent for the single confirmation (an explicit -Confirm, with either value, skips it); use it only after a reviewed Preview.
Read the exit code: 0 done, 1 failed, 2 done but a next step is required (Pending objects). With -PassThru, the tool also returns the result object: Status, ExitCode, BatchId, NextSteps, the counters and the paths of the log and the reports (without -PassThru, nothing is written to the pipeline).
@@ -1166,7 +1182,7 @@
Files
-Batch
batch ID (8 characters), path of the batch JSON, or a transfer package .zip (path, or the name of a file in Backups\Inbox, Backups\Outbox or the current folder)
-
Recover, -Phase Cloud, Finalize; optional for Check. A package is verified, then extracted (chapter 10)
+
Recover, -Phase Cloud, Finalize; optional for Check. A package is verified, then extracted (chapter 10)
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
@@ -1255,7 +1271,7 @@
The console (WPF window)
1. Setup
-
the environment, what this server can run (AD, Cloud or both) and five prerequisite lights: RSAT ActiveDirectory, ExchangeOnlineManagement (version against Exo.MinModuleVersion), Microsoft.Graph, the Entra Connect synchronisation, and the sign-in (the certificate is looked up in CurrentUser\My (the store the sign-in reads; a thumbprint only in LocalMachine\My is red) with its expiry, or the Windows account broker). The lights come from real detection (Get-Module -ListAvailable, the certificate stores); Check again runs it again
+
the environment, what this server can run (AD, Cloud or both) and the prerequisite lights: RSAT ActiveDirectory, ExchangeOnlineManagement (version against Exo.MinModuleVersion), Microsoft.Graph, the Entra Connect synchronisation, and the sign-in (the certificate is looked up in CurrentUser\My (the store the sign-in reads; a thumbprint only in LocalMachine\My is red) with its expiry, or the Windows account broker). A sixth light, Microsoft 365 reachable, appears once the programs and the sign-in are in place: an HTTPS request (HEAD, port 443, through the default system proxy, 3 s) to login.microsoftonline.com and to outlook.office365.com, sent in the background (the window never waits; Choose a task stays grey for those few seconds). Any HTTP answer counts as reachable. The lights come from real detection (Get-Module -ListAvailable, the certificate stores, the network test); Check again runs it again
nothing when the lights are green: read three lines, click Choose a task. One compact line, This run: PROD · dc02.contoso.com · All mailboxes · Certificate sign-in, with Change... to open the run settings
@@ -1280,10 +1296,10 @@
The console (WPF window)
-Setup: the five 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
@@ -1371,7 +1387,7 @@
The console (WPF window)
Continue a batch lists the batches found in Storage.BackupFolder (of every environment) and the transfer packages waiting in
-<Storage.BackupFolder>\Inbox, with their state. Import package... takes a .zip from anywhere: the console verifies it (all checks before any write, chapter 10),
+<Storage.BackupFolder>\Inbox, with their state. Import package... takes a .zip from anywhere: the console verifies it (all checks before any write, chapter 10),
extracts it into Storage.BackupFolder and selects its batch. A package picked in the list is imported when you continue to the verification page.
Safety is unchanged. Run is locked until a successful Preview of exactly the same request, files and configuration; the engine independently rereads the
directory, backs up and verifies the targets before every write. Type CONVERT, RECOVER or FINALIZE (any letter case, surrounding spaces
@@ -1402,7 +1418,7 @@
Cloud sign-in f
window at all.
What to do: leave the new console window open (it can be minimised) while a cloud operation runs and accept the
-Microsoft sign-in dialog. If the sign-in dialog cannot open, use the certificate sign-in (annex C) or set
+Microsoft sign-in dialog. If the sign-in dialog cannot open, use the certificate sign-in (annex C) or set
Exo.DisableWAM = $true (browser sign-in). The activity log shows the engine's own console lines as they arrive
(sign-in messages, waits, warnings), without repeating the events it already displays; the complete output is kept
in logs\gui\<id>.stdout.txt and .stderr.txt (the raw bytes of the child, in the console code page of the
@@ -1415,8 +1431,8 @@
Cloud sign-in f
timer only reads what has been written so far, through a second read-only stream of the file.
What the console decides for you (3.0.0)
-
The phase. A server that can do the Active Directory side and the cloud side (role AD + Cloud on Setup) runs a new Convert or Recover as Phase Both (the console names it AD and cloud, on this server): everything is done there, there is no
-transfer package and the Task page says so. The AD phase (which writes a package) or the Cloud phase only appears when the server can do one side only; Expert mode can still force a phase.
+
The phase. A server that can do the Active Directory side and the cloud side (role AD + Cloud on Setup: RSAT, the cloud programs and Microsoft 365 reachable from this server) runs a new Convert or Recover as Phase Both (the console names it AD and cloud, on this server): everything is done there, there is no
+transfer package and the Task page says so. The AD phase (which writes a package) or the Cloud phase only appears when the server can do one side only, which includes a server with every program but no access to Microsoft 365 (role AD, amber light, the Setup page says why); Expert mode can still force a phase.
Identity. Under the Identity field, Check (also when the field loses the focus or Enter is pressed) shows the account that was resolved (display name, UPN, mailbox type) or says plainly that it
was not found or is ambiguous. It is a read-only lookup made by a child process (25 s at most): the window never waits for Active Directory.
Run page. A step that works object by object shows 1 / 2 objects with a proportional bar as the objects complete; the steps of the whole batch (Entra Connect, replication, package, cloud wait) are in the
@@ -1499,7 +1515,7 @@
Recipe 6 — Check, at any time
.\Invoke-PraRemoteMailbox.ps1 -Action Check -Identity jdupont@contoso.com # one mailbox
.\Invoke-PraRemoteMailbox.ps1 -Action Check -Batch 1d5ac20b -Expect Deprovisioned # after a Recover
-
Read only. Check waits for the expected state (up to Polling.TimeoutMinutes); add -Once for a single pass.
+
Read only. Check waits for the expected state (up to Polling.TimeoutMinutes); add -Once for a single pass. It also shows whether the mailbox carries the X500 addresses recorded by the Convert (section X500 addresses, chapter 2).
Scenario C — Convert on two servers
Two servers, one file: the AD server writes one zip, you carry it, the cloud server finishes; a rollback has three parts and two files
1
AD server
.\Invoke-PraRemoteMailbox.ps1 -Action Convert -Phase AD -Mode Apply — backup, AD changes, sync. The summary prints the batch ID.
2
Copy
Copy the one fileBackups\Outbox\PRA-<Environment>-Convert-<id8>-for-Cloud.zip (and its .sha256) to the cloud server, anywhere. (Copying the whole Batch-<id> folder still works.)
3
Cloud server
.\Invoke-PraRemoteMailbox.ps1 -Action Convert -Phase Cloud -Batch '<package>.zip' -Mode Apply — verifies and imports the package, waits for the mailboxes, grants the permissions. In the console: Move mailboxes to Exchange Online, Continue, Import package....
@@ -1509,14 +1525,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
@@ -1578,7 +1594,7 @@
The global report (two servers
Phase Both uses the same layout (one phase). The per-phase HTML report also lists the run settings changed (the per-phase CSV keeps its 22 columns).
Warnings
-
A warning never stops the run and never changes the exit code; it says that something was left aside on purpose and should be read. Today: the permission entries of a shared mailbox that point to an account no longer in AD (chapter 2). It is shown in four places: a yellow ▲ line in the console under the object, [WARN] in the log, the Warnings column of the CSV, and in the HTML report (Warnings tile, Warnings card, yellow mark on the row). The summary card of the console turns yellow and shows the last warnings.
+
A warning never stops the run and never changes the exit code; it says that something was left aside on purpose and should be read. Today: the permission entries of a shared mailbox that point to an account no longer in AD (chapter 2), and an X500 address missing in Exchange Online (chapter 2, X500 addresses). It is shown in four places: a yellow ▲ line in the console under the object, [WARN] in the log, the Warnings column of the CSV, and in the HTML report (Warnings tile, Warnings card, yellow mark on the row). The summary card of the console turns yellow and shows the last warnings.
Report of a run with a warning on a shared mailbox (synthetic example data)
Statuses
@@ -1710,7 +1726,7 @@
The safety contract
Proofs: the State file lists the objects verified; the cloud phase, Finalize and the sync refuse a batch without a valid proof, and Finalize refuses an object changed since the proof. One change is accepted: the writeback of Entra Connect, when the X500: addresses of proxyAddresses are the only difference from the list of the proof and every other managed attribute is as the proof left it (the list of kept addresses is then computed again).
A cloud error is never "absent": deprovisioning is confirmed only when Exchange Online returns no mailbox and a MailUser recipient. Only then are the shared mailboxes restored on-premises.
Preview and Check never write (AD, Entra Connect, Exchange Online); they still write their log, transcript and report.
-
Strings are compared ordinally. On PowerShell 7 (.NET, ICU) the usual comparison operators ignore zero-width and control characters ("a" -ceq "a<U+0001>" is true). Every comparison that guards integrity, identity or authorisation (hashes, GUIDs, Environment, Operation, file names, the RawFormat marker, codec type and XML names, trustees, the typed confirmation) is ordinal; a character that does not belong refuses the object instead of matching it. See the pitfalls table (chapter 12) and the limitations note below.
+
Strings are compared ordinally. On PowerShell 7 (.NET, ICU) the usual comparison operators ignore zero-width and control characters ("a" -ceq "a<U+0001>" is true). Every comparison that guards integrity, identity or authorisation (hashes, GUIDs, Environment, Operation, file names, the RawFormat marker, codec type and XML names, trustees, the typed confirmation) is ordinal; a character that does not belong refuses the object instead of matching it. See the pitfalls table (chapter 12) and the limitations note below.
Limitations of the ordinal comparison. The ordinal rule applies to the runtime files of the package; the tests, the tools and the display-only sorts (lists shown in the window, the OU picker) keep the usual operators. ValidateSet still uses the culture comparison: the entry script and the window request refuse a value that has no ordinal match. Lists that the tool writes in a canonical order (permission holders, multi-valued attributes, batch order) are now sorted ordinally (upper-case before lower-case, by UTF-16 code unit), which can differ from the order written by 2.x under Windows PowerShell 5.1; the comparison of two states sorts both sides, so old backups still compare equal. Regular expressions are anchored with \z (not $, which also accepts a trailing line feed).
Code map
@@ -1797,7 +1813,7 @@
Manage one more AD attribute
Add it to $script:AttributeKinds in PRA.Directory.psm1 with its type (String, MultiString, Bytes, Bool, Int, Long).
Set its target value in New-PraPlan (branch Convert, and Deprovision if needed). Recover restores it automatically from the backup.
Old batches do not contain it: Assert-PraStoredRecord refuses them for Recover. Decide explicitly (new backup schema, or keep old batches on the previous version).
-
Add a gate test (chapter 13) with a synthetic user having and not having the attribute.
+
Add a gate test (chapter 13) with a synthetic user having and not having the attribute.
Change the routing address or the recipient types
Get-PraRoutingAddress (routing) and the Convert branch of New-PraPlan (types). Keep msExchRemoteRecipientType of shared mailboxes at 97/99: 100/102 mean "already migrated" and are refused.
@@ -1891,11 +1907,11 @@
The documentation and its pictures
No picture is drawn by hand. tools\New-DocumentationImages.ps1 rebuilds them all from the repository: the console is the real window (PRA.Gui.psm1) driven against a synthetic engine (tools\DocumentationImages\Show-ConsoleScreens.ps1 and StubEngine.ps1), with numbered callouts on what the operator clicks; the reports come from the real report code on synthetic phase data; the diagrams use the CSS of the built guides. The data is synthetic only (contoso.com, SRV-PRA01, CONTOSO\pra.operator, D:\PRA\PraRemoteMailbox, D:\PRA\Backups); the console harness stops if a real machine name, user name or local path reaches a window. Run it again after any change of the console, of the reports or of the guides, then commit the pictures with the guides. The suite tests\PraDocumentation.Tests.ps1 checks that every picture used exists, has an alternative text and is in the integrity inventory, that no real name appears, that the documented Graph scope is the one of the code, and that the Start here part of the user guide stays short and simple.
The lab campaign
-
After a change of the engine, repeat the campaign of annex B on the lab: Preview, Convert Apply (users + shared), Check, Recover on two servers (AD, Cloud with Finalize package, Finalize), plus a Recover of a batch written by the previous version.
+
After a change of the engine, repeat the campaign of annex B on the lab: Preview, Convert Apply (users + shared), Check, Recover on two servers (AD, Cloud with Finalize package, Finalize), plus a Recover of a batch written by the previous version.
Annexes
Annex A
Troubleshooting
-
In short: The message you see, its cause, and what to do. The user guide has the same in plainer words (chapter 7).
+
In short: The message you see, its cause, and what to do. The user guide, chapter 7 (file PraRemoteMailbox-UserGuide.html) has the same in plainer words.
nothing to do: the other holders are granted. To clean the source: SendAs entries in Active Directory Users and Computers → account of the shared mailbox → Security; FullAccess entries are removed when Exchange is back (Remove-MailboxPermission). If the account belongs to another domain and must keep its access, grant it by hand in Exchange Online
+
▲ <mailbox>: X500 missing in Exchange Online: X500:/o=... (warning)
+
the cloud mailbox does not carry an address that the on-premises object had (its legacyExchangeDN, or an older X500). A reply to an old message or a meeting update would bounce (IMCEAEX). The conversion itself is done
+
check that Entra Connect synchronises proxyAddresses and legacyExchangeDN for the object (a customised or filtered rule, an object not yet synchronised, an empty legacyExchangeDN), run a synchronisation, then -Action Check -Batch <id>. Nothing is written by the tool
+
+
Trustee without UPN / Unsupported trustee type
a holder is an account without UPN, or a contact / computer
give it a UPN, or exclude it (ExcludeTrusteeSamAccountNames)
@@ -2112,7 +2133,7 @@
The lab campaign
T13
-Action Convert (Preview)
-
final plan of the 4 objects (run again on 2026-10-01 for the screenshot of chapter 8)
+
final plan of the 4 objects (run again on 2026-10-01 for the screenshot of chapter 8)
PASS
@@ -2169,13 +2190,13 @@
The lab campaign
Defects found by the campaign and fixed in 2.0.0 (all now covered by the gate):
With -Force, the approval callback of the AD engine still called ShouldProcess with ConfirmImpact High → "Windows PowerShell is in NonInteractive mode" in the scheduled task, before any write (fail-closed). Fix: the single confirmation of the run sets ConfirmPreference = None for the callbacks.
-
The session guard compared the organisation domain of a certificate session with Cloud.TenantId and refused it (finding 1 of annex F). Fix: the guard accepts Cloud.Organization and checks the AppId.
+
The session guard compared the organisation domain of a certificate session with Cloud.TenantId and refused it (finding 1 of annex F). Fix: the guard accepts Cloud.Organization and checks the AppId.
(T17) Get-EXORecipient -UserPrincipalName answers an absent object with HTTP 404 ManagementObjectNotFoundException. During the Recover cloud check, while the mailbox turns into a MailUser, this answer stopped the run (fail-closed). Fix: this exact answer, for this exact UPN, means "not there yet": the check waits and reads again; any other error still stops.
-
(T18) A run that needs Microsoft Graph after a run that used Exchange Online in the same console failed with an obscure GetTokenAsync error. Fix: a clear message asks for a new Windows PowerShell window (annex A).
+
(T18) A run that needs Microsoft Graph after a run that used Exchange Online in the same console failed with an obscure GetTokenAsync error. Fix: a clear message asks for a new Windows PowerShell window (annex A).
(transcripts of T3 and T9) Before each FullAccess grant, the normal "No permissions were found" answer appeared as a TerminatingError line in the transcript. Fix: read through -ErrorVariable; T16 and T17c: 0 such line.
The lab was left as before the tests: T16 test material removed (groups deleted, msExchMailboxSecurityDescriptor identical to its copy taken before the test, publicDelegates empty), pra-shared03 back on-premises.
-
Lab fixes made before the campaign (outside the tool): domain controller DC2 had not replicated from DC1 since 2026-09-18 (Kerberos 0x80090322, stale KDC ticket); fixed by purging the tickets of the computer account and forcing the replication. Account LAB\pra-operator and the lab application (annex C) were created for the campaign.
+
Lab fixes made before the campaign (outside the tool): domain controller DC2 had not replicated from DC1 since 2026-09-18 (Kerberos 0x80090322, stale KDC ticket); fixed by purging the tickets of the computer account and forcing the replication. Account LAB\pra-operator and the lab application (annex C) were created for the campaign.
Lab revalidation of the PowerShell 7 engine (3.0.0)
3.0.0 has offline validation only (the gate, which replays the files written by the real 2.2.0 under Windows PowerShell 5.1: tests\PraLegacyFixtures.Tests.ps1, 23 checks on the fixtures frozen in tests\fixtures\ps51-2.2.0). Before any use in production, replay on the lab, with PowerShell 7.5+:
@@ -2189,13 +2210,13 @@
Lab revalidation of t
Window: Preview, Apply, OU browser, opening of the reports; interactive cloud sign-in from the window (console of the child).
Reports: the CSV opened in Excel (accents), the HTML report with a large volume.
Manual check of a capture written by 3.0.0: Import-Clixml for audit, and a Recover that reads it.
-
Minimum permissions (chapter 4, What the code cannot tell you): with an account that is not a Domain Admin and holds only the dsacls delegation of chapter 4, run a Preview and an Apply on one user and one shared mailbox, then a Recover (if an attribute is refused, note which). With Directory.ForceReplication on, check that Replication synchronization alone is enough on every destination domain controller. Sign in to Graph with only the Entra role Exchange Recipient Administrator and run Check (a refusal of the licence read means a reader role such as Global Reader is needed). For each cmdlet of the Exchange Online table, Get-ManagementRoleEntry "*\<cmdlet>" and confirm the role. Certificate sign-in with a certificate created by the Annex C command (CSP provider) in CurrentUser\My.
+
Minimum permissions (chapter 4, What the code cannot tell you): with an account that is not a Domain Admin and holds only the dsacls delegation of chapter 4, run a Preview and an Apply on one user and one shared mailbox, then a Recover (if an attribute is refused, note which). With Directory.ForceReplication on, check that Replication synchronization alone is enough on every destination domain controller. Sign in to Graph with only the Entra role Exchange Recipient Administrator and run Check (a refusal of the licence read means a reader role such as Global Reader is needed). For each cmdlet of the Exchange Online table, Get-ManagementRoleEntry "*\<cmdlet>" and confirm the role. Certificate sign-in with a certificate created by the Annex C command (CSP provider) in CurrentUser\My.
Annex C
Certificate sign-in (application)
In short: How to sign in without a person: one application, one certificate, two permissions, one role.
-
Least privilege for unattended runs: one application, one certificate, two application permissions (User.Read.All for Microsoft Graph, Exchange.ManageAsApp for Exchange Online, both with admin consent) and one Entra role (Exchange Recipient Administrator) for its service principal. These are exactly the rows of the Certificate sign-in column of chapter 4, Permissions. The tool reads and grants nothing else through the application.
+
Least privilege for unattended runs: one application, one certificate, two application permissions (User.Read.All for Microsoft Graph, Exchange.ManageAsApp for Exchange Online, both with admin consent) and one Entra role (Exchange Recipient Administrator) for its service principal. These are exactly the rows of the Certificate sign-in column of chapter 4, Permissions. The tool reads and grants nothing else through the application.
What the certificate must be (the console light Sign-in: Certificate checks the first three; Microsoft requires the last two for Exchange Online):
in the CurrentUser\My store of the account that runs the tool (the console light looks in this store only; a certificate that is only in LocalMachine\My shows a red light);
@@ -2231,7 +2252,7 @@
Lab revalidation of t
Warning
-
To validate in the lab. The -Provider parameter (CSP key, not CNG) follows Microsoft's requirement for app-only sign-in in Exchange Online; it was added to this command in 3.0.0 and has not been replayed on a tenant. The command of the earlier versions used the default provider. If Connect-ExchangeOnline refuses the certificate, recreate it with the provider named above. Whether the Entra role Exchange Recipient Administrator alone covers every cmdlet of chapter 4 is also a point to confirm once (chapter 4, What the code cannot tell you).
+
To validate in the lab. The -Provider parameter (CSP key, not CNG) follows Microsoft's requirement for app-only sign-in in Exchange Online; it was added to this command in 3.0.0 and has not been replayed on a tenant. The command of the earlier versions used the default provider. If Connect-ExchangeOnline refuses the certificate, recreate it with the provider named above. Whether the Entra role Exchange Recipient Administrator alone covers every cmdlet of chapter 4 is also a point to confirm once (chapter 4, What the code cannot tell you).
Annex D
File formats
@@ -2273,13 +2294,14 @@
Lab revalidation of t
+
3.1.0 adds one optional field to each record of a Convert backup, ExpectedX500 (the X500 addresses to verify in Exchange Online); a backup without it is read as before.
Every JSON has a .sha256 file; a mismatch is refused. Version 2.0.0 reads the batches of 1.3.x (tested: Recover of a 1.3.6 Convert batch in the lab).
The formats did not change in 3.0.0 (backup schema 3, PraDataOnlyClixml-v1, proof schema 2, Finalize manifest schema 2). The codec writes the same bytes under PowerShell 7 and under Windows PowerShell 5.1 (by design; tests\PraLegacyFixtures.Tests.ps1 replays, in the gate, backups, proofs and a Finalize package written by the real 2.2.0 under Windows PowerShell 5.1 and frozen in tests\fixtures\ps51-2.2.0), and every hash is a hash of the file bytes, so a backup, a proof or a Finalize package produced by 2.x is read, verified and restored by 3.0.0 without conversion. The JSON written by PowerShell 7 is formatted differently (2-space indentation, no Unicode escapes for the characters <, >, & and the apostrophe) but is the same JSON; 2.2.x reads it. One cosmetic difference in new files: the order of the multi-value lists is an ordinal sort (upper-case before lower-case, by UTF-16 code unit), where 2.x wrote the culture-aware order of Windows PowerShell 5.1; the comparisons sort both sides again, so no check depends on it. The CSV report keeps its UTF-8 BOM, as in 2.x.
Annex E
Versioning and upgrade from 1.3.6
In short: What changed between versions and how to upgrade.
-
From 2.x to 3.0.0. Install PowerShell 7.5+ and the AD, Exchange Online and Graph modules for PowerShell 7 (chapter 4); replace the package folder; keep Backups\ and the configuration file (same format; nothing to change); run the commands with pwsh (and change the action of scheduled tasks from powershell.exe to pwsh.exe, chapter 7). Windows PowerShell 5.1 and PowerShell 7.4 are refused before any code runs. The 2.2.x package remains the Windows PowerShell 5.1 version and is the fallback on a server that cannot have PowerShell 7; both versions read the backups of the other.
+
From 2.x to 3.0.0. Install PowerShell 7.5+ and the AD, Exchange Online and Graph modules for PowerShell 7 (chapter 4); replace the package folder; keep Backups\ and the configuration file (same format; nothing to change); run the commands with pwsh (and change the action of scheduled tasks from powershell.exe to pwsh.exe, chapter 7). Windows PowerShell 5.1 and PowerShell 7.4 are refused before any code runs. The 2.2.x package remains the Windows PowerShell 5.1 version and is the fallback on a server that cannot have PowerShell 7; both versions read the backups of the other.
One source: $script:ToolVersion in module\PRA.Common.psm1, exported as Get-PraToolVersion. The entry script (run context, report, audit, log), the window (title) and the package builder (tools\New-PraPackage.ps1, which reads that line as text) take the version from it. Nothing else in the code carries a version literal.
Literals that cannot be computed (the signature and the manifest hash the exact bytes, so a comment cannot be generated at run time). Change them together with the source, in the same commit; tests\PraRemoteMailbox.Tests.ps1 fails if one differs:
@@ -2292,7 +2314,7 @@
Lab revalidation of t
the repository-only headers Version of tools\New-PraPackage.ps1, tools\Build-Documentation.ps1, tests\Invoke-TestGate.ps1, tests\IntegrityFixture.ps1, tests\PackageIntegrity.Tests.ps1, tests\PraRemoteMailbox.Tests.ps1, tests\PraReport.Tests.ps1.
-
Release checklist: gate PASS · lab campaign (annex B) · pwsh tools\New-DocumentationImages.ps1 (PowerShell 7.5+, Microsoft Edge, documentation only: every picture of the README and the guides, then the two HTML guides) · owner signature and manifest (below) · tools\New-PraPackage.ps1 · git tag vX.Y.Z.
+
Release checklist: gate PASS · lab campaign (annex B) · pwsh tools\New-DocumentationImages.ps1 (PowerShell 7.5+, Microsoft Edge, documentation only: every picture of the README and the guides, then the two HTML guides) · owner signature and manifest (below) · tools\New-PraPackage.ps1 · git tag vX.Y.Z.
Signature and manifest after a change. Editing a signed or hashed file invalidates its signature or hash, and the package then refuses to start (by design). The owner (1) signs, with the timestamp, every PowerShell file of the inventory (Invoke-PraRemoteMailbox.ps1, PraRemoteMailbox.psd1, PraRemoteMailbox.psm1, module\PRA.Common.psm1, PRA.Directory.psm1, PRA.Backup.psm1, PRA.Cloud.psm1, PRA.Gui.psm1, PRA.Gui.Directory.ps1, Test-PackageIntegrity.ps1); (2) regenerates PackageIntegrity.psd1 with the SHA256 of every inventory file taken from the final signed bytes (the hash of a signed script includes its signature block, so it cannot be computed before signing), then signs the manifest; (3) runs the gate and tools\New-PraPackage.ps1. The gate and the Pester suites also pass on an unsigned working tree (the native-state tests accept the fail-closed state); tools\New-PraPackage.ps1 and the CI Package stage refuse an unsigned or changed source.
From 1.3.6: keep the old Backups folders; copy the values of DRP-Config.psd1 into the new file (same sections; ADConnect → EntraConnect; BackupFolder/LogFolder/ReportFolder → Storage/Logging/Report; Safety → Storage.ForbiddenBackupRoots); keep the same Environment to use the old batches. Command mapping: see CHANGELOG.md (table "Changed").
@@ -2315,7 +2337,7 @@
Lab revalidation of t
1
Certificate sign-in to Exchange Online always refused by the session guard (TenantID of an app-only session = organisation domain)
cloud phase impossible unattended; explains the "UnAuthorized" blocker of the 1.3.4 pilot