Default Home Site command not working

David Badu 5 Reputation points
2023-06-12T14:25:21.94+00:00

I am attempting to configure my Viva Connections home site away from the new Viva Connections home experience to a selected SharePoint communication site.

I have tried using the following command - Set-SPOHomeSite -HomeSiteUrl "SP site URL" -VivaConnectionsDefaultStart $true

I tried running this on a couple of tenant environments however I am experiencing the same error with the latest SharePoint Online Management Shell.

User's image

Any help here would be much appreciated, thanks.

Any help here would be much appreciated, thanks.

Viva Connections
Viva Connections
A Microsoft Viva module that provides a gateway to a modern engagement experience.
87 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Amir Q 5 Reputation points
    2023-10-04T01:58:55.6166667+00:00

    Hi David,

    I had the same issue today, I installed the latest version of SharePoint Online Management Shell but was still getting the same error.

    I tried so many ways but finally, I decided to open Windows PowerShell ISE as an admin and install the SharePoint Module there:

    Install-Module -Name Microsoft.Online.SharePoint.PowerShell -Force

    After that, It started working.

    Give it a try and hopefully, it works for you too.

    Regards,

    Amir

    1 person found this answer helpful.

  2. Emily Du-MSFT 41,941 Reputation points Microsoft Vendor
    2023-06-15T09:40:11.8166667+00:00

    Please try below PowerShell to set the home site as the provided site collection URL and keeps the Viva Connections landing experience to the SharePoint home site.

    Set-SPOHomeSite -HomeSiteUrl "https://tenant.sharepoint.com/sites/testsite" -VivaConnectionsDefaultStart:$true
    

    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.