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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

How to Create Booking Alert using MS Flow

(1) ShareShare
ReportReport
Posted on by 35

Automatically Create Booking Alert

Hi experts,

I am creating power automate to automatically create Booking alert in Dynamics MS Flow, and I am successfully run but error is coming, and also we are not able to populate value in #Assignees lookup.

Please guide me how to resolve this issue. 

The Flow is set to trigger on Bookable Resource Booking is created,

Screenshot-2021_2D00_05_2D00_17-181801.pngScreenshot-2021_2D00_05_2D00_17-181733.pngScreenshot-2021_2D00_05_2D00_17-181836.png

The Given key is not present in the dictionary error

The row output details are here,

{
    "statusCode"400,
    "headers": {
        "x-ms-service-request-id""46383ba9-31a4-416c-b615-ad97209736b7,1033eb47-17f1-4805-92cd-281b8509b1e3",
        "Cache-Control""no-cache",
        "Set-Cookie""ARRAffinity=125878ddfc1fee20bf3eb2279bbc7346e7ce2bd074b0e14d48be92014b1de898; domain=fastuat.crm.dynamics.com; path=/; secure; HttpOnly,ReqClientId=2e803eec-6b0b-4d66-9f9e-dd5d95baf545; expires=Sun, 17-May-2071 11:50:35 GMT; path=/; secure; HttpOnly; samesite=none,ARRAffinity=125878ddfc1fee20bf3eb2279bbc7346e7ce2bd074b0e14d48be92014b1de898; domain=fastuat.crm.dynamics.com; path=/; secure; HttpOnly",
        "Strict-Transport-Security""max-age=31536000; includeSubDomains",
        "REQ_ID""1033eb47-17f1-4805-92cd-281b8509b1e3,1033eb47-17f1-4805-92cd-281b8509b1e3",
        "AuthActivityId""b3f8656f-fb09-4bb6-8b93-b73a324eda19",
        "x-ms-ratelimit-burst-remaining-xrm-requests""5979",
        "x-ms-ratelimit-time-remaining-xrm-requests""1,177.57",
        "OData-Version""4.0",
        "X-Source""240119552576121737145614613124583989021816517212529177622312848130149672233202,112692406312422720220611882321865916351451857710416817842011731991732379243229211",
        "Public""OPTIONS,GET,HEAD,POST",
        "Timing-Allow-Origin""*",
        "Date""Mon, 17 May 2021 11:50:34 GMT",
        "Content-Length""11869",
        "Allow""OPTIONS,GET,HEAD,POST",
        "Content-Type""application/json; odata.metadata=full",
        "Expires""-1"
    },
    "body": {
        "error": {
            "code""0x80040265",
            "message""The given key was not present in the dictionary.",
            "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionSourceKey""Plugin/Microsoft.Dynamics.ScheduleCommon.Fps.FpsPlugin",
            "@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepKey""7196fdbd-b923-41de-b192-25e0fa0bb673",
            "@Microsoft.PowerApps.CDS.ErrorDetails.ApiDepthKey""1",
            "@Microsoft.PowerApps.CDS.ErrorDetails.ApiActivityIdKey""86a324cb-4fd7-4f2c-b95d-a2038390790a",
            "@Microsoft.PowerApps.CDS.ErrorDetails.ApiPluginSolutionNameKey""MicrosoftDynamicsScheduling3_CumulativePatch",
            "@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepSolutionNameKey""MicrosoftDynamicsScheduling3_CumulativePatch",
            "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionCategory""ClientError",
            "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionMesageName""IsvAborted",
            "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionHttpStatusCode""400",
            "@Microsoft.PowerApps.CDS.ErrorDetails.OperationStatus""0",
            "@Microsoft.PowerApps.CDS.ErrorDetails.SubErrorCode""-2146233088",
            "@Microsoft.PowerApps.CDS.ErrorDetails.Plugin.PluginTrace""[Microsoft.Dynamics.Fps: Microsoft.Dynamics.ScheduleCommon.Fps.FpsPlugin]\r\n[7196fdbd-b923-41de-b192-25e0fa0bb673: Resource Scheduling - Microsoft Dynamics Fps: Create (pre-validate) for msdyn_bookingalert]\r\nFpsPlugin: PluginLocal.Create, Depth: 1\r\nFpsPlugin: PluginLocal.Create, Depth: 1\r\nFpsPlugin: PluginContext Start\r\nFpsPlugin: MessageName: Create\r\nFpsPlugin: PrimaryEntityName: msdyn_bookingalert\r\nFpsPlugin: PrimaryEntityId: 77301713-06b7-eb11-8236-000d3a36f740\r\nFpsPlugin: SecondaryEntityName: none\r\nFpsPlugin: Stage: 10\r\nFpsPlugin: PreEntityImages.Count: 
    }
}
I have the same question (0)
  • Verified answer
    Al Iggs Profile Picture
    on at

    What timestamp did you put into the "Due Date" field? Should be something in the future. Assignee should probably be the user who creates the booking. What did you put into the assignee field?

  • Anubha Soni Profile Picture
    35 on at

    Thank you for your response,

    I tried but doesn't find assignee field in power automate,  while creating the booking alert  and Due Date is the future Date.

  • dian74 Profile Picture
    2,477 Most Valuable Professional on at

    What exactly are you trying to do here? Are you trying to send an alert to a resource letting them know they've been booked on a work order?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 75 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 52 Super User 2025 Season 2

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 42 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans