error while executing the viva connections script for teams and SP

sns 9,236 Reputation points
2021-09-23T17:38:17.34+00:00

![134704-cvb.png][1]

I am trying to execute the script which will geneate teams package app which makes to integragte sharepoint with team as per the below attached link,
However I am seeing the error related to connect-sposervice,, it is connected properly with connect-pnponline but failing at SPOservice. PFA screenshot called pv. Please help on this issue

Viva Connections
Viva Connections
A Microsoft Viva module that provides a gateway to a modern engagement experience.
101 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,946 questions
0 comments No comments
{count} votes

Accepted answer
  1. Emily Du-MSFT 48,176 Reputation points Microsoft Vendor
    2021-09-24T03:00:01.663+00:00

    @sns

    You should not modify the code in the Viva Connections for desktop PowerShell script package.

    You just need to download the Viva Connections for desktop PowerShell script package from here, then run the PowerShell script package in the SharePoint Online Management Shell as administrator.

    A good reference for you:

    https://learn.microsoft.com/en-us/sharepoint/viva-connections


    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 additional answers

Sort by: Most helpful

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.