timmcmic / DLConversionV2

MIT License
44 stars 9 forks source link

Running enable-hybridMailFlowPostMigration and getting an issue on creating a contact #60

Closed woodre closed 2 years ago

woodre commented 2 years ago

[8/9/2022 1:32:59 PM] - Spaces Removed Address Length: 40 The group cannot be found in Active Directory by email address. At C:\Program Files\WindowsPowerShell\Modules\DLConversionV2\2.5.25\Get-ADObjectConfiguration.ps1:108 char:17

[8/9/2022 1:32:59 PM] - The routing contact is not present - create the routing contact. Out-LogFile : The group cannot be found in Active Directory by email address. At C:\Program Files\WindowsPowerShell\Modules\DLConversionV2\2.5.25\Get-ADObjectConfiguration.ps1:115 char:13

[8/9/2022 1:32:59 PM] - Creating the routing contact that is missing. [8/9/2022 1:32:59 PM] - **** [8/9/2022 1:32:59 PM] - BEGIN new-RoutingContact [8/9/2022 1:32:59 PM] - **** [8/9/2022 1:32:59 PM] - Original DL Configuration = DL_RW_Test [8/9/2022 1:32:59 PM] - Office 365 DL Configuration = DL_RW_Test [8/9/2022 1:32:59 PM] - Global catalog server = gc.domain.local [8/9/2022 1:32:59 PM] - AD User Name = ad_creds [8/9/2022 1:32:59 PM] - Function Custom Attribute 1 = MigratedByScript [8/9/2022 1:32:59 PM] - Function Custom Attribute 2 = DL_RW_Test@domaincom [8/9/2022 1:32:59 PM] - **** [8/9/2022 1:32:59 PM] - BEGIN Get-OULocation [8/9/2022 1:32:59 PM] - **** [8/9/2022 1:32:59 PM] - CN=DL_RW_Test,OU=domain.onmicrosoft.com,OU=Microsoft Exchange Hosted Organizations,DC=NAMPR13A001,DC=PROD,DC=OUTLOOK,DC=COM [8/9/2022 1:32:59 PM] - The location of ,OU= is:13 [8/9/2022 1:32:59 PM] - The group is in an organizational unit. [8/9/2022 1:32:59 PM] - 13 [8/9/2022 1:32:59 PM] - Temp OU Substring = [8/9/2022 1:32:59 PM] - ,OU=domain.onmicrosoft.com,OU=Microsoft Exchange Hosted Organizations,DC=NAMPR13A001,DC=PROD,DC=OUTLOOK,DC=COM [8/9/2022 1:32:59 PM] - 1 [8/9/2022 1:32:59 PM] - Temp OU Substring Substring = [8/9/2022 1:32:59 PM] - OU=domain.onmicrosoft.com,OU=Microsoft Exchange Hosted Organizations,DC=NAMPR13A001,DC=PROD,DC=OUTLOOK,DC=COM [8/9/2022 1:32:59 PM] - **** [8/9/2022 1:32:59 PM] - END Get-OULocation [8/9/2022 1:32:59 PM] - **** [8/9/2022 1:32:59 PM] - Function OU = OU=domain.onmicrosoft.com,OU=Microsoft Exchange Hosted Organizations,DC=NAMPR13A001,DC=PROD,DC=OUTLOOK,DC=COM [8/9/2022 1:32:59 PM] - Testing address for remote routing address = smtp:DL_RW_Test@domain.onmicrosoft.com [8/9/2022 1:32:59 PM] - Testing address for remote routing address = smtp:DL_RW_Test@domain.mail.onmicrosoft.com [8/9/2022 1:32:59 PM] - The remote routing address was found = smtp:DL_RW_Test@domain.mail.onmicrosoft.com [8/9/2022 1:32:59 PM] - Testing address for remote routing address = SMTP:DL_RW_Test@domain.com [8/9/2022 1:32:59 PM] - Function target address = SMTP:DL_RW_TEST@DOMAIN.MAIL.ONMICROSOFT.COM [8/9/2022 1:32:59 PM] - The routing contact could not be created. new-routingContact : You cannot call a method on a null-valued expression. At C:\Program Files\WindowsPowerShell\Modules\DLConversionV2\2.5.25\enable-hybridMailFlowPostMigration.ps1:423 char:17

[8/9/2022 1:32:59 PM] - **** [8/9/2022 1:32:59 PM] - BEGIN disable-allPowerShellSessions [8/9/2022 1:32:59 PM] - **** [

The above snippet has been modified to replace domain names with 'domain'

timmcmic commented 2 years ago

Can you ensure that you're running the latest version.

I think I took a fix for this already.

Update-module DLConversionV2.

If not - please send the full logs to dlconversionv2 at service dot microsoft dot com

Tim

============================== Timothy J. McMichael Senior Support Escalation Engineer @.**@.> (980)-776-7465

Hours: Sunday - Wednesday 08:00 - 16:00 eastern time zone.

Manager: Tom Roughley @.**@.>)

Premier Support - (800)-936-3100 Broad Commercial Support - (800)-936-4900

==============================

From: woodre @.> Sent: Tuesday, August 9, 2022 3:02 PM To: timmcmic/DLConversionV2 @.> Cc: Subscribed @.***> Subject: [timmcmic/DLConversionV2] Running enable-hybridMailFlowPostMigration and getting an issue on creating a contact (Issue #60)

[8/9/2022 1:32:59 PM] - Spaces Removed Address Length: 40 The group cannot be found in Active Directory by email address. At C:\Program Files\WindowsPowerShell\Modules\DLConversionV2\2.5.25\Get-ADObjectConfiguration.ps1:108 char:17

[8/9/2022 1:32:59 PM] - The routing contact is not present - create the routing contact. Out-LogFile : The group cannot be found in Active Directory by email address. At C:\Program Files\WindowsPowerShell\Modules\DLConversionV2\2.5.25\Get-ADObjectConfiguration.ps1:115 char:13

[8/9/2022 1:32:59 PM] - Creating the routing contact that is missing. [8/9/2022 1:32:59 PM] - **** [8/9/2022 1:32:59 PM] - BEGIN new-RoutingContact [8/9/2022 1:32:59 PM] - **** [8/9/2022 1:32:59 PM] - Original DL Configuration = DL_RW_Test [8/9/2022 1:32:59 PM] - Office 365 DL Configuration = DL_RW_Test [8/9/2022 1:32:59 PM] - Global catalog server = gc.domain.local [8/9/2022 1:32:59 PM] - AD User Name = ad_creds [8/9/2022 1:32:59 PM] - Function Custom Attribute 1 = MigratedByScript [8/9/2022 1:32:59 PM] - Function Custom Attribute 2 = @.* [8/9/2022 1:32:59 PM] - **** [8/9/2022 1:32:59 PM] - BEGIN Get-OULocation [8/9/2022 1:32:59 PM] - **** [8/9/2022 1:32:59 PM] - CN=DL_RW_Test,OU=domain.onmicrosoft.com,OU=Microsoft Exchange Hosted Organizations,DC=NAMPR13A001,DC=PROD,DC=OUTLOOK,DC=COM [8/9/2022 1:32:59 PM] - The location of ,OU= is:13 [8/9/2022 1:32:59 PM] - The group is in an organizational unit. [8/9/2022 1:32:59 PM] - 13 [8/9/2022 1:32:59 PM] - Temp OU Substring = [8/9/2022 1:32:59 PM] - ,OU=domain.onmicrosoft.com,OU=Microsoft Exchange Hosted Organizations,DC=NAMPR13A001,DC=PROD,DC=OUTLOOK,DC=COM [8/9/2022 1:32:59 PM] - 1 [8/9/2022 1:32:59 PM] - Temp OU Substring Substring = [8/9/2022 1:32:59 PM] - OU=domain.onmicrosoft.com,OU=Microsoft Exchange Hosted Organizations,DC=NAMPR13A001,DC=PROD,DC=OUTLOOK,DC=COM [8/9/2022 1:32:59 PM] - **** [8/9/2022 1:32:59 PM] - END Get-OULocation [8/9/2022 1:32:59 PM] - **** [8/9/2022 1:32:59 PM] - Function OU = OU=domain.onmicrosoft.com,OU=Microsoft Exchange Hosted Organizations,DC=NAMPR13A001,DC=PROD,DC=OUTLOOK,DC=COM [8/9/2022 1:32:59 PM] - Testing address for remote routing address = *@*.**@*.> [8/9/2022 1:32:59 PM] - Testing address for remote routing address = @*.**@*.> [8/9/2022 1:32:59 PM] - The remote routing address was found = @*.**@*.> [8/9/2022 1:32:59 PM] - Testing address for remote routing address = @*.**@*.> [8/9/2022 1:32:59 PM] - Function target address = @*.**@*.***> [8/9/2022 1:32:59 PM] - The routing contact could not be created. new-routingContact : You cannot call a method on a null-valued expression. At C:\Program Files\WindowsPowerShell\Modules\DLConversionV2\2.5.25\enable-hybridMailFlowPostMigration.ps1:423 char:17

[8/9/2022 1:32:59 PM] - **** [8/9/2022 1:32:59 PM] - BEGIN disable-allPowerShellSessions [8/9/2022 1:32:59 PM] - **** [

The above snippet has been modified to replace domain names with 'domain'

- Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Fissues%2F60&data=05%7C01%7Ctimmcmic%40microsoft.com%7C1bddee1220f44ea31f9708da7a39a9ce%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637956685330283686%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=4l8KFo1KzuBv8hez9iFtY5Nfvdc2EnNUViOGCCn7dOc%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGTN6JSQE6NSVNTAZ3FJETVYKTLFANCNFSM56B3C2GA&data=05%7C01%7Ctimmcmic%40microsoft.com%7C1bddee1220f44ea31f9708da7a39a9ce%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637956685330283686%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Wg7QsSky8kQGSRvaPlRd%2B5SuO3%2BdptiQDRI1PFdiXDQ%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

timmcmic commented 2 years ago

Fixed in current build. OU is now handled appropriately