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
Answered

"Get items" not available for expressions in Logic app

(1) ShareShare
ReportReport
Posted on by 10

I am creating a Logic app which reads from a Sharepoint list and places certain results in a CSV file in an Azure storage account.  Here are the first few steps:

froghunter_0-1651615217278.png

 

  1. Check the Sharepoint list for changes.  If a change is detected, then...
  2. Read the list
  3. From the list items, map values in the list to fields in what will become the CSV:
    froghunter_1-1651615321714.png

     

So far, so good.  But I don't want to bring over complete fields necessarily.  For example, there is a "Created By" field whose output in the CSV is in the form:

 

"{""@odata.type"":""#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser""|""Claims"":""i:0#.f|membership|john.smith@example.com""|""DisplayName"":""John Smith""|""Email"":""john.smith@example.com""|""Picture"":""<URL to picture>""|""Department"":""US Contracts Solutions""|""JobTitle"":""Sr Consultant""}"

 

 

I'd like to extract just the email address from "DisplayName" from that, but I'm running into lots of problems.  Let me start with the first one, and follow up as needed (since resolving that may solve everything or simply change the nature of following problems).  It seems like I'd want to use the SPLIT expression as a starting point to extract the email address.  I'm ok with figuring out the formulas, but when I select the SPLIT expression and then try to add "Created By" as an argument, it isn't available in the "Get Items" .  To be clear:

  • When I just want to add "Created By" as unaltered dynamic content, without an expression, it is available:froghunter_2-1651615921958.png
  • But when I want to use it as an argument to an expression, it isn't available under "Get Items":
    froghunter_4-1651616033553.png

    It is available in the "When an item is created or modified" section of the mapping popup.  I can just write out the expression in the code view, but it is invariably broken, or is discarded automatically by Logic apps, or the expression appears in the output as plain text.

So how do I access that particular piece of dynamic content?  More generally, how do I extract just one part of 'Created By'?

I have the same question (0)
  • Verified answer
    abm abm Profile Picture
    32,596 Most Valuable Professional on at
    Re: "Get items" not available for expressions in Logic app

    Hi @froghunter 

     

    Under your select try the following

     

    For full name

    item()?['Author']['DisplayName']
     
    For email
    item()?['Author']['Email']
    Thanks
  • froghunter Profile Picture
    10 on at
    Re: "Get items" not available for expressions in Logic app

    Thank you for the reply.  I had not tried that.  When I did, the formula showed up in the output as text.

     

    fwiw, you'd be correct thinking that I'm very new to this 🙂

  • froghunter Profile Picture
    10 on at
    Re: "Get items" not available for expressions in Logic app

    Whoops, I see that I had an error.  When I fixed it the output worked properly!  Thank you.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 659 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 386 Moderator

#3
chiaraalina Profile Picture

chiaraalina 290

Last 30 days Overall leaderboard