cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MrNigel
Level 8

How to package Planner 'Get Attachments' content into a zip file

We have a Flow that creates a Planner task where the assigned people research and attach files using the 'Add attachments' button. When finished the task is marked 'Complete' and a Flow kicks into complete the process.  This all works fine, but I cannot see any Flow action to 'Get attachments' from the Planner task so I could zip them and attach to an email to send to an external user.

 

The ideal scenario would be to allow the external user (not connected with our tenant, not an Office 365 user and no details other than their email id) access to the Planner task directly, but we have been unable to find a way to allow them access just via their email id.  Emailing a zip of the attachments is Plan B, but it seems the only way unless someone out there can show me a way to allow a guest user access to Planner.  There is no Azure AD action to 'Create Guest user'.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User
Dual Super User

Re: How to package Planner 'Get Attachments' content into a zip file

Hi @MrNigel 

 

Currently the Planner REST API does not have support for attachments to tasks and Flow does not support retrieving those attachments from the task as a direct action to the Planner Connector. 

References for Planner API: https://docs.microsoft.com/en-us/graph/api/resources/planner-overview?view=graph-rest-1.0

Supported Planner Actions in Flow: https://docs.microsoft.com/en-us/connectors/planner/#gettaskdetails_v2

 

The attachments added on the Planner are stored in SharePoint online. So let's say if you have a planner Plan named Hello then you can find the files here: https://yourorganizationname.sharepoint.com/sites/Hello/Shared%20Documents/Forms/AllItems.aspx

 

To get this reviewed and included as a functionality, you can create an idea or upvote similar ones here: https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Accessing a Planner task requires the user to be in the same tenant too and so it cannot be accessed for guest users. You can probably try creating sharepoint items for planner tasks and adding the attachments on those items and then send those to the gues user as an alternative. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

3 REPLIES 3
Highlighted
Dual Super User
Dual Super User

Re: How to package Planner 'Get Attachments' content into a zip file

Hi @MrNigel 

 

Currently the Planner REST API does not have support for attachments to tasks and Flow does not support retrieving those attachments from the task as a direct action to the Planner Connector. 

References for Planner API: https://docs.microsoft.com/en-us/graph/api/resources/planner-overview?view=graph-rest-1.0

Supported Planner Actions in Flow: https://docs.microsoft.com/en-us/connectors/planner/#gettaskdetails_v2

 

The attachments added on the Planner are stored in SharePoint online. So let's say if you have a planner Plan named Hello then you can find the files here: https://yourorganizationname.sharepoint.com/sites/Hello/Shared%20Documents/Forms/AllItems.aspx

 

To get this reviewed and included as a functionality, you can create an idea or upvote similar ones here: https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Accessing a Planner task requires the user to be in the same tenant too and so it cannot be accessed for guest users. You can probably try creating sharepoint items for planner tasks and adding the attachments on those items and then send those to the gues user as an alternative. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

MrNigel
Level 8

Re: How to package Planner 'Get Attachments' content into a zip file

Hey @yashag2255 ,

 

Tks for all the info, maybe this feature will appear in the next batch of updates...?  But your final paragraph has the workaround 🙂 

 

You suggest "You can probably try creating sharepoint items for planner tasks and adding the attachments on those items and then send those to the gues user as an alternative."  Given that the Planner task is created from a row in a SharePoint list I am definitely going to try out your suggestion as I already add the direct link to the list record on the Task form, so it will be easy to get the user to press the button then attach a file.

 

Many thanks,

 

Nigel

Dual Super User
Dual Super User

Re: How to package Planner 'Get Attachments' content into a zip file

Hey @MrNigel 

 

Yep! New features and actions are being added and developed in Flow and the user voice is quite responsive on the forum. I am sure there will be new additions as new releases roll out. 

 

Meanwhile as your datasource for the task items is SharePoint, you can directly add the attachments there itself. 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. 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 (Last 30 Days)
Users online (6,195)