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 / Retrieve of From and T...
Power Automate
Answered

Retrieve of From and TO from mail is not working

(0) ShareShare
ReportReport
Posted on by 39

Hi,

In mail activity When we go for Retrieve mail function CurrentItem.From and CurrentItem.To both are not working for gmail as well as outlook please do suggest how to resolve this  

  • Verified answer
    PetrosF-MSFT Profile Picture
    Microsoft Employee on at

    Hi @soumiya 

     

    This is a known issue and we are working towards a fix.

     

    In the meantime, feel free to use the notation %CurrentItem["From"]% or %CurrentItem["To"]%.

     

    I hope the above helps!

     

  • AmerJaroudi Profile Picture
    4 on at

    Hello this also not working wiht outlook as it shows as below :

     

    "/O=EXCHANGELABS/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIPIENTS/CN=644B45DEA7CB41D59A64CA7355D652EF-RPA"

  • AmerJaroudi Profile Picture
    4 on at

    Same for me and hope someone to tell us how it will fixed 

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I believe that CN number is a good ID for the distribution group.  I occasionally have the issue where the CN# gets cut off, so I am not able to use this, but if your CN# is always fully available, then you can say:

    If %RetrievedEmails[0].['TO']% contains 'CN=644B45DEA7CB41D59A64CA7355D652EF-RPA'

        'Do something

    End(If)

     

    Good luck!

  • mikewh Profile Picture
    2 on at

    How is it possible to validate to and from email addresses within PAD if the values being returned are not in industry standard formats?
    e.g. userrname@domainname
    I'm getting following sender email in process: /O=EXCHANGELABS/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIPIENTS/CN=433DD5F5DA894A42AE02E018352D5872-BOT

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 432

#2
11manish Profile Picture

11manish 313 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 154

Last 30 days Overall leaderboard