timmcmic / DLConversionV2

MIT License
44 stars 9 forks source link

Start-MultipleDistributionListMigration fails with error Get-ConnectionContext #62

Closed NeilGordonCT closed 2 years ago

NeilGordonCT commented 2 years ago

I can run Start-distributionListMigration without error however Start-MultipleDistributionListMigration fails

\Documents\WindowsPowerShel l\Modules\ExchangeOnlineManagement\2.0.6\netFramework\ExchangeOnlineManagement.ps m1:531 char:38

command I'm running

Start-MultipleDistributionListMigration -globalCatalogServer $gc -activeDirectoryCredential $cred -groupSMTPAddress $groupSMTP -logFolderPath $pathlog -dnNoSyncOU $NoSyncOU -exchangeOnlineCredential $cred

The command are both for Start-distributionListMigration and Start-MultipleDistributionListMigration

timmcmic commented 2 years ago

Please submit logs to dlconversionv2 @ 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: NeilGordonCT @.> Sent: Tuesday, September 6, 2022 2:15 PM To: timmcmic/DLConversionV2 @.> Cc: Subscribed @.***> Subject: [timmcmic/DLConversionV2] Start-MultipleDistributionListMigration fails with error Get-ConnectionContext (Issue #62)

I can run Start-distributionListMigration without error however Start-MultipleDistributionListMigration fails

\Documents\WindowsPowerShel l\Modules\ExchangeOnlineManagement\2.0.6\netFramework\ExchangeOnlineManagement.ps m1:531 char:38

command I'm running

Start-MultipleDistributionListMigration -globalCatalogServer $gc -activeDirectoryCredential $cred -groupSMTPAddress $groupSMTP -logFolderPath $pathlog -dnNoSyncOU $NoSyncOU -exchangeOnlineCredential $cred

The command are both for Start-distributionListMigration and Start-MultipleDistributionListMigration

- Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Fissues%2F62&data=05%7C01%7Ctimmcmic%40microsoft.com%7Cf96cd60aec8b4270370708da9033b833%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637980849052474973%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=dNicl06KbmRYMXmC9dBumNJ%2FiSHSzRtiNqVayBKNZK4%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGTN6JFOHZKANM3CHAKZHLV46C2NANCNFSM6AAAAAAQGCGNHY&data=05%7C01%7Ctimmcmic%40microsoft.com%7Cf96cd60aec8b4270370708da9033b833%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637980849052474973%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=6VSdZWVj%2BWDh%2FWlJMvB78Bdpoa0OE36xMvu%2ByuZlns4%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

timmcmic commented 2 years ago

Account was utilizing MFA - unfortunately due to non-interactive logon nature of the script the account cannot have MFA.

Secure the account with conditional access locations and bypass MFA consider using cert auth / enterprise app.

timmcmic commented 1 year ago

Also version 2.0.6 of the exchange powershell module is not yet supported - the preview version does not have the commandlets necessary for full migrations to work.

============================== 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: NeilGordonCT @.> Sent: Tuesday, September 6, 2022 2:15 PM To: timmcmic/DLConversionV2 @.> Cc: Subscribed @.***> Subject: [timmcmic/DLConversionV2] Start-MultipleDistributionListMigration fails with error Get-ConnectionContext (Issue #62)

I can run Start-distributionListMigration without error however Start-MultipleDistributionListMigration fails

\Documents\WindowsPowerShel l\Modules\ExchangeOnlineManagement\2.0.6\netFramework\ExchangeOnlineManagement.ps m1:531 char:38

command I'm running

Start-MultipleDistributionListMigration -globalCatalogServer $gc -activeDirectoryCredential $cred -groupSMTPAddress $groupSMTP -logFolderPath $pathlog -dnNoSyncOU $NoSyncOU -exchangeOnlineCredential $cred

The command are both for Start-distributionListMigration and Start-MultipleDistributionListMigration

- Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Fissues%2F62&data=05%7C01%7Ctimmcmic%40microsoft.com%7Cf96cd60aec8b4270370708da9033b833%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637980849052474973%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=dNicl06KbmRYMXmC9dBumNJ%2FiSHSzRtiNqVayBKNZK4%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGTN6JFOHZKANM3CHAKZHLV46C2NANCNFSM6AAAAAAQGCGNHY&data=05%7C01%7Ctimmcmic%40microsoft.com%7Cf96cd60aec8b4270370708da9033b833%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637980849052474973%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=6VSdZWVj%2BWDh%2FWlJMvB78Bdpoa0OE36xMvu%2ByuZlns4%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>