Hi All,
I've suddenly been receieving this error message when attempting to create a Flow with a Planner connection. I've made multiple Flows with the Planner coonection before and have had no issues.
However, now when I try to add the Action 'List Tasks', I'm prompted with this message: "Could not retrieve values. Insufficient privileges to complete the operation." when attempting to assign the Group Id.
On all my other Flows, the Planner connection shows a green tick, and I can run them successfully.
Not sure if this is relevant but to get around this, I attempted to copy a similar action from a different flow to my clipboard and paste it in the new Flow. I was able to then fill out the flow action and subsequent steps, but the flow failed and I received this error log message:
'Unable to process template language expressions in action 'List_tasks' inputs at line '1' and column '2060': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_planner']['connectionId']' cannot be evaluated because property 'shared_planner' doesn't exist, available properties are 'shared_sharepointonline'. Please see https://aka.ms/logicexpressions for usage details.'. '
Any assistance will eb much appreciated!
Thanks Yash, you're a champ!
That did the trick and makes perfect sense in hindsight.
Hi @cfebvre
The reason I asked if the flow is triggered from powerapps is, the error that you have shared occurs when you have added an action to the flow after adding the flow to the powerapps control. What you have to do now is, go to the powerapp and from the control, copy te expression that you are using to trigger the flow and then remove the flow from there and re-register it. Now you should be able to run the flow just fine.
Note that whnever you add an action to flow after adding it to a powerapps control, you have to remove it from there and re-register it for it work properly.
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!
Hi Yash,
Thanks for the quick response.
I tried logging out and back in as suggested but no luck there.
I can confirm that I have access to the Group/Team/ and plan in question - I created all the teams, flows and sites in our environment. I have just double checked that nothing odd happened, and was able to directly access the plan.
The flow is indeed triggered from a PowerApp. I've attached screenshots of the relevant parts of the flow. I only use the 'Ask in PowerApps' function once in the flow.
This exact flow configution has worked in the past, and this flow actually did succeed one time (when I copied and pasted the 'List Tasks' action from the clipboard) - but I gather that was a fluke.
Hope this is enough info!
Cheers,
Start of the flow.
Where I try to access planner.
Hi @cfebvre
Can you please share a screenshot of your flow? (Are you triggering it from powerapps)?
Can you confirm that you have access to the plan/ group that you are trying to access from the flow.
This could be a caching issue as well. Can you log off the current session and close the browser window, start a fresh session and check if yuou continue to face the same issues?
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!