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 Platform Community / Forums / Power Automate / Get email of page author
Power Automate
Unanswered

Get email of page author

(0) ShareShare
ReportReport
Posted on by 27

I'm using Get files (proprieties only) to get the information of all pages in my Sharepoint. The idea is to email the author if page has not been modified in a while. However, I'm not able to ever get the author's email.

 

I have a loop for all pages in "Site Pages" and i'm trying to set author's email as @{items('for_each_page')?['Author/Email']}, but it returns NULL.

 

When I try a new loop using "Current Item" and then setting the variable as @{item()?['Email']} (Author Byline Email) it fails saying: The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@items('for_each_page')' is of type 'Object'. The result must be a valid array.

 

Long story short: I want the email of whoever create a certain page. 

Categories:
I have the same question (0)
  • Verified answer
    tom_riha Profile Picture
    10,185 Most Valuable Professional on at
    Re: Get email of page author

    Hello @nonielb ,

    the expression you use is correct:

    @{items('Apply_to_each')?['Author/Email']}

    but there might a be a problem if the page was created by an account that doesn't exist anymore - I think that they won't return anything.

  • Pstork1 Profile Picture
    68,678 Most Valuable Professional on at
    Re: Get email of page author

    Double check your sitepages library. A lot of the pages will be authored by the System Account.  It doesn't have an emial.

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

Forum hierarchy changes are complete!

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 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard