cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LeoGonzalez
Level: Powered On

Set ActivityParties to Appointments using Dynamics connector for LogicApps

Hello everyone,

 

I have a LogicApp flow and I'm trying to create an appointment using the Dynamics connector. I'm able to create the appointment, but I cant find a way to set the RequiredAttendees field. That field is expecting for a collection of ActivityParties. I was able to do this using Xrm dll, following the instructions in this link.

 

However, I tried many ways to set the required attendees using the connector for LogiApps. The code snippet that makes more sense to me is this (it's a simplied version):

 

{
    "inputs": {
        "host": {
            "connection": {
                "name": ""
            }
        },
        "method": "post",
        "body": {
            "scheduledstart": "",
            "subject": "",
            "actualend": "",
            "description": "",
            "_requiredattendees_type": "activityparties",
            "_requiredattendees_value": [
                {
                    "_ownerid_type": "systemusers",
                    "_ownerid_value": "{GUID}",
                    "_partyid_type": "contacts",
                    "_partyid_value": "{GUID}"
                }
            ],
            "createdon": "",
            "modifiedon": "",
            "statecode": ""
        },
        "path": "",
        "authentication": ""
    }
}

Most of my attempts thrown the next error:

{
  "status": 400,
  "message": "A value must be provided for item.",
  "source": "dynamicscrmonline-eus.azconn-eus.p.azurewebsites.net",
  "debugInfo": "clientRequestId: {GUID}"
}

Any idea about how can I set values for that field using Dynamics connector for LogicApps?

Thanks in advance.

 

Regards

 

Leonardo González

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,077)