While working on the detailed article about Step-by-Step Migration of Files from File Share to SharePoint Online , I got the error when running New-SPOMigrationPackage command which was connecting to SPO.
Error : “Fatal Exception found: The server could not be contacted. – The LDAP server is unavailable.”
Solution : Needed to add -NoAdLookup as a parameter of New-SPOMigrationPackage command to avoid getting this added.
So my command that worked was,
New-SPOMigrationPackage -SourceFilesPath \\IshaPC\SharePointFileShare -OutputPackagePath C:\SPO_Package -IncludeFileSharePermissions -TargetWebUrl “https://learningwayinstitute.sharepoint.com” -TargetDocumentLibraryPath “Documents” -NoAdLookup
New-SPOMigrationPackage -SourceFilesPath \\IshaPC\SharePointFileShare -OutputPackagePath C:\SPO_Package -IncludeFileSharePermissions -TargetWebUrl “https://learningwayinstitute.sharepoint.com” -TargetDocumentLibraryPath “Documents” -NoAdLookup
using -NoAdLookup was the key.
0 comments:
Post a Comment