timmcmic / DLConversionV2

MIT License
44 stars 9 forks source link

overrideCentralizedMailTransportEnabled option not supported in Start-MultipleDistributionListMigration #61

Closed VCH-JH closed 2 years ago

VCH-JH commented 2 years ago

I can migrate single a DL using Start-distributionListMigration just fine but I require using the overrideCentralizedMailTransportEnabled option due to our configuration. I've got 710 more DLs to migrate, but I can't use the Start-MultipleDistributionListMigration function since it's missing the required option. Any ideas on how I might move past this?

timmcmic commented 2 years ago

This is a code issue. Let me get it fixed up tomorrow and I'll publish a new build. I may have forgotten to carry the switch forward into the start multiple commands.

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: jharoldsenvch @.> Sent: Tuesday, August 30, 2022 8:21 PM To: timmcmic/DLConversionV2 @.> Cc: Subscribed @.***> Subject: [timmcmic/DLConversionV2] overrideCentralizedMailTransportEnabled option not supported in Start-MultipleDistributionListMigration (Issue #61)

I can migrate single a DL using Start-distributionListMigration just fine but I require using the overrideCentralizedMailTransportEnabled option due to our configuration. I've got 710 more DLs to migrate, but I can't use the Start-MultipleDistributionListMigration function since it's missing the required option. Any ideas on how I might move past this?

- Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Fissues%2F61&data=05%7C01%7Ctimmcmic%40microsoft.com%7Cdada8f77a66a4655d8e608da8ae69d33%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637975020339486803%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=HO%2FddfSFZPFgwVC4h6Hqv7PdM9T2vybC3Xj8w9zDTZE%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGTN6MIVK5OKI2YMI6TRLLV32QM5ANCNFSM6AAAAAAQA4PC44&data=05%7C01%7Ctimmcmic%40microsoft.com%7Cdada8f77a66a4655d8e608da8ae69d33%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637975020339486803%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=DVpUJFQGsX6SsBVllMvqjA1eKczDABUet%2BdL%2BLNfsN0%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

timmcmic commented 2 years ago

Hi - if you go to the git hub now and you select the branch for updating centralized routing. Download the zip file and extract it. Run unblock-files * in powershell from within the directory. Then import-module DLConversionV2.psd1 -force. This will load the new code and you can test the multi migration.

Report back here if it's successful and I'll go ahead and release a new build to the powershell gallery. Unfortunately I cannot test it at the moment.

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: jharoldsenvch @.> Sent: Tuesday, August 30, 2022 8:21 PM To: timmcmic/DLConversionV2 @.> Cc: Subscribed @.***> Subject: [timmcmic/DLConversionV2] overrideCentralizedMailTransportEnabled option not supported in Start-MultipleDistributionListMigration (Issue #61)

I can migrate single a DL using Start-distributionListMigration just fine but I require using the overrideCentralizedMailTransportEnabled option due to our configuration. I've got 710 more DLs to migrate, but I can't use the Start-MultipleDistributionListMigration function since it's missing the required option. Any ideas on how I might move past this?

- Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Fissues%2F61&data=05%7C01%7Ctimmcmic%40microsoft.com%7Cdada8f77a66a4655d8e608da8ae69d33%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637975020339486803%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=HO%2FddfSFZPFgwVC4h6Hqv7PdM9T2vybC3Xj8w9zDTZE%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGTN6MIVK5OKI2YMI6TRLLV32QM5ANCNFSM6AAAAAAQA4PC44&data=05%7C01%7Ctimmcmic%40microsoft.com%7Cdada8f77a66a4655d8e608da8ae69d33%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637975020339486803%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=DVpUJFQGsX6SsBVllMvqjA1eKczDABUet%2BdL%2BLNfsN0%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

VCH-JH commented 2 years ago

I tested the new code and can't seem to get it to work. I even made sure to unload the existing module and re-imported the file you provided, no luck. I looked in the scripts and I can see where you've added the switch in what appears to be all the right locations, so it's probably just me.

Start-MultipleDistributionListMigration : A parameter cannot be found that matches parameter name 'overrideCentralizedMailTransportEnabled'.

VCH-JH commented 2 years ago

Any luck with the overrideCentralizedMailTransportEnabled switch in the start multiple command?

timmcmic commented 2 years ago

I had thought I replied - there is a branch which has it in there. You have to download the zip, extract it to a folder. Run Unblock-Files * in the folder then import-module dlConversionV2.psd1 -force to use that module rather then the installed on.

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: VCH-JH @.> Sent: Tuesday, September 6, 2022 2:53 PM To: timmcmic/DLConversionV2 @.> Cc: Tim McMichael @.>; Comment @.> Subject: Re: [timmcmic/DLConversionV2] overrideCentralizedMailTransportEnabled option not supported in Start-MultipleDistributionListMigration (Issue #61)

Any luck with the overrideCentralizedMailTransportEnabled switch in the start multiple command?

- Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Fissues%2F61%23issuecomment-1238531352&data=05%7C01%7Ctimmcmic%40microsoft.com%7Cfd6e67c5ee764fb4003508da90390d22%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637980871956885697%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=l01l4k4O89kP8TT366NM7FIeM2vqtt0GRPYnNcPRnrE%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGTN6JGZRWBDQETJ4CFOUDV46HJTANCNFSM6AAAAAAQA4PC44&data=05%7C01%7Ctimmcmic%40microsoft.com%7Cfd6e67c5ee764fb4003508da90390d22%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637980871956885697%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=WcbJ%2BfN%2FtPxurVZOyVxV6FKT51slzo%2FsoP%2F5nj1juEw%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>

VCH-JH commented 2 years ago

You did reply (thanks by the way) and I tried the branch, following your instructions, no luck. I'll try it again on a new machine to make sure I'm not doing something stupid.

timmcmic commented 2 years ago

Gotcha - maybe I missed it. Could you send logs. I added the switch to each of the multiple commands with a default of false and then called the invoke with the additional argument unless I missed something.

============================== 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: VCH-JH @.> Sent: Tuesday, September 6, 2022 2:58 PM To: timmcmic/DLConversionV2 @.> Cc: Tim McMichael @.>; Comment @.> Subject: Re: [timmcmic/DLConversionV2] overrideCentralizedMailTransportEnabled option not supported in Start-MultipleDistributionListMigration (Issue #61)

You did reply (thanks by the way) and I tried the branch, following your instructions, no luck. I'll try it again on a new machine to make sure I'm not doing something stupid.

- Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Fissues%2F61%23issuecomment-1238535293&data=05%7C01%7Ctimmcmic%40microsoft.com%7C3d3f4d0918864971109308da9039ae15%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637980874659141209%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=0jbW9eWZ1VzGAt5yms56kuM2xaSf0gOdFcLx1v%2FlgiY%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGTN6JFJS2LBGOOX2USO4LV46H2PANCNFSM6AAAAAAQA4PC44&data=05%7C01%7Ctimmcmic%40microsoft.com%7C3d3f4d0918864971109308da9039ae15%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637980874659141209%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=MvkR8t7c9qfCj4vQ2%2BnbMWVObEGKqlviS0WDlR8Li8M%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>

VCH-JH commented 2 years ago

I've validated I'm running the code you updated, it just doesn't seem to see that as a valid switch. In terms of logs there's nothing to look at beyond this:

Start-MultipleDistributionListMigration : A parameter cannot be found that matches parameter name 'overrideCentralizedMailTransportEnabled'. At line:1 char:455

I'm running this:

Start-MultipleDistributionListMigration -globalCatalogServer $gc -activeDirectoryCredential $cred -groupSMTPAddress $groups -AADConnectServer $aadc -aadConnectCredential $cred -logFolderPath $log -dnNoSyncOU $ou -exchangeOnlineCredential $cloudCred -exchangeServer $exserver -exchangeCredential $cred -enableHybridMailFlow:$TRUE -overrideCentralizedMailTransportEnabled:$TRUE

To validate I'm not looking at the version from the PS Gallery...

PS C:> Get-Module DLConversionV2 | fl

Name : DLConversionV2 Path : C:\DLConversionV2\DLConversionV2.psm1 Description : This module is use to facilitate DL migrations from on premsies to Office 365 ModuleType : Script Version : 2.5.27 NestedModules : {get-activeDirectoryDomainName, get-distinguishedname, test-outboundconnector, test-nonSyncDL...} ExportedFunctions : {enable-hybridMailFlowPostMigration, start-collectOffice365FullMailboxAccess, start-collectOffice365MailboxFolders, start-collectOnPremFullMailboxAccess...} ExportedCmdlets : ExportedVariables : ExportedAliases :

Inside the .ps1 for the start-multiple script I can clearly see where you added the override switch, I'm at a loss.

timmcmic commented 2 years ago

I just tested the downloaded module importing it - and I have the switch and it appears to be working. Let me run some quick tests and if it works I"ll go ahead and just publish a new build.

============================== 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: VCH-JH @.> Sent: Tuesday, September 6, 2022 3:32 PM To: timmcmic/DLConversionV2 @.> Cc: Tim McMichael @.>; Comment @.> Subject: Re: [timmcmic/DLConversionV2] overrideCentralizedMailTransportEnabled option not supported in Start-MultipleDistributionListMigration (Issue #61)

I've validated I'm running the code you updated, it just doesn't seem to see that as a valid switch. In terms of logs there's nothing to look at beyond this:

Start-MultipleDistributionListMigration : A parameter cannot be found that matches parameter name 'overrideCentralizedMailTransportEnabled'. At line:1 char:455

I'm running this:

Start-MultipleDistributionListMigration -globalCatalogServer $gc -activeDirectoryCredential $cred -groupSMTPAddress $groups -AADConnectServer $aadc -aadConnectCredential $cred -logFolderPath $log -dnNoSyncOU $ou -exchangeOnlineCredential $cloudCred -exchangeServer $exserver -exchangeCredential $cred -enableHybridMailFlow:$TRUE -overrideCentralizedMailTransportEnabled:$TRUE

To validate I'm not looking at the version from the PS Gallery...

PS C:> Get-Module DLConversionV2 | fl

Name : DLConversionV2 Path : C:\DLConversionV2\DLConversionV2.psm1 Description : This module is use to facilitate DL migrations from on premsies to Office 365 ModuleType : Script Version : 2.5.27 NestedModules : {get-activeDirectoryDomainName, get-distinguishedname, test-outboundconnector, test-nonSyncDL...} ExportedFunctions : {enable-hybridMailFlowPostMigration, start-collectOffice365FullMailboxAccess, start-collectOffice365MailboxFolders, start-collectOnPremFullMailboxAccess...} ExportedCmdlets : ExportedVariables : ExportedAliases :

Inside the .ps1 for the start-multiple script I can clearly see where you added the override switch, I'm at a loss.

- Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Fissues%2F61%23issuecomment-1238568363&data=05%7C01%7Ctimmcmic%40microsoft.com%7C19dca3940e604f6253a308da903e7538%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637980895174922625%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=hD0vZ0pOPWWgmLZhsjszRVIjLLzopfozmHYQwTpj0x8%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGTN6NK4FKGQSSVVQTTHELV46L2XANCNFSM6AAAAAAQA4PC44&data=05%7C01%7Ctimmcmic%40microsoft.com%7C19dca3940e604f6253a308da903e7538%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637980895174922625%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=OtapzHFUbUikMiYmLA4l25fTmBTfo8OlxTWAKz0JS1A%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>

timmcmic commented 2 years ago

Would you update to the latest version and confirm if you're finding success?

============================== 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: VCH-JH @.> Sent: Tuesday, September 6, 2022 3:32 PM To: timmcmic/DLConversionV2 @.> Cc: Tim McMichael @.>; Comment @.> Subject: Re: [timmcmic/DLConversionV2] overrideCentralizedMailTransportEnabled option not supported in Start-MultipleDistributionListMigration (Issue #61)

I've validated I'm running the code you updated, it just doesn't seem to see that as a valid switch. In terms of logs there's nothing to look at beyond this:

Start-MultipleDistributionListMigration : A parameter cannot be found that matches parameter name 'overrideCentralizedMailTransportEnabled'. At line:1 char:455

I'm running this:

Start-MultipleDistributionListMigration -globalCatalogServer $gc -activeDirectoryCredential $cred -groupSMTPAddress $groups -AADConnectServer $aadc -aadConnectCredential $cred -logFolderPath $log -dnNoSyncOU $ou -exchangeOnlineCredential $cloudCred -exchangeServer $exserver -exchangeCredential $cred -enableHybridMailFlow:$TRUE -overrideCentralizedMailTransportEnabled:$TRUE

To validate I'm not looking at the version from the PS Gallery...

PS C:> Get-Module DLConversionV2 | fl

Name : DLConversionV2 Path : C:\DLConversionV2\DLConversionV2.psm1 Description : This module is use to facilitate DL migrations from on premsies to Office 365 ModuleType : Script Version : 2.5.27 NestedModules : {get-activeDirectoryDomainName, get-distinguishedname, test-outboundconnector, test-nonSyncDL...} ExportedFunctions : {enable-hybridMailFlowPostMigration, start-collectOffice365FullMailboxAccess, start-collectOffice365MailboxFolders, start-collectOnPremFullMailboxAccess...} ExportedCmdlets : ExportedVariables : ExportedAliases :

Inside the .ps1 for the start-multiple script I can clearly see where you added the override switch, I'm at a loss.

- Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Fissues%2F61%23issuecomment-1238568363&data=05%7C01%7Ctimmcmic%40microsoft.com%7C19dca3940e604f6253a308da903e7538%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637980895174922625%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=hD0vZ0pOPWWgmLZhsjszRVIjLLzopfozmHYQwTpj0x8%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGTN6NK4FKGQSSVVQTTHELV46L2XANCNFSM6AAAAAAQA4PC44&data=05%7C01%7Ctimmcmic%40microsoft.com%7C19dca3940e604f6253a308da903e7538%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637980895174922625%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=OtapzHFUbUikMiYmLA4l25fTmBTfo8OlxTWAKz0JS1A%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>

timmcmic commented 2 years ago

Please try the updated module I released - I tested and it appears to work.

VCH-JH commented 2 years ago

Sorry for the late reply, it works perfectly. Thank you so much for making this change so quickly.

Regards,

Jason Haroldsen Senior Network Engineer, IT Infrastructure [vchlogo] 9300 Valley Children's Place | Madera, CA 93636 P: (559) 353-7359 | F: (559) 353-7360 | valleychildrens.org

From: timmcmic @.> Sent: Friday, September 9, 2022 6:54 AM To: timmcmic/DLConversionV2 @.> Cc: Jason Haroldsen @.>; Author @.> Subject: [EXTERNAL] Re: [timmcmic/DLConversionV2] overrideCentralizedMailTransportEnabled option not supported in Start-MultipleDistributionListMigration (Issue #61)

EXTERNAL Email: Do not open attachments or click on links unless you recognize the sender and know the content is safe.

Please try the updated module I released - I tested and it appears to work.

— Reply to this email directly, view it on GitHubhttps://github.com/timmcmic/DLConversionV2/issues/61#issuecomment-1242003953, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A22QAF2Y2XKET5CEXBGFZF3V5M6NVANCNFSM6AAAAAAQA4PC44. You are receiving this because you authored the thread.Message ID: @.**@.>>


This E-mail and any of its attachments may contain Valley Children's Healthcare proprietary information, which is privileged, confidential, or subject to copyright belonging to Valley Children's. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.

timmcmic commented 2 years ago

FANTASTIC!

============================== 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: VCH-JH @.> Sent: Friday, September 9, 2022 9:55 AM To: timmcmic/DLConversionV2 @.> Cc: Tim McMichael @.>; Comment @.> Subject: Re: [timmcmic/DLConversionV2] overrideCentralizedMailTransportEnabled option not supported in Start-MultipleDistributionListMigration (Issue #61)

Sorry for the late reply, it works perfectly. Thank you so much for making this change so quickly.

Regards,

Jason Haroldsen Senior Network Engineer, IT Infrastructure [vchlogo] 9300 Valley Children's Place | Madera, CA 93636 P: (559) 353-7359 | F: (559) 353-7360 | valleychildrens.org

From: timmcmic @.<mailto:@.>> Sent: Friday, September 9, 2022 6:54 AM To: timmcmic/DLConversionV2 @.<mailto:@.>> Cc: Jason Haroldsen @.<mailto:@.>>; Author @.<mailto:@.>> Subject: [EXTERNAL] Re: [timmcmic/DLConversionV2] overrideCentralizedMailTransportEnabled option not supported in Start-MultipleDistributionListMigration (Issue #61)

EXTERNAL Email: Do not open attachments or click on links unless you recognize the sender and know the content is safe.

Please try the updated module I released - I tested and it appears to work.

- Reply to this email directly, view it on GitHubhttps://github.com/timmcmic/DLConversionV2/issues/61#issuecomment-1242003953, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A22QAF2Y2XKET5CEXBGFZF3V5M6NVANCNFSM6AAAAAAQA4PC44. You are receiving this because you authored the thread.Message ID: @.**@.mailto:***@***.******@***.***>>


This E-mail and any of its attachments may contain Valley Children's Healthcare proprietary information, which is privileged, confidential, or subject to copyright belonging to Valley Children's. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.

- Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Fissues%2F61%23issuecomment-1242005848&data=05%7C01%7Ctimmcmic%40microsoft.com%7C12d75ec67efc49ff3a6f08da926ae445%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637983285042807794%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=M8lcQWUUk5%2F%2Ba4xH0vT1GHiHSm5snnoawuVXjevbW%2BM%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGTN6LH5QMMVE6OIUY3BJ3V5M6TLANCNFSM6AAAAAAQA4PC44&data=05%7C01%7Ctimmcmic%40microsoft.com%7C12d75ec67efc49ff3a6f08da926ae445%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637983285042807794%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7MEceLfAQPsWXz%2B753v7NFK8imJwCy880yF%2FnrH3ZTM%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>

timmcmic commented 2 years ago

Fixed in current build

timmcmic commented 1 year ago

Ok - give me a few minutes. I'm working out another issue and I'll get right back.

============================== 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: VCH-JH @.> Sent: Tuesday, September 6, 2022 3:32 PM To: timmcmic/DLConversionV2 @.> Cc: Tim McMichael @.>; Comment @.> Subject: Re: [timmcmic/DLConversionV2] overrideCentralizedMailTransportEnabled option not supported in Start-MultipleDistributionListMigration (Issue #61)

I've validated I'm running the code you updated, it just doesn't seem to see that as a valid switch. In terms of logs there's nothing to look at beyond this:

Start-MultipleDistributionListMigration : A parameter cannot be found that matches parameter name 'overrideCentralizedMailTransportEnabled'. At line:1 char:455

I'm running this:

Start-MultipleDistributionListMigration -globalCatalogServer $gc -activeDirectoryCredential $cred -groupSMTPAddress $groups -AADConnectServer $aadc -aadConnectCredential $cred -logFolderPath $log -dnNoSyncOU $ou -exchangeOnlineCredential $cloudCred -exchangeServer $exserver -exchangeCredential $cred -enableHybridMailFlow:$TRUE -overrideCentralizedMailTransportEnabled:$TRUE

To validate I'm not looking at the version from the PS Gallery...

PS C:> Get-Module DLConversionV2 | fl

Name : DLConversionV2 Path : C:\DLConversionV2\DLConversionV2.psm1 Description : This module is use to facilitate DL migrations from on premsies to Office 365 ModuleType : Script Version : 2.5.27 NestedModules : {get-activeDirectoryDomainName, get-distinguishedname, test-outboundconnector, test-nonSyncDL...} ExportedFunctions : {enable-hybridMailFlowPostMigration, start-collectOffice365FullMailboxAccess, start-collectOffice365MailboxFolders, start-collectOnPremFullMailboxAccess...} ExportedCmdlets : ExportedVariables : ExportedAliases :

Inside the .ps1 for the start-multiple script I can clearly see where you added the override switch, I'm at a loss.

- Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Fissues%2F61%23issuecomment-1238568363&data=05%7C01%7Ctimmcmic%40microsoft.com%7C19dca3940e604f6253a308da903e7538%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637980895174922625%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=hD0vZ0pOPWWgmLZhsjszRVIjLLzopfozmHYQwTpj0x8%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGTN6NK4FKGQSSVVQTTHELV46L2XANCNFSM6AAAAAAQA4PC44&data=05%7C01%7Ctimmcmic%40microsoft.com%7C19dca3940e604f6253a308da903e7538%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637980895174922625%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=OtapzHFUbUikMiYmLA4l25fTmBTfo8OlxTWAKz0JS1A%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>

timmcmic commented 1 year ago

Reach out to me at dlconversionv2 at service dot microsoft dot com and let's take a look at it.

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: VCH-JH @.> Sent: Wednesday, August 31, 2022 10:05 AM To: timmcmic/DLConversionV2 @.> Cc: Tim McMichael @.>; Comment @.> Subject: Re: [timmcmic/DLConversionV2] overrideCentralizedMailTransportEnabled option not supported in Start-MultipleDistributionListMigration (Issue #61)

I tested the new code and can't seem to get it to work. I even made sure to unload the existing module and re-imported the file you provided, no luck. I looked in the scripts and I can see where you've added the switch in what appears to be all the right locations, so it's probably just me.

- Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Fissues%2F61%23issuecomment-1232985245&data=05%7C01%7Ctimmcmic%40microsoft.com%7Ca35e6818645440d7203208da8b59d76b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637975515228204538%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=5US9uwDw0ePB5RnlRlEOlTRW5UrcD%2BBbPedglRp3Gd0%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGTN6OBLV7ZWA3S23CAP3DV35RCBANCNFSM6AAAAAAQA4PC44&data=05%7C01%7Ctimmcmic%40microsoft.com%7Ca35e6818645440d7203208da8b59d76b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637975515228204538%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=8WnDmtXIAhrDe0YROIrI8JXs53TdT5U%2FCZ4pnVYdbIA%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>