Skip to content

Commit

Permalink
Merge pull request #42 from SignorelliDenis/Development
Browse files Browse the repository at this point in the history
2.0.1 (2021-04-25)
  • Loading branch information
SignorelliDenis committed Apr 25, 2021
2 parents 16569d7 + fa6022b commit 53bf3a5
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 18 deletions.
Binary file modified .vs/slnx.sqlite
Binary file not shown.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Update-Module T2TScripts -Force

## Timeline

The EXO cross-tenant migration involves many steps from the requirements until the post Moverequest. You can refer to the following timeline to understand how the *T2TScripts* should be used:
The EXO cross-tenant migration involves many steps. You can refer to the following timeline to understand how the **T2TScripts** should be used:

![T2TScripts – Timeline EXO migration](https://user-images.githubusercontent.com/43185536/115865890-35f0d980-a439-11eb-857f-783643424dcd.png)

Expand All @@ -67,7 +67,7 @@ Refer to the following links to review the parameters, requirements and instruct

5 - Start the migration batch to move the mailboxes refered in the last steps.

7 - Once the migration batch reaches 95% as Synced status, run the `Update-T2TAttributes -Destionation` in the destination environment. You will be required to provide the same CSV used in the step 3 and 4. Once the functions finishes, it will export a new CSV called MigratedUsers.csv containing the results.
7 - Once the migration batch reaches 95% as Synced status, run the `Update-T2TAttributes -Destination` in the destination environment. You will be required to provide the same CSV used in the step 3 and 4. Once the functions finishes, it will export a new CSV called MigratedUsers.csv containing the results.

8 - From the source environment, run the `Update-T2TAttributes -Source`. The function will require the MigratedUsers.csv generated in the step 7.

Expand Down
2 changes: 1 addition & 1 deletion T2TScripts/T2Tscripts.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
RootModule = 'T2Tscripts.psm1'

# Version number of this module.
ModuleVersion = '2.0.0'
ModuleVersion = '2.0.1'

# ID used to uniquely identify this module
GUID = '2725e92d-30e7-475f-b4d7-edd47e81f9b3'
Expand Down
5 changes: 5 additions & 0 deletions T2TScripts/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 2.0.1 (2021-04-25)
- Fix: [[Update-Target] Cannot convert the "" value of type "System.String" to type "System.Collections.ArrayList"](https://github.com/SignorelliDenis/T2TScripts/issues/41)
- Update: [Update-T2TPostMigration] Documentation Improvement


## 2.0.0 (2021-04-20)
- New: [Function to handle the post-migration called Update-T2TPostMigration](/T2TScripts/functions/Update-T2TPostMigration.md)
- Fix: [v2.0.0 Update-T2TPostMigration -Destination Image](https://github.com/SignorelliDenis/T2TScripts/issues/36)
Expand Down
2 changes: 1 addition & 1 deletion T2TScripts/functions/Export-T2TAttributes.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
.NOTES
Title: Export-T2TAttributes.ps1
Version: 2.0.0
Version: 2.0.1
Date: 2021.02.04
Authors: Denis Vilaca Signorelli (denis.signorelli@microsoft.com)
Contributors: Agustin Gallegos (agustin.gallegos@microsoft.com)
Expand Down
2 changes: 1 addition & 1 deletion T2TScripts/functions/Import-T2TAttributes.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
.NOTES
Title: Import-T2TAttributes.ps1
Version: 2.0.0
Version: 2.0.1
Date: 2021.01.03
Author: Denis Vilaca Signorelli (denis.signorelli@microsoft.com)
Contributors: Agustin Gallegos (agustin.gallegos@microsoft.com)
Expand Down
6 changes: 3 additions & 3 deletions T2TScripts/functions/Update-T2TPostMigration.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ The **Update-T2TPostMigration** function is intended to update all necessary att

## Scenario

Before explaining how the function works, you should be familiar with what exactly happen when the MRS completes the cross tenant move. Imagine that the user bill@fabrikam.com was migrated to bill@contoso.com:
Before explaining how the function works, you should be familiar with what exactly happen when the MRS completes the cross tenant move. Consider that the user bill@fabrikam.com was migrated to bill@contoso.com:

- Source cloud MailUser: Once the move is completed, MRS converts the mailbox object to MailUser and add the MOERA domain bill@contoso.mail.onmicrosoft.com as ExternalEmailAddress.
- Target cloud Mailbox: MailUser is converted to Mailbox and MRS add the PrimarySMTAddress bill@contoso.com.
- Source On-Prem RemoteMailbox: Remains as RemoteMailbox object type still pointing to the ExternalEmailAddress bill@fabrikam.com and doesn't update to the target MOERA domain bill@contoso.mail.onmicrosoft.com.
- Source On-Prem RemoteMailbox: Remains as RemoteMailbox object type, still pointing to the ExternalEmailAddress bill@fabrikam.com and doesn't update to the target MOERA domain bill@contoso.mail.onmicrosoft.com.
- Target On-Prem MailUser: Remains as MailUser object type and doesn't update the ExternalEmailAddress to bill@contoso.com and remains the old value pointing to the source MOERA domain bill@fabrikam.mail.onmicrosoft.com

Basically we have four issues in the post-migration: wrong ExternalEmailAddress and object type in the both sides. If ExternalEmailAddress values are not updated once the migration is completed, this will cause email looping and free/busy issues if you have on-prem mailboxes. The goal of this function is exactly address these four issues as soon as the move request is finished.
Basically we have four issues in the post-migration: wrong ExternalEmailAddress and object type on both sides. If ExternalEmailAddress values are not updated once the migration is completed, this will cause email looping and free/busy issues if you have on-prem mailboxes. The **Update-T2TPostMigration** goal is exactly address these four issues as soon as the move request is finished.

## How it works

Expand Down
2 changes: 1 addition & 1 deletion T2TScripts/functions/Update-T2TPostMigration.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
.NOTES
Title: Update-T2TPostMigration.ps1
Version: 2.0.0
Version: 2.0.1
Date: 2021.04.21
Authors: Denis Vila�a Signorelli (denis.signorelli@microsoft.com)
Expand Down
4 changes: 2 additions & 2 deletions T2TScripts/internal/functions/Update-Target.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
$outArray = @()
[System.Collections.ArrayList]$MEU = @()
[System.Collections.ArrayList]$BreakLoop = @()
$MEU = $ImportUserList.ExternalEmailAddressPostMove
$BreakLoop = $ImportUserList.ExternalEmailAddressPostMove
$MEU = @(($ImportUserList).ExternalEmailAddressPostMove)
$BreakLoop = @(($ImportUserList).ExternalEmailAddressPostMove)

# Loop until all move requests from the MigratedUsers.csv
# are Completed, CompletedWithWarning or Failed
Expand Down
19 changes: 12 additions & 7 deletions T2TScripts/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,19 @@ Update-Module T2TScripts -Force

## Timeline

The EXO cross-tenant migration involves many steps from the requirements until the post Moverequest. You can refer to the following timeline to understand how the *T2TScripts* should be used:
The EXO cross-tenant migration involves many steps. You can refer to the following timeline to understand how the **T2TScripts** should be used:

![T2TScripts – Timeline EXO migration](https://user-images.githubusercontent.com/43185536/115865890-35f0d980-a439-11eb-857f-783643424dcd.png)

Refer to the following links to review the parameters, requirements and instruction for each function:
- [Export-T2TAttributes](/T2TScripts/functions/Export-T2TAttributes.md)
- [Import-T2TAttributes](/T2TScripts/functions/Import-T2TAttributes.md)
- [Update-T2TPostMigration](/T2TScripts/functions/Update-T2TPostMigration.md)
- [Export-T2TLogs](/T2TScripts/functions/Export-T2TLogs.md)

- [Export-T2TAttributes](/T2TScripts/functions/Export-T2TAttributes.md)

- [Import-T2TAttributes](/T2TScripts/functions/Import-T2TAttributes.md)

- [Update-T2TPostMigration](/T2TScripts/functions/Update-T2TPostMigration.md)

- [Export-T2TLogs](/T2TScripts/functions/Export-T2TLogs.md)


## How it works
Expand All @@ -63,10 +67,11 @@ Refer to the following links to review the parameters, requirements and instruct

5 - Start the migration batch to move the mailboxes refered in the last steps.

7 - Once the migration batch reaches 95% as Synced status, run the `Update-T2TAttributes -Destionation` in the destination environment. You will be required to provide the same CSV used in the step 3 and 4. Once the functions finishes, it will export a new CSV called MigratedUsers.csv containing the results.
7 - Once the migration batch reaches 95% as Synced status, run the `Update-T2TAttributes -Destination` in the destination environment. You will be required to provide the same CSV used in the step 3 and 4. Once the functions finishes, it will export a new CSV called MigratedUsers.csv containing the results.

8 - From the source environment, run the `Update-T2TAttributes -Source`. The function will require the MigratedUsers.csv generated in the step 7.


## Version History
## Version History

[Change Log](/T2TScripts/changelog.md)

0 comments on commit 53bf3a5

Please sign in to comment.