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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Cannot assign resource to a Booking

(0) ShareShare
ReportReport
Posted on by 6
Hi,
 
We are using Field Service in trial and this last day have just started receiving a /Sequence contains no elements/ error and unable to assign anyone.
 
We've enabled the plugin trace logs, shown below.
 
All roads led us to a FLOW which is now failing yet I cannot see any way to see exactly WHY it is failing. Any ideas at all please?

The Flow in question is - Create notification items for bookings
 
 
Many thanks
 
Microsoft.Dynamics.FieldServicePowerAppsPortal.Plugins.BookableResourceBookingPreDelete, Microsoft.Dynamics.FieldServicePowerAppsPortal.Plugins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
 
CorrelationId:c0e7c08d-c8d6-460c-8570-402ce4a89119 PluginBase.cs:81 Execute Execution Manager Initialized done
CorrelationId:c0e7c08d-c8d6-460c-8570-402ce4a89119 PluginBase.cs:82 Execute localContext.PluginExecutionContext.userId - 4938ce66-0750-4074-a794-cc7c6d01509c
CorrelationId:c0e7c08d-c8d6-460c-8570-402ce4a89119 PluginBase.cs:83 Execute localContext.PluginExecutionContext.organizationId - cf9201b4-e8aa-ee11-a565-0022481a76a9
CorrelationId:c0e7c08d-c8d6-460c-8570-402ce4a89119 LogHelper.cs:89 LogTrace BookableResourceBookingPreDelete CreateBookingNotificationItem
CorrelationId:c0e7c08d-c8d6-460c-8570-402ce4a89119 LogHelper.cs:89 LogTrace BookableResourceBookingPreDelete Create notification item for: 42ba17ea-32b6-ee11-a567-002248429f03
CorrelationId:c0e7c08d-c8d6-460c-8570-402ce4a89119 Exception: System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at Microsoft.Dynamics.FieldServicePowerAppsPortal.Plugins.Services.BookableResourceBookingService..ctor(IOrganizationService organizationService, IOrganizationService systemService)
at Microsoft.Dynamics.FieldServicePowerAppsPortal.Plugins.BookableResourceBookingPreDelete.<>c__DisplayClass1_0.<ExecuteCrmPlugin>b__0()
I have the same question (0)
  • Verified answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    Hi Partner,
    I suggest you follow the steps below to create a ticket for the Microsoft Support team for further assistance.
    Get Help + Support - Dynamics | Microsoft Docs
     
  • CU24080944-0 Profile Picture
    6 on at
    Thanks

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
KristineRisberg Profile Picture

KristineRisberg 37

#2
11manish Profile Picture

11manish 35

#3
Manoj - ManoVerse Profile Picture

Manoj - ManoVerse 21 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans