Forum Discussion
Iriy777
Jul 11, 2023Brass Contributor
New-MigrationBatch strange behavior of parameters
I encounter a strange issue when trying to use New-MigrationBatch command with -StartAfter parameter. It does not auto fill it when typing 'st' + TAB and gives "Parameter cannot be found" if I write ...
- Jul 11, 2023I found the "problem"...
For some mysterious reasons, this parameter does not work if a user running it has a mailbox...
I don't know why MS configured it like this and why they haven't mentioned it on learn.microsoft.com
Iriy777
Jul 11, 2023Brass Contributor
[PS] C:\Temp>Get-ManagementRoleAssignment -Role 'Migration' | ft Role, RoleAssigneeName
Role RoleAssigneeName
---- ----------------
Migration Organization Management
Migration Recipient Management
Migration Organization Management
Migration Account Management
Migration Admin-Test
Second command shows that I am the member of Organization Management
I am running it directly from Exchange server, though I tried a few times from my laptop through pssession to different servers
Role RoleAssigneeName
---- ----------------
Migration Organization Management
Migration Recipient Management
Migration Organization Management
Migration Account Management
Migration Admin-Test
Second command shows that I am the member of Organization Management
I am running it directly from Exchange server, though I tried a few times from my laptop through pssession to different servers
Iriy777
Jul 11, 2023Brass Contributor
I found the "problem"...
For some mysterious reasons, this parameter does not work if a user running it has a mailbox...
I don't know why MS configured it like this and why they haven't mentioned it on learn.microsoft.com
For some mysterious reasons, this parameter does not work if a user running it has a mailbox...
I don't know why MS configured it like this and why they haven't mentioned it on learn.microsoft.com