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 / Create SharePoint Item...
Power Automate
Unanswered

Create SharePoint Item greyed out along with Apply to Each

(0) ShareShare
ReportReport
Posted on by 27

What am I missing? Why does it do a foreach for creating an item and then it doesn't find an ID when getting individual items.

 

 

FailSafe_0-1618611877152.png

 

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Does the value for either ‘Initialize variable’ action include dynamic content from the Get items action that precedes it?

     

    Also, what value do you have in the ‘From’ field in the ‘Apply to each’ actions? Are you using dynamic content from the ‘Get Items’ action or from the ‘Initialize variable’ action?

     

    I can better assist if I know the answers to these questions. However, in either case, the reason that the create item is greyed out is because the inputs returned a null value, so there was no data to create a new item with. 

  • FailSafe Profile Picture
    27 on at

    I've done this in another list with an OnPress from mobile where it was successful but the Apply to Each is ruining it even though it's successful.

     

    FailSafe_0-1618613320204.png

     

  • fchopo Profile Picture
    8,003 Moderator on at

    Hello @FailSafe 

    Could you explain in further detail which is the problem? You're getting some items from a SP list, and you're creating an item (don't know whether is the same SP list or not), that surely is using a value coming from the previous step, and that's the reason why it's adding an apply-to-each.

     

    I would replace the "Get Items" by a "Get Item".

    Hope it helps!

    Ferran

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 286

#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