I have created a flow that makes a new Task in Planner everytime I drop a file in a specific folder (and adds a due date to the Task). I would like to then add the file as an attachment (or link) to the Task in Planner. I have followed some other posts and created a sharing link for the file, but when the flow runs it always fails at the point when I try to add the link
Any suggestions what I am doing wrong
Thanks in advance
Mmmmm... did you play with 'References type' possible values?
Hope this helps
Proud to be a Flownaut!
Hi @efialttes
Thanks for the response - I have tried changing 'References type' to .pdf (which is what i'm trying to attach) but it gives the same error. I am presuming it is to do with the sharing link I am creating, but when I click on that in the output code ('resourceLink') it takes me to the file I want to link to. Feels like i'm missing something obvious
Below is my complete flow - Folder location is a Teams folder but with a sharepoint behind it
Just reading the Planner graph API doc, according to the following link...
https://docs.microsoft.com/en-us/graph/api/resources/plannerexternalreferences?view=graph-rest-1.0
"Properties
Properties of an Open Type can be defined by the client. In this case, the client must provide valid URLs based on the HTTP/HTTPS protocols as properties and their values must be the externalReference objects. Based on OData, property names in Open Types cannot contain the following characters: .
, :
, %
, @
, #
so they need to be encoded. Example is shown below. To remove a reference, set the value of the property to null
."
I would try to convert dot characters on your URL into %2E
Not in my laptop, unable to test
Proud to be a Flownaut!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
12 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
19 | |
18 | |
17 | |
10 | |
7 |