cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kalabpc
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
RezaDorrani
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
Dual Super User II
Dual Super User II

@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
RezaDorrani
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!!

RezaDorrani
Dual Super User II
Dual Super User II

@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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (59,231)