0 votes

We are seeing the error:

Exception calling "CreateMoveMailboxToO365Request" with "4" argument(s): "Parameter set cannot be resolved using the specified named parameters." Stack trace: at ScriptBlock, No file: line 1

We are using the PowerShell script below where we have replaced mail.mycompany.com with our on-prem Exchange server and mycompany.mail.onmicrosoft.com with our O365 domain. We've verified the Client Access role is configured and the Mailbox Replication Service Proxy (MRSProxy) service is running on the on-prem server:

$Context.TargetObject.CreateMoveMailboxToO365Request("mail.mycompany.com", "mycompany.mail.onmicrosoft.com", 0, 0)

What are we missing?

by (120 points)
reshown by
0

Hello,

For troubleshooting purposes, please, enable tracing of requests sent to Exchange servers, reproduce the issue and send us (support[at]adaxes.com) the log file. For information on how to enable the tracing, have a look at the following help article: https://www.adaxes.com/help/?HowDoI.PerformExchangeTasks.TraceExchangeRequests.html.

Also, please, send us the exact script (with all your modifications) being executed.

Please log in or register to answer this question.

Related questions

0 votes
2 answers

I've had a couple custom commands configured since 6/2023 and they've been working just fine up until recently (sometime within the past few weeks or so). Here's a general ... something obvious here. But I can't make sense of why this is suddenly an issue.

asked Mar 20 by msinger (110 points)
0 votes
1 answer

Hi all, We currently have a bunch of dial plans that we assign to new users via Adaxes. We updated Adaxes to the latest version, and moved it to a new server before ... value - perhaps this value has been removed/broken in new versions of adaxes? Cheers all.

asked Jan 22 by TheLexicon (200 points)
0 votes
0 answers

Ever since upgrading to 3.16.21906.0 the script here no longer works: https://www.adaxes.com/script-repository/move-mailbox-tofrom-microsoft-365-s579.htm Not sure what the issue is as I can't find any errors in the log.

asked Nov 16, 2023 by curtisa (210 points)
0 votes
1 answer

Hi I'm trying to add your report from here but whenever I run it, I get 2 errors for each user which seem to correspond to the following 2 lines in the ... "user" $Context.DirectorySearcher.AddCriteria($criteria) But I still get the same error's. Thanks Matt

asked Oct 16, 2023 by chappers77 (2.0k points)
0 votes
1 answer

Hi All, I'm trying to use the powershell script provided here: https://www.adaxes.com/script-repository/move-mailbox-tofrom-microsoft-365-s579.htm Unfortuntately when executing ... credentials but I do not know why this error is happening. Thanks in advance

asked Aug 1, 2023 by curtisa (210 points)
3,351 questions
3,052 answers
7,791 comments
545,079 users