cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tracy3688
Helper I
Helper I

How to auto update person/group sharepoint column when new file added

I want a power automate workflow to trigger when a new file added to doc library, it will auto update and fill in person/group field name (HCM name).

I have problem not idea how to add the person name into this field. say I want to update the HR1 name claim to be : username1@microsoft.com; username2@microsoft.com;. how to do it? 

 

tracy3688_0-1605684621842.png

 

 

tracy3688_1-1605684718871.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

Not clear about your question. If you have email address, use to in Resolve Person and use claims property from there...

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

View solution in original post

4 REPLIES 4
v-bacao-msft
Community Support
Community Support

 

Hi @tracy3688 ,

 

This person field does not allow multiple selections, so you can only fill in one email address.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
PrasadAthalye
Community Champion
Community Champion

Hi @tracy3688 

 

Use Resolve Person to get Person object using email address. Then Use Claims property from this object like below...

 

Like and Mark this as answer if it resolves your issue.

 

PrasadAthalye_0-1605751113890.png

 

 

 

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community
tracy3688
Helper I
Helper I

What if I would like to set the variable to the object Claim property person. ? 

I would like to define person name : ADB to update in claim property. 

Not clear about your question. If you have email address, use to in Resolve Person and use claims property from there...

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (3,036)