SharePointMigrationTool - Powershell automation

Mauricio Poggio Veiro 301 Reputation points
2021-06-04T14:22:21.463+00:00

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.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,798 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,030 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Echo Du_MSFT 17,176 Reputation points
    2021-06-07T05:41:08.587+00:00

    Hi @Mauricio Poggio Veiro ,

    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.

    0 comments No comments

  2. Mauricio Poggio Veiro 301 Reputation points
    2021-06-07T12:21:06.517+00:00

    Hi Echo Du, nice to meet you too.

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

    thanks!
    Mauricio.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.