Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Create Custom Task List Item on SP2016 over DMG

I am trying to build a Flow that creates a task list item in SP2016 when a new email arrives in a shared mailbox. Here is the field schema for the custom task content type:


The only required field is Task Name.


I cloned the whole Task list to SPO (using ShareGate) for testing. The Create Item action works perfectly on the SPO list, but it does not work on the original SP2016 list, run over the DMG.


The error I'm seeing is:

"status": 400,
"message": "A value must be provided for item.\r\nclientRequestId: fdeae27f-c1f8-4e06-b44f-7348f685e540",
"source": ""
What's strange to me, is that the Create File action seems to require a different configuration when used on the SP2016 list versus the same exact list in SPO.
For example, many of the Choice fields will not accept a simple value in the SP2016 action. Flow insists that I pass JSON object into those fields:
I'm fine with that - I'm comfortable with JSON. The problem is, as soon as I try to pass JSON objects into those fields, I get the error mentioned at the top of this post (A value must be provided for item) and the Flow action fails.
I have tried passing values like:
"Value": "Admin"
as well as: 
"Id": 0,
"Value": "Admin"
I don't understand why it's not working. I have looked at the output for the Create Item (to SPO) and the output for Create Item (to SP2016 over DMG) and they are identical (minus the connectors and a few misc fields).
I've examined the JSON source for the Flow itself, and that looks fine, too. The only difference between the two Create Item actions are the connections.
The only way I can get the Create Item action to work over the DMG to SharePoint 2016 is to strip out all non-required values, passing a value only for the Task Name - not super helpful.
I have tried deleting and recreating the Create Item action. I have tried recreating the entire Flow. It's the same error each time.
Community Support Team
Community Support Team

Re: Create Custom Task List Item on SP2016 over DMG

Hi @jake ,


I have tested on my side. If you are configuring the choice field, you can directly select the corresponding option, or directly click Enter custom value to manually enter the corresponding choice value.



Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Level: Powered On

Re: Create Custom Task List Item on SP2016 over DMG

Thank you for responding.


Unfortunately, that only works for me if I Create Item on the test list in SPO. If I try to do it with the actual list in SP2016, Flow wants me to input JSON, and won't let me save.




Helpful resources


Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020


Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Microsoft Learn

Learn how to build the business apps that you need


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 173 members 4,701 guests
Please welcome our newest community members: