cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Posting Message "Modified by" in Teams when SharePoint File is modified

Hello,

I created a simple Flow where it posts message (<Filename> has been modified) in MS Teams's specific channle when file is modified in SharePoint. How can I add name of the user who modified that specific file in the message?

 

Flow.PNG

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Dual Super User II
Dual Super User II

@Kalabpc 

 

Under dynamic content, the Modified By field for the updated item should provide you the modified by details

Capture.PNG

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

@Kalabpc 

 

Ok, a bit of a long route to get it

We need to get the ID of your item first to get the modified by name

 

Use get file metadata using path (and use the file path dynamic content )

Capture.PNG

 

Next use get file properties and use the ItemId dynamic content obtained from previous action

 

Capture.PNG

 

This will give you the modified by name

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

4 REPLIES 4
Dual Super User II
Dual Super User II

@Kalabpc 

 

Under dynamic content, the Modified By field for the updated item should provide you the modified by details

Capture.PNG

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

@RezaDorrani  Hmm I dont see those Modified by Options. Here is the screenshot of my Flow. May be I am doing it wrong.

 

Flow.PNG

@RezaDorrani  disregard my last email I figured it out. Thank you so much!!

@Kalabpc 

 

Ok, a bit of a long route to get it

We need to get the ID of your item first to get the modified by name

 

Use get file metadata using path (and use the file path dynamic content )

Capture.PNG

 

Next use get file properties and use the ItemId dynamic content obtained from previous action

 

Capture.PNG

 

This will give you the modified by name

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (39,689)