cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

SharePoint Connector - Get files (properties only) - Dynamic Content - Shared With option Issue

Hi All,

 

My basic requirement is: When a document is added, we should get the file is 'Shared With' who all users. Share this metadata to Mbaas API, the mobile team will use this information to show Push notification on Mobile App created by them.

 

I am trying to use MS Flow for this requirement. 

 

Step 1: When a file is created (properties only) 

 

I get the output with all file properties like ID, Name, Title etc.

 

Step 2: HTTP 

 

I can call the API provided by Mbaas team. Now here I need to send parameters to the body :

 

{"channel":"SharedWithUser1, SharedWithUser2","payload":{"docName":"ABC.docx","docID":"1234","source":"SP"},"userId":"everyone"}

 

Here, for ShareWithUser1, I am trying to get value using "Dynamic Content" however, unable to get this property.

For Document Name, Document Link I am able to retrieve from file properties.

 

Please suggest what is the way to get Shared With Users using MS Flow.

 

Thankyou in advance.

 

 

 

 

2 REPLIES 2
Community Support Team
Community Support Team

Re: SharePoint Connector - Get files (properties only) - Dynamic Content - Shared With option Issue

Hi @Anonymous,

 

Could you please share a screenshot of your flow's configuration?

Which dynamic content do you want to get from the trigger for SharedWithUser1?

Do you want to get Shared With value from the result that the "When a file is created (properties only)" trigger returned?

 

I afraid that obtaining Shared With dynamic content from the "When a file is created (properties only)" trigger is not supported in Microsoft Flow currently, the result that the "When a file is created (properties only)" trigger returned doesn't contain the Shared With property.

 

If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best regards,

Kris

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Re: SharePoint Connector - Get files (properties only) - Dynamic Content - Shared With option Issue

Issue.PNG

 

Hi Kris,

 

Thanks for your response.

 

Please see above screenshot. Basically I need 'Shared With' property of a file, when it is newly added in a document library.

 

I want the 'Shared With' for getting user names, who has permission on that newly added file. Can this be acheived using MS Flow? Please let me know if any other Action is used for getting this property.

 

I have a friend from different organization, who is able to see 'Shared With' in Dynamic Content tab for SharePoint Action - Get files (properties only). However, I am not able to see that option. So is that related to any settings in MS Flow or Office365 Admin Center? Not sure about admin settings if any. 

 

Thanks!

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 179 members 6,257 guests
Please welcome our newest community members: