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 / Copilot Studio / Recover a Contacts use...
Copilot Studio
Answered

Recover a Contacts username using PVA

(0) ShareShare
ReportReport
Posted on by 71

I am new to PVA, so for my first test I am trying to create a PVA that will allow a user from a Power App Portal to recover their username.

 

The issue I am facing is howto fetch the contact record, I am have twi methods, Get Record and List Record. Each method I found not to be suitable, the Get Record requires a GUID and for the List record, the output cannot be placed in the PVA response because the output is a result from a forEach Loop.

 

Here are some pics of what I am seeing. Maybe, hopefully someone could shed some light on how I could resolve this.

 

Where I am stuckWhere I am stuckEnd of the PVA where a Flow is calledEnd of the PVA where a Flow is calledStart of the PVAStart of the PVA

 

When using the List Record Option, I opted to use Fecth EML to find the record, I am able to find the record but PVA does not allow me to post back the result of the List Record.

PVA 4.PNG

Categories:
I have the same question (0)
  • Verified answer
    CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Hi @logixcrm ,

     

    Welcome to the PVA community! 🙂

     

    Regarding your question, you can create action at the beginning of your workflow (Power Automate) with the type called "Initialize variable".

    The name of your variable you can write "Contact" and the type will be String.

     

    After you use the action called "List records" with a CDS connector, you can create an action called "Set variable".

    Select your variable Contact and inside the Value, insert which property inside Contact entity do you want to get (like e-mail, name, or something like that) using the Dynamic content window that opens when you click inside the field on Power Automate.

     

    Now, inside your Response action to PVA, you can send your Variable because it's a string/text type.

     

  • Verified answer
    Logix365 Profile Picture
    14 on at

    Thank you very much. It worked.

     

    For anyone who is trying to reach CRM fields, in the same manner, I have attached the final solution.

     

    PVA 5.PNG

    PVA 6.PNG

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Congratulations, good job! 🙂

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 256

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 208 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 198

Last 30 days Overall leaderboard