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 / Issue while adding att...
Power Automate
Unanswered

Issue while adding attendees to a planner through a flow with calendar

(0) ShareShare
ReportReport
Posted on by

Hi Everyone,

 

 

I have an issue while trying to add attendees to a planner task using a flow with calendar.

 

The flow is activated when a meeting is created on calendar of office 365, the action is create a planner task (in a previous bucket already created), then after all attendees accept the meeting, I receive this message on flow notifications: "Schema validation has failed. Validation for field 'Assignments', on entity 'Task' has failed: The assignee id is invalid.". I think that the issue is because of the way Flow try to add the attendees to Planner, by adding them as a normal "email string" (user1@domain.com;user2@domain.com; ), and Planner doesn’t recognize this format, ¿I am wrong?, or ¿I'm missing something?

 

The output of the failure message show this:

 

Status code: 400

 

Body:

{
  "error": {
    "code""",
    "message""Schema validation has failed. Validation for field 'Assignments', on entity 'Task' has failed: The assignee id is invalid.",
    "innerError": {
      "request-id""f3c53084-3262-4e8a-9c19-2a7bf6e0a3a0",
      "date""2018-03-12T09:52:45"
    }
  }
}

 

 

Thanks in advance,

Categories:
I have the same question (0)
  • manuelstgomes Profile Picture
    6,625 on at

    Hi @Mario27

    I just stumbled on your request. You've been waiting a while for a reply.

    Were you able to solve it? Can you post the solution so that we can all learn from it?

    If you still need help, please let me know what changed.

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    ​
    Cheers
    Manuel

  • Community Power Platform Member Profile Picture
    on at

    Hey @manuelstgomes,

     

    I am having the issue as well, my flow is pretty simple. It is basically when a new file is created in our documents, a new task is added to the planner.

     

     
     

     

    {
    "error": {
    "code": "",
    "message": "Schema validation has failed. Validation for field 'Assignments', on entity 'Task' has failed: The assignee id is invalid.",
    "innerError": {
    "request-id": "b237eaa5-94de-449c-83ea-39b330efe60a",
    "date": "2020-01-28T13:56:06"
    }
    }
    }

     

     

     

     

     

    2020_01_28_09_03_35_.png

     

  • Community Power Platform Member Profile Picture
    on at

    It would not let me add the picture of the flow to my reply so here it is

    2020-01-28 09_08_05-Edit your flow _ Power Automate.png

  • manuelstgomes Profile Picture
    6,625 on at

    Hi @Anonymous and @Mario27 

     

    Instead of the "Display Name" use the "Email" field. That's the user's ID and that's why it's complaining that the "Assignee id" is not valid.

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    ​
    Cheers
    Manuel 

     

  • Community Power Platform Member Profile Picture
    on at

    Hey @manuelstgomes ,

     

    That worked, Thanks a lot!!

     

    I was wondering if there is a way to trigger this flow only when a document set is created

     

    Thanks, Jay

  • manuelstgomes Profile Picture
    6,625 on at

    Hi @Anonymous  and @Mario27 

     

    Glad it works. 🙂

     

    Regarding @Anonymous the Document Set isn't part of the metadata, sorry :(.

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    ​
    Cheers
    Manuel

  • manuelstgomes Profile Picture
    6,625 on at

    @Mario27  please don't forget to mark is as "Accept as Solution" so that people can find it faster in case they have the same issue.

     

    Cheers

    Manuel

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard