May 12 2022 09:48 AM
We are migrating a large number of legacy SharePoint internal sites to Teams / SP Online using the Microsoft SharePoint Migration Tool. Manually, the tool works with some quirks. However, we have over 200 sites with 2,000 subsites - and we intend to migrate the subsites as separate Teams. I am attempting to automate as much of this as possible using a script that analyses the legacy SP site, and creates a PowerShell script to create the new-team, and an input file to feed the migration specifics into the Migration Tool. The problem is that the PowerShell new-team command creates a new Team as expected, and it also creates the SP Online site with the correct URL. Both have the correct owner, but when selecting "Open in SharePoint" from Teams, the owner is redirected to the request access page. The Owner can manually enter the well known URL of the SP Online site and has the expected permissions. Is this a but in the PS new-team command? The Team is created and appears almost immediately, but even after 2 hours, the Team and SP site are not correctly linked.
May 12 2022 09:53 AM
May 12 2022 10:16 AM
May 13 2022 04:57 AM