Forum Discussion
Script execution problem for migration of exchange 2016 public folders to office365
- Nov 26, 2022
Raphael_Veauvy I was hoping to go through this https://learn.microsoft.com/en-us/exchange/collaboration/public-folders/migrate-to-exchange-online?view=exchserver-2019%20 yesterday and move our Exchange 2013 on-premises Public Folders to Exchange Online. Unfortunately I came across the same issue which is item 1 under Step 3: Generate the .csv files. I did successfully run the script back in June this year but never did finish this migration.
The article mentions:
To run the migration scripts in this article, you must use an account that has basic authentication enabled. Accounts that use multi-factor authentication (MFA) are currently not supported.
Here is a link but it pertains to Exchange Online and we're running the script against our on-premises server but I'm wondering if it will impact any of the other scripts?
Thanks
* Update - I ran Powershell as an admin on my Exchange 2013 server, ran this command Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn and was able to run the script without error. I was using Exchange Powershell and it wasn't working.
I faced this issue too and found this possible reason, see:
https://techcommunity.microsoft.com/t5/exchange-team-blog/released-november-2022-exchange-server-security-updates/bc-p/3674199/highlight/true#M34827
Regards
I tested the script on 2 versions of exchange:
(get-item $env:ExchangeInstallPath\bin\setup.exe).versioninfo.fileversion
- 15.01.2375.031
- 15.01.2375.037
on version 15.01.2375.037, I get the error.