It would be great to have an action that when triggered deletes a response or possibly all responses. Due to GDPR having data saved both in Forms and in SharePoint (if the form data is copied into SharePoint) is not ideal and there is currently no way to automate the deletion of the responses from within Flow. I know all of the responses within a form can be deleted from within the Forms action menu so having something similiar as an action within Flow would be great.
The "Base Resource URL" and "Microsoft Entra ID Resource URI" are for creating the connection, not in the action itself. If you are not prompted to create a new connection immediately when you add the action to your flow, be sure to manually create a new connection within the action specifically for https://forms.office.com
This action only has a single parameter for the URL instead of splitting it into the separate Site Address and the Uri that the SharePoint HTTP action has. So the URL simply ends up being the full...
https://forms.office.com/formapi/api/<TenantId>/users/<UserId>/forms('<FormId>')/responses(<Response Id>)
all in the "Url Of The Request" parameter.
or simply
https://forms.office.com/formapi/api/<TenantId>/users/<UserId>/forms('<FormId>')/responses
if you want to delete all responses.
WarrenBelz
146,751
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional