Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

PowerApp not submitting data to Dynamics

I've set up a PowerApp linked to Dynamics, it's surfacing the fields ok but when I enter data for the mandatory fields and try to submit, I can't find the record anywhere in Dynamics.  Sometimes PowerApps says it may not save the data, other times it appears to submit, the form clears but there is no record created Dynamics.


The PowerApp was set up with the default submit button (on the tick), I'm wonder if this needs to be a different type of submit to get the data to input into Dynamics.


Here's a screenshot of the fields - I've connected to the Accounts and Contacts tables to show the Apprentice and Host Company values to select, which is fine (although has hit the 500 limit, but that's for another post) but just can't get the record to create in Dynamics.


Any ideas?


As a test, I created a PowerApp to create a new contact with just first name and last name, and this submitted to Dynamics with the default PowerApps submit button, so I'm connecting to Dynamics ok, just can't create another type of record - the H&S Site Observation record in this case.


Screen Shot 2018-08-20 at 12.24.27 PM.jpg


Community Support
Community Support

Hi @LeonieWilliams,


Could you please share a bit more about the H&S Site Observation that you mentioned? Is it a custom entity within your Dynamics 365?

Further, could you please show more details about the error message within your app?


I have made a test on my side and don't have the issue that you mentioned.


Please check if you have typed proper value for these mandatory fields. Please also make sure that you have defined a proper data type for these mandatory fields within your Dynamics 365 entity.


In addition, you could also consider take a try to use Patch function instead of SubmitForm function to save data into your Dynamics 365 entity (H&S Site Observation entity).


Please check and see if the following blog would help in your scenario:


More details about the Patch function in PowerApps, please check the following article:

Patch function



Best regards,



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

Thanks for the post, I've tried the patch function and it's still not creating a record.  I've tried the lookup screen but it just gets too complicated, and I shouldn't need to look up the contact or account, I can do that from the dropdowns in the edit screen, so not sure why I would add another screen to do that...


The form is a custom entity. I have connected to the H&S Site Observations table and added the data cards direct from the table.  Here's a screenshot of that:

Screen Shot 2018-08-27 at 12.05.45 PM.jpg


Here's what I've tried now - I want to create a new H&S Site Observation form each time, so have used the Defaults function and I want everything filled out in the EditForm1 to be on that record.  What else am I missing?


Screen Shot 2018-08-27 at 12.02.31 PM.jpg

use Patch function 

Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,200)