question

MauricioPV-0943 avatar image
0 Votes"
MauricioPV-0943 asked EchoDu-MSFT edited

SharePointMigrationTool - Powershell automation

Hello,

I'm trying to use SPMT powershell cmdlets, and I need to use parameter "-AzureActiveDirectoryLookup $false" but it is not found:

=================================
Register-SPMTMigration : A parameter cannot be found that matches parameter name 'AzureActiveDirectoryLookup'.
At line:1 char:61
+ ... OCredential $Global:SPOCredential -AzureActiveDirectoryLookup $false ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Register-SPMTMigration], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.SharePoint.MigrationTool.PowerShell.RegisterSPMTMigrati
on
=================================================

any help will be appreciated, thanks!
Mauricio.

office-sharepoint-onlinesharepoint-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

EchoDu-MSFT avatar image
0 Votes"
EchoDu-MSFT answered

Hi @MauricioPV-0943 ,

Nice to meet you again.

In my test, I can reproduce your problem.

102830-1.png

According to the Register-SPMTMigration cmdlet:

  • AzureActiveDirectoryLookup: By default, this is set to On. If no user mapping file is provided by the user, then Azure Active Directory is used as the default for user mapping.

We recommend that you directly use SPMT to turn off Azure Active Directory Lookup.

102750-2.png

For more information, please refer to the below links:

Thanks,
Echo Du
===============================
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.





1.png (95.8 KiB)
2.png (31.1 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MauricioPV-0943 avatar image
0 Votes"
MauricioPV-0943 answered EchoDu-MSFT edited

Hi Echo Du, nice to meet you too.

Sorry but I didn't understand your suggested...

thanks!
Mauricio.

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @MauricioPV-0943 ,

Thanks for your reply.

 Register-SPMTMigration -SPOCredential $Global:SPOCredential  -AzureActiveDirectoryLookup $false

This code indicates that register the SPMT session with SPO credentials and turn off the AzureActiveDirectoryLookup setting.

I could reproduce this issue. However, I am unable to find a workaround for it. I am a bit regretful that I was not able to help you much on this. We suggest you open a ticket from Microsoft for further help.

Thanks,
Echo Du

1 Vote 1 ·

Thanks EchoDu, I did that.

0 Votes 0 ·

Hi @MauricioPV-0943 ,

If you have any updates about your issue, you can share your update here.

Have a nice day!😀

Thanks,
Echo Du

0 Votes 0 ·