Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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,

  • manuelstgomes Profile Picture
    6,625 on at
    Re: Issue while adding attendees to a planner through a flow with calendar

    @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

  • manuelstgomes Profile Picture
    6,625 on at
    Re: Issue while adding attendees to a planner through a flow with calendar

    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

  • Community Power Platform Member Profile Picture
    on at
    Re: Issue while adding attendees to a planner through a flow with calendar

    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
    Re: Issue while adding attendees to a planner through a flow with calendar

    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
    Re: Issue while adding attendees to a planner through a flow with calendar

    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

  • Community Power Platform Member Profile Picture
    on at
    Re: Issue while adding attendees to a planner through a flow with calendar

    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

     

  • manuelstgomes Profile Picture
    6,625 on at
    Re: Issue while adding attendees to a planner through a flow with calendar

    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

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow