web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Get Email Addresses from SharePoint Person Column

(0) ShareShare
ReportReport
Posted on by 2
Hi all,
 
I would like to send regular emails to contact persons from my Sharepoint list. I have used a person column in the list for this purpose.
If I now select this column in the PA, e.g. with create HTML table, a loop is created every time.
When testing the flow, an error message is displayed:
 
The execution of template action 'For_each_2' failed: the result of the evaluation of 'foreach' expression '@item()?['AP']' is of type 'Null'. The result must be a valid array.
 
has anyone had this problem and can help me ?:) 
I have the same question (0)
  • David_MA Profile Picture
    12,908 Super User 2025 Season 2 on at
    Sharepoint Person Column
    Please include a screen shot of your flow and show the configuration of the action that is generating the error. The error is saying that the field AP in your list contains no data, which is why it failed. If that is your people field, you should make it required so it always contains data.
  • tom_riha Profile Picture
    10,185 Most Valuable Professional on at
    Sharepoint Person Column
    Hello,
     
    since it's adding 'Apply to each' I'd expect that you're using the multiple person or group column. If that's the case and you want to show a specific property from all the users in that column you'll need an expression as explained in this article.
  • Suggested answer
    JD-12110719-0 Profile Picture
    2 on at
    Get Email Addresses from SharePoint Person Column
    Hey David,
    I have attached the pictures for you
    This is only a test database, there is no more data there, I have put all columns with data.
    Now I want to write a flow that regularly writes to the “AP” by email to these “creditors”. 
     
     

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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 532 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 461 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 256

Last 30 days Overall leaderboard