Hello there,
I have been struggling with this for months and I would really love some help.
I am trying to create a scheduled flow that gets members of a certain group, retrieves profile information for each user, then compares the UPN of each user to a SharePoint list. If the user exists, it would update the item in the list. If the user does not exist, it would add the user to the list.
I finally found this other post with a solution by @v-xida-msft here: https://powerusers.microsoft.com/t5/General-Flow-Discussion/Update-and-Create-SharePoint-Item/td-p/1...
I followed it to the letter and it does update existing items but, it is not adding items that do not already exist...
Please help!
Hi @memsim1010 ,
Could you please share a full screenshot of the configuration of your flow?
Please modify the Condition under the Filter Array as below and the flow could works:
The expression in the Condition as below:
length(body('Filter_array'))
Please let me know if your problem could be solved.
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.
That also results in a failure. The failure is on Create item and the error reads:
Action 'Create_item' failed.
"status": 400,
"message": "Cannot complete this action. \n\nPlease try again.
Here is my full configuration:
Hi @memsim1010 ,
Could you please share a screenshot of the Create item action when the action has run failed?
Please check from the Create item action to see why it has failed when run.
Could you please share the expression of CurrentMonth and Today field in the Create item action?
Also please delete the dynamic content in the CurrentMonth and Today field in the Create item action to see if the flow works.
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.
User | Count |
---|---|
91 | |
73 | |
44 | |
27 | |
26 |
User | Count |
---|---|
42 | |
28 | |
25 | |
24 | |
19 |