ReshDev
ReshDev

Reputation: 83

Creating 'Appointment' entity in Dynamics 365 indirectly that would create meeting in Teams

I am trying to create an Appointment entity record through Power Automate Flow based on Dataverse Add new Record trigger on our custom entity.

We have mailboxes set to Server Side Synchronization.

Emails go out fine When I create an appointment, it shows up in outlook/teams calendar but even though I set: IsOnlineMeeting = 1 MeetingType = Teams Meeting

It does not generate 'Online Meeting'. There is no JOIN option. Meeting shows up like offline meeting.

If I try creating an Appointment from Dynamics UI and set 'Team Meeting' toggle to yes then it generates Online meeting with JOIN option.

I compared attributes for both records and only difference I see is, flow generated records does not have following values set:

  1. Online Meeting id
  2. Online Meeting Chat ID
  3. Online Meeting Join URL

The one that was created through Dynamics UI has these values. How do I set these values for my Flow Generated Appointment?

Basically I want to create teams meeting from Power Automate Flow.

We have tried Teams Connector but issue with it is meeting 'organizer' stays flow owner all the time. This is not a desirable option. 'Use Invokers' Connection' option does not work with this connector (resets automatically on save). Have raised an issue with Microsoft. However they are taking their own sweet time.

Tried creating appointment through Plugin as well. Same issue as Power Automate. Tried creating appointment through traditional workflow. Teams meeting is created here. However you cannot add multiple people as attendees here. Only takes 1

So we are kind of stuck. Any help is appreciated.

Thanks Reshma

Upvotes: 0

Views: 716

Answers (2)

Alex
Alex

Reputation: 1

I also encountered the same problem. But I found a solution. I use "Perform an unbound action" where I call the Activity "Book" and pass two parameters.

Target - This is an object with data for creating Appointments

{
"@@odata.type": "Microsoft.Dynamics.CRM.appointment",
"subject": "Test",
"isonlinemeeting": true,
"appointment_activity_parties": [
  {
    "participationtypemask": 5,
    "[email protected]": "/contacts(00000000000000000000000000)"
  },
  {
    "participationtypemask": 7,
    "[email protected]": "/systemusers(000000000000000000000000000000)"
  }
],
"instancetypecode": 0,
"isalldayevent": false,
"isdraft": true,
"onlinemeetingtype": 1,
"[email protected]": "/systemusers(000000000000000000000000000000000)",
"prioritycode": 1,
"[email protected]": "/contacts(0000000000000000000000000000)",
"scheduleddurationminutes": 30,
"scheduledend": "DateTime",
"scheduledstart": "DateTime",
"statecode": 3,
"statuscode": 5

}

ReturnNotifications - Yes/No

Upvotes: 0

Abid
Abid

Reputation: 1

Creating Appointments requires the following fields:

  • Subject
  • Organizer
  • Regarding
  • IsOnlineMeeting=true
  • OnlineMeetingType=TeamsMeeting

Create Invite Programmatically from CRM

Upvotes: 0

Related Questions