web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate to clea...
Power Automate
Unanswered

Power Automate to clear Forms Responses

(0) ShareShare
ReportReport
Posted on by 4

I am trying to create a Power Automate flow that will automatically clear all form responses at 0130 am every day. But I am having a few issues and dont know where I have gone wrong.

I did some searching online and found This Video which shows away to clear the responses. But when I have put this into my flow it errors with

 

"Unexpected response from the service clientRequestId: 73f7ddd5-a08f-4426-a7c5-8472948fd771"

 

I have included snips my flow below below.

Tomas1986_0-1684265600873.png
Tomas1986_1-1684265619638.png

Tomas1986_2-1684265662418.png

Tomas1986_3-1684265680669.png

 

 

 

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @Tomas1986 ,

    I think there could be two areas to look at.

    First, check the URI. If you change the Method to GET, do you get any responses back? If yes, then the URI is fine.

    Second, Check if the account of the flow connection is authorised to delete the responses.

     

  • Tomas1986 Profile Picture
    4 on at

    Outputs for Get Command

    "

    {
      "status"400,
      "message""Unexpected response from the service\r\nclientRequestId: 755232c6-45b5-4dc0-a55f-88cc66c15ddd",
      "error": {
        "message""Unexpected response from the service"
      },
      "source""sharepointonline-ase.azconn-ase-001.p.azurewebsites.net"
    }"
    Headers
    "{
      "Pragma""no-cache",
      "Cache-Control""no-store, no-cache",
      "Set-Cookie""ARRAffinity=5b946cda2cdeaacc2187b073c9b48d83f2e55862456e7f63f058f309a3b34fa2;Path=/;HttpOnly;Secure;Domain=sharepointonline-ase.azconn-ase-001.p.azurewebsites.net,ARRAffinitySameSite=5b946cda2cdeaacc2187b073c9b48d83f2e55862456e7f63f058f309a3b34fa2;Path=/;HttpOnly;SameSite=None;Secure;Domain=sharepointonline-ase.azconn-ase-001.p.azurewebsites.net",
      "x-ms-request-id""755232c6-45b5-4dc0-a55f-88cc66c15ddd",
      "Strict-Transport-Security""max-age=31536000; includeSubDomains",
      "X-Content-Type-Options""nosniff",
      "X-Frame-Options""DENY",
      "Timing-Allow-Origin""*",
      "x-ms-apihub-cached-response""true",
      "x-ms-apihub-obo""false",
      "Date""Wed, 17 May 2023 02:19:21 GMT",
      "Content-Length""279",
      "Content-Type""application/json",
      "Expires""-1"
    }"
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    What that means is that the Endpoint isn't correct.

     

    After going through the API details, I think you are missing /light/

    https://forms.office.com/formapi/api/[tenantId]/users/[userId]/light/forms('[formId]')/responses

     

  • Tomas1986 Profile Picture
    4 on at

    Sadly I tried this and still got the same issue. If i changed it from forms.office.com to forms.microsoft.com all sorts of other issues where shown.

    I think this might be a lost cause.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 298 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 150 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 147 Super User 2026 Season 2

Last 30 days Overall leaderboard