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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Update Planner Task De...
Power Automate
Unanswered

Update Planner Task Details Error- Complex values must only contain property annotations for existing properties.

(1) ShareShare
ReportReport
Posted on by

Hello, 

 

Hoping someone has an answer to this issue I'm facing.  I have a Flow that had previously worked, where for a certain channel in our Teams group, when a new message was posted it would create a Planner Task, and then add a link on the task back to the original post in Teams. 

 

I had turned it off in the past (when it was working), and recently needed to turn it back on.  But now I'm running into an error when trying to add the link to the Teams post on the Planner Task.  I'm getting this error. 

 

The request is invalid:
One or more property annotations for property 'https%3A//teams%2Emicrosoft%2Ecom/l/message/19%3A207e13974178417cadae58e931983e9d' were found in the complex value without the property to annotate. Complex values must only contain property annotations for existing properties.

 

I've seen other posts with this same issue related to SharePoint file links https://powerusers.microsoft.com/t5/General-Power-Automate/On-new-SharePoint-items-create-Planner-task-and-assign-to/td-p/35787https://powerusers.microsoft.com/t5/Using-Flows/Complex-values-must-only-contain-property-annotations-for/td-p/402300), but can't figure out how to provide these solutions to links to Teams Posts. 

 

If I manually add a link to a Teams post in Planner, then using flow grab the link, it's formatted the same way that I'm trying it, so I'm not sure where the problem is.  Does anyone have any suggestions on how I could resolve this?  Here is how I'm constructing the link. 

 

Flow Error Planner Task Details Add Teams Link 01.pngFlow Error Planner Task Details Add Teams Link 02.png

 
Categories:
I have the same question (0)
  • Henry Profile Picture
    31 on at

    I have the same use case and the same issue. 

  • Henry Profile Picture
    31 on at

    I think I am going to work around with a short URL until a better solution comes up. Use Bit.ly short url action to create a short URL of your users' links: https://ms.flow.microsoft.com/en-us/blog/bitly-integration/.

  • Community Power Platform Member Profile Picture
    on at

    Well, I've made some progress.  I found if I encoded the URL, then I stopped getting the error. 

    Flow Error Planner Task Details Add Teams Link 03 - URL Encoding.png

     

     

     

     

    But now I can't figure out how to get the link to correctly open the conversation in teams.  Using this setup when I click on the resulting link I get an error stating the conversation has been deleted. 

  • Henry Profile Picture
    31 on at

    @Anonymous  I got it working by using Bit.ly like this:

    bitly.PNG

    This is what it looks like in Planner:

    planner.PNG

    The link will open chat history with the person specified in the flow. 

  • Community Power Platform Member Profile Picture
    on at

    Is that Teams link to a specific conversation in a channel?  It appears to be linking to a person's chat. 

  • buck_e1 Profile Picture
    4 on at

    I actually have the exact same use case and problem.

     

    I can have the link entered in the description, but it will not let me put the URL in an "attachment". Very frustrating.. I am guessing that it can't accept ":" or "@" symbols. I reduced the length of the URL to only the characters left of the "?" thinking that it might be a length issue, but I still received the same error.

  • Community Power Platform Member Profile Picture
    on at

    Same here, it seems that the @ character triggers some parsing attempt.

    I was able to make it work by only remplacing the @ character with %40 from the TEAM_CHANNEL_ID

     

    https://teams.microsoft.com/l/message/TEAM_CHANNEL_ID/MESSAGE_ID?tenantId=TENANT_ID

     

    In my case, TEAM_CHANNEL_ID was:

     

    replace(variables('teamChannel'), '@', '%40')

     


    @Anonymous I know it has been a while, but I think that you setted your ID at the wrong place... See the url template above.

    EDIT:

    To escape the '@' you could also use

     

    encodeURIComponent(variables('teamChannel'))

     

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard