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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error response: { "err...
Power Automate
Unanswered

Error response: { "error": { "code": "707", "message": "UnauthorizedAccess to CDB. Inner Message: {\"error\":{\"code\":\"OperationForbidden\",\"message\":\"Unauthorized Access\",\"innerError\":{\"code\":\"UnauthorizedAccess\"}}}", "@ms.form.error.type": "ExpectedFailure" } }'.

(1) ShareShare
ReportReport
Posted on by 4

Hi, 

I am trying to build a flow where members of our organisation can self-update their details should they change. What I want is the following: 

  • They fill out a microsoft form with their details, 
  • The flow finds the record in our member list (sharepoint list) with the same email address as the form response 
  • The flow over-writes the previous data in that record with the form responses 

I have not even been able to get past here: 

daria_energy_1-1708910420007.png

 

I am the owner of the form and of the flow. I am the only owner of either the form or the flow. 

 

Yet, the form does not appear in the drop-down list. The form I am trying to link is called "CDA Member Information Update Form"

daria_energy_0-1708910334162.png

I then try to link the form by manually providing the form ID. The first step appears to accept the form ID, but the second step then returns the following: 

daria_energy_2-1708910529421.png

What the hell!?!? This shouldn't be this hard! I am not even up to the hard part of this flow!

When I try to save the flow I get this error message up the top :

daria_energy_3-1708910651987.png

I am the one and only owner of every object involved in this flow and of the flow it's self - what on earth could I not be authorized to access? Why is this action "forbidden"? 

Please help

Cheers

 

Categories:
I have the same question (0)
  • v-yetonggu-msft Profile Picture
    on at

    Hi @daria_energy ,

    1)Please try to switch classic designer, and re-created flow:

    vyetonggumsft_0-1708911398637.png

    2)Make sure your form ID is correct.

    vyetonggumsft_3-1708911741143.png

    3)Avoid unnecessary loops nested outside the ‘get response details’ control.

    I did a test for your reference.

    In my scenario:

    vyetonggumsft_1-1708911571221.png

    vyetonggumsft_4-1708911783366.png

    Best Regards,

    Sunshine Gu

     

  • v-yetonggu-msft Profile Picture
    on at

    Hi @daria_energy ,

    I think this link could help you:

    Solved: Error saving flow - Power Platform Community (microsoft.com)

    Best Regards,

    Sunshine Gu

  • daria_energy Profile Picture
    4 on at

    Hi Sunshine, 

     

    The issue is not primarily that the flow won't save, that is just a byproduct of the core problem. The core problem is that the form will not link to the flow, and therefore cannot recover the dynamic content- even though I own both of them.

    The error that it is giving me would suggest that it's a permissions problem (unauthorized access to CDB) - but that can't be it because I am the owner of the form and of the flow. 

    As for "unnecessary loops", power automate forces you to put a loop around the action because the action "get response details" technically retrieves a list of responses to the form, and the flow must then iterate over every response. The loop appears automatically when you set the field "response ID" to "list of responses"; the action "get response details" almost always requires a loop to work. 

    daria_energy_0-1708914696486.png

     



    I have read the thread that you linked, unfortunately it is describing different problems to the ones that I am encountering. Switching to the old designer does not solve the problem, the same error message appears. 


    Kind Regards
    Lil

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard