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 / Canvas App in D365 (Mo...
Power Automate
Unanswered

Canvas App in D365 (ModelDrivenFormIntegration) => Flow => FormsPro: BAD REQUEST FOR OTHER THAN ME!

(0) ShareShare
ReportReport
Posted on by 21

I have made a Canvas App that is integrated in Dynamics 365.

The app is doing som magic in D365 and then send a list of recipent to Flow that distribute a FormsPro Survey. 

It works flawless for me, but for other user I get 400 BAD REQUEST.

 

I am a bit confused of how Flow and FormsPro works regaring user context.

 

In Flow (FormsPro connector) I can only list surveys that are created by me and as far as I now this is exactly how FormsPro works, you can only send your own surveys (but your can share for collaborating with others with results etc).

 

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

    Hi @KjoniX ,

     

    Could you please share a screenshot of your flow?

    As you mentioned, you can only list surveys that are created by yourself.

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • kjoniXen Profile Picture
    21 on at

    flow.PNG

     

    And I get the list of recipents with this i PowerApp: 

    ForAll(SelectedItems, (Sendtestsurvey.Run('E-post', Fornavn, Etternavn))); 
  • kjoniXen Profile Picture
    21 on at

     

    Before using my embedded app, users get this even though I don't have FormsPro connection in the PowerApp. I guess this is because the connection to the flow (which use FormsPro connection). Flow will then try to send the survey in context of logged in user who does not have permission to send my survey (and as far as I know it is not possible to give other users this permission). 

     

    signinprompt.PNG

  • kjoniXen Profile Picture
    21 on at

    After having a chat with Megan Walker on her fantastic blog (https://meganvwalker.com/send-forms-pro-survey-on-case-closure/), she suggested to see if it was the D365 connector that was causing problems. 

     

    Therefore I created a simple powerapp with just one button that fire my flow.

     

    powerapp.PNG

     

    Same issue: It work for me, but my collegues who I share the powerapp with get 400 bad request.

     

    {"ErrorMessage":"System.Exception: Form name is null\r\n at Microsoft.Forms.Pro.ApiFacade.RequestHandlers.SendEmailsForFlowRequestHandler.<ParseRequestData>d__11.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Forms.Pro.ApiFacade.RequestHandlers.SendEmailsForFlowRequestHandler.<DoValidate>d__10.MoveNext()"}

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 283

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard