Issue when trying to edit sharepoint list using logic app

Djordje Novakovic 626 Reputation points
2023-06-14T15:28:37.85+00:00

Hello,

I am trying to configure some workflow in logic app to interact with sharepoint.

However, I have some strange behavior.

Here I am testing simple action of getting items from sharepoint list.
API connection is established to sharepoint:

lapp1

And after that I am able to get sharepoint list items successfully.

Then I want to delete all those items using for each loop. I choose "value" from the previous step to be input in my foreach:

lapp2

Then I add Delete item action and choose ID value as unique identifier of item to be deleted:

lapp3

However, when I pick ID value it creates one more for each loop automatically, I don't know why:

lapp4

If I want to save it, it is not possible because it always shows that API connection name must be provided:

"Workflow validation failed for the workflow ''. {"error":{"code":"BadRequest","message":"The API connection name must be provided in the 'Delete_item' action inputs."}}"

lapp5

When I click Code View tab I see connection is visible:

lapp6

Tried re-creating logic app several times but that didn't help. Did I miss something here?

Thank you

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Sonny Gillissen 3,996 Reputation points Volunteer Moderator
    2023-06-15T08:55:40.1633333+00:00

    Hi Djordje Novakovic

    Thanks for reaching out on Microsoft Q&A!

    I see you're building a Logic App Standard using the Preview Designer. I suggest you file this as a bug, so the Microsoft team can work on this bug (it cleary is as I tried it at my end and it works).
    Next, click the 'Generally Available Designer' button to revert back to the Designer that should work. Please try it over there.

    Please click 'Accept answer' if you find this helpful.
    Feel free to drop additional queries in the comments below!

    Kind regards,

    Sonny

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.