web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Issues with Power Auto...
Power Automate
Answered

Issues with Power Automate pulling data from Planner

(1) ShareShare
ReportReport
Posted on by 14

Hi everyone,

 

I'm writing this post because I created a Power Automate flow to extract data from Microsoft Planner and put it in an Excel spreadsheet.

 

My issue is related to the Task IDs generated by Planner and collected by my flow.

 

I have several planners, each has several tasks. Three of my planners work perfectly, my Power Automate flow is capable of extracting all the data I need, but I have some issues with three other planners.

 

When Power Automate collects the Task IDs associated to each task I have, they look like this: GkRA3kT9ZjzYAoE4chvJKrGuvz_

 

But I don't know why, sometimes, I get the error #NAME?  in Excel instead for the task ID pasted by my flow.

 

I checked the formula bar in Excel and realized that the flow adds "=-" before the task ID which results in this error message.

 

Do you know why this happens? It happens for some task IDs but not all of them. Any idea?

 

Thank you very much for your help

Categories:
I have the same question (0)
  • trice602 Profile Picture
    15,890 Super User 2026 Season 1 on at

    Hi @geo97 ,

     

    As you know the "=", "+", and "-" in Excel represents the start of a formula and the root cause is when the task ID is randomly generated, it looks like sometimes it starts with a math operator which creates issues.  One easy route is to add a compose and simply concat() your taskID with a value.  In this example, I added an "A_" to all my tasks to prevent this from happening, shown below.

     

    trice602_0-1695664995256.png

     

    concat('A_',items('Apply_to_each')?['id'])
     
    trice602_1-1695665073194.png

     

     

  • Verified answer
    wskinnermctc Profile Picture
    6,519 Moderator on at

    You could start the taskId with a single ' quote. 

     

    When there is a leading single ' quote excel will treat everything as text and not attempt to create a formula.

  • geo97 Profile Picture
    14 on at

    I completely forgot about that.

     

    Here is the part of my flow that I use to pull data from Planner.

    geo97_0-1695669769213.png

     

    How can I make sure that it adds a ' quote when pasting the task id to excel? Should I write it in the "Expression" part? Something like ='?

  • wskinnermctc Profile Picture
    6,519 Moderator on at

    I would try just putting the single ' quote in front of the dynamic content and see if it will accept it like that.

     

    If that doesn't work, then you will have to concatenate the single quote with the dynamic content in an expression. But since the single quote has to be used in the expression it will have to be double escaped. 

     

    It will be something like:

    concat('''',{dynamic content})

     

  • geo97 Profile Picture
    14 on at

    It seems to be working :), no more error message

     

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard