PS New-PnPTeamsTeam with "All Company" Sharepoint Site Not Working

HughO 0 Reputation points
2023-09-01T01:00:04.06+00:00

I have a client who has been using the OneDrive / Documents portion of the default "All Company" SharePoint site for years.

The one at https://{tenantid}.sharepoint.com/sites/allcompany.

They have 75k+ files with permission, years of history, etc.

They want now want to use the same group as a Team.

So, I went to convert via the GUI and don't see the option. I then went to run the PowerShell that everyone has:

$AdminSiteURL = "https://{tenantid}-admin.sharepoint.com"
$SiteURL = "https://{tenantid}.sharepoint.com/sites/allcompany"
Connect-PnPOnline -Url $AdminSiteURL -Interactive
$Site = Get-PnPTenantSite -Identity $SiteURL
New-PnPTeamsTeam -GroupId $Site.GroupId.Guid -Verbose

This runs with no errors, but also does not seem to do anything.

Question is: Is it possible to convert the default "All Company" SharePoint site into a Team??

Microsoft 365 and Office | SharePoint | For business | Windows
Windows for business | Windows Server | User experience | PowerShell
Microsoft Teams | Microsoft Teams for business | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-09-01T07:51:04.88+00:00

    HI @HughO,

    Do you want to add Microsoft Teams to SharePoint Online Site?

    Here is a link for your reference:

    https://www.sharepointdiary.com/2020/02/convert-sharepoint-online-site-to-teams.html#:~:text=Navigate%20to%20the%20home%20page,%27ll%20get%20a%20%E2%80%9CSuccess!


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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.

    Best Regards

    Cheng Feng


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.