Closed shanegrogan closed 3 months ago
So there is no way to do this - because it's necessary to track other dependencies like inheritance and such.
Can you send the full log to dlconversionv2 @ service dot Microsoft dot com
Tim
From: shanegrogan @.> Sent: Thursday, December 14, 2023 11:08 AM To: timmcmic/DLConversionV2 @.> Cc: Subscribed @.***> Subject: [timmcmic/DLConversionV2] Failed to create new routing contact (Issue #154)
Good morning, A little background. All of our mailboxes are currently in 365, and we are migrating the DL's from on prem to 365 using your module. Is there a way to tell the script to not create routing contacts? it seems the script completes successfully but it marks it as a failure. See below. Thank you in advance.
[12/13/2023 3:32:54 PM] - ****
[12/13/2023 3:32:54 PM] - ****
[12/13/2023 3:32:54 PM] - BEGIN Get-OULocation
[12/13/2023 3:32:54 PM] - ****
[12/13/2023 3:32:54 PM] - CN=#TestDL_NoProxy,OU=Distribution Groups,OU=XXXXter GroXXX,OU=NA,OU=Employees,OU=AllUsers,DC=xxx,DC=net
[12/13/2023 3:32:54 PM] - The location of ,OU= is:19
[12/13/2023 3:32:54 PM] - The group is in an organizational unit.
[12/13/2023 3:32:54 PM] - 19
[12/13/2023 3:32:54 PM] - Temp OU Substring =
[12/13/2023 3:32:54 PM] - ,OU=Distribution Groups,OU=XXXXter GroXXX,OU=NA,OU=Employees,OU=AllUsers,DC=xxx,DC=net
[12/13/2023 3:32:54 PM] - 1
[12/13/2023 3:32:54 PM] - Temp OU Substring Substring =
[12/13/2023 3:32:54 PM] - OU=Distribution Groups,OU=XXXXter GroXXX,OU=NA,OU=Employees,OU=AllUsers,DC=xxx,DC=net
[12/13/2023 3:32:54 PM] - ****
[12/13/2023 3:32:54 PM] - END Get-OULocation
[12/13/2023 3:32:54 PM] - ****
[12/13/2023 3:32:54 PM] - Function OU = OU=Distribution Groups,OU=XXXXter GroXXX,OU=NA,OU=Employees,OU=AllUsers,DC=xxx,DC=net
[12/13/2023 3:32:54 PM] - Testing address for remote routing address = @.**@.>
[12/13/2023 3:32:54 PM] - The remote routing address was found = @.**@.>
[12/13/2023 3:32:54 PM] - Testing address for remote routing address = X500:/o=ExchangeLabs/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=bdd999d604d14ea8b4f575b3a20483be-314cbf74-51
[12/13/2023 3:32:54 PM] - Testing address for remote routing address = @.**@.>
[12/13/2023 3:32:54 PM] - Testing address for remote routing address = @.**@.>
[12/13/2023 3:32:54 PM] - @.**@.>
[12/13/2023 3:32:54 PM] - Function target address = @.**@.>
[12/13/2023 3:32:54 PM] - Operation is not retried - use on premsies value.
[12/13/2023 3:32:54 PM] - Operation is not retried - use on premsies value.
[12/13/2023 3:32:54 PM] - TestDL_ADNoProxy
[12/13/2023 3:32:54 PM] - xxx.com
[12/13/2023 3:32:54 PM] - Function First Name: #TestDL_NoProxy
[12/13/2023 3:32:54 PM] - Operation is not retried - use on premsies value.
new-routingContact : You cannot call a method on a null-valued expression.
At C:\Program Files\WindowsPowerShell\Modules\DLConversionV2\2.9.8.18\DLConversionV2.psm1:4532 char:17
Reply to this email directly, view it on GitHubhttps://github.com/timmcmic/DLConversionV2/issues/154, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKGTN6JJA4BAWSJOHWMK6STYJMP6LAVCNFSM6AAAAABAVC6RS2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2DEMBQHE3TOMQ. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>
Good morning, A little background. All of our mailboxes are currently in 365, and we are migrating the DL's from on prem to 365 using your module. Is there a way to tell the script to not create routing contacts? it seems the script completes successfully but it marks it as a failure. See below. Thank you in advance.
[12/13/2023 3:32:54 PM] - ****
[12/13/2023 3:32:54 PM] - ****
[12/13/2023 3:32:54 PM] - BEGIN Get-OULocation
[12/13/2023 3:32:54 PM] - ****
[12/13/2023 3:32:54 PM] - CN=#TestDL_NoProxy,OU=Distribution Groups,OU=XXXXter GroXXX,OU=NA,OU=Employees,OU=AllUsers,DC=xxx,DC=net
[12/13/2023 3:32:54 PM] - The location of ,OU= is:19
[12/13/2023 3:32:54 PM] - The group is in an organizational unit.
[12/13/2023 3:32:54 PM] - 19
[12/13/2023 3:32:54 PM] - Temp OU Substring =
[12/13/2023 3:32:54 PM] - ,OU=Distribution Groups,OU=XXXXter GroXXX,OU=NA,OU=Employees,OU=AllUsers,DC=xxx,DC=net
[12/13/2023 3:32:54 PM] - 1
[12/13/2023 3:32:54 PM] - Temp OU Substring Substring =
[12/13/2023 3:32:54 PM] - OU=Distribution Groups,OU=XXXXter GroXXX,OU=NA,OU=Employees,OU=AllUsers,DC=xxx,DC=net
[12/13/2023 3:32:54 PM] - ****
[12/13/2023 3:32:54 PM] - END Get-OULocation
[12/13/2023 3:32:54 PM] - ****
[12/13/2023 3:32:54 PM] - Function OU = OU=Distribution Groups,OU=XXXXter GroXXX,OU=NA,OU=Employees,OU=AllUsers,DC=xxx,DC=net
[12/13/2023 3:32:54 PM] - Testing address for remote routing address = smtp:TestDL_ADNoProxy@cloudxxx.mail.onmicrosoft.com
[12/13/2023 3:32:54 PM] - The remote routing address was found = smtp:TestDL_ADNoProxy@cloudxxx.mail.onmicrosoft.com
[12/13/2023 3:32:54 PM] - Testing address for remote routing address = X500:/o=ExchangeLabs/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=bdd999d604d14ea8b4f575b3a20483be-314cbf74-51
[12/13/2023 3:32:54 PM] - Testing address for remote routing address = smtp:TestDL_ADNoProxy@cloudxxx.onmicrosoft.com
[12/13/2023 3:32:54 PM] - Testing address for remote routing address = SMTP:TestDL_ADNoProxy@xxx.com
[12/13/2023 3:32:54 PM] - SMTP:TESTDL_ADNOPROXY@CLOUDxxx.MAIL.ONMICROSOFT.COM
[12/13/2023 3:32:54 PM] - Function target address = SMTP:TESTDL_ADNOPROXY@CLOUDxxx.MAIL.ONMICROSOFT.COM
[12/13/2023 3:32:54 PM] - Operation is not retried - use on premsies value.
[12/13/2023 3:32:54 PM] - Operation is not retried - use on premsies value.
[12/13/2023 3:32:54 PM] - TestDL_ADNoProxy
[12/13/2023 3:32:54 PM] - xxx.com
[12/13/2023 3:32:54 PM] - Function First Name: #TestDL_NoProxy
[12/13/2023 3:32:54 PM] - Operation is not retried - use on premsies value.
new-routingContact : You cannot call a method on a null-valued expression.
At C:\Program Files\WindowsPowerShell\Modules\DLConversionV2\2.9.8.18\DLConversionV2.psm1:4532 char:17
... new-routingContact -originalDLConfiguration $originalDLCo ...