How to "Enable Multiple Responses" using Graph API/REST API/PnP Powershell

Shreesha HD 0 Reputation points
2025-03-12T05:28:48.1633333+00:00

Need to "Enable Multiple Responses" in surveys using Graph API/REST API/PnP Powershell, not able to find any solution in Graph API/REST API. With PnP Powershell I was able to find some commands but I am getting InvalidOperation error

  1. Install the PnP PowerShell module (if you haven’t already): Install-Module -Name SharePointPnPPowerShellOnline -Force
  2. Connect to your SharePoint site: Connect-PnPOnline -Url "https://yourtenant.sharepoint.com/sites/yoursite" -Credentials (Get-Credential)
  3. Enable the “Allow Multiple Responses” setting: $surveyList = Get-PnPList -Identity "YourSurveyListName" $surveyList.EnableMultipleResponses = $true $surveyList.Update() Invoke-PnPQuery
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,417 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yanli Jiang - MSFT 30,551 Reputation points Microsoft External Staff
    2025-03-12T09:31:49.3366667+00:00

    Hi @Shreesha HD ,

    Welcome to Q&A forum!

    Based on my research and testing, the best way at the moment is to configure it through the SharePoint Web interface. The specific steps are as follows:

    Navigate to your Survey >> Click on “Setting” >> Survey Settings >> Click on “List name, description and navigation” >> Set “Allow multiple responses” to “Yes”.

    Reference: How to create a survey in SharePoint Online?

    Note: Non-official, just for reference.

    As for what you said about using Graph API/REST API/PnP PowerShell, it is not feasible at the moment. Microsoft Graph API and SharePoint REST API currently do not have direct endpoints to modify the "Allow multiple responses" setting of the survey. These APIs mainly focus on CRUD operations of list items and documents. PnP PowerShell and SharePoint Online PowerShell currently do not include the EnableMultipleResponses property parameter. Therefore, you received this error. In summary, the current feasible method is to configure it through the SharePoint Web interface.

    Thank you for your understanding. Sorry again.

    Please do let us know if you have any further queries.

    Kindly consider accepting the answer if the information provided is helpful. This can assist other community members in resolving similar issues.


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.