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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Multi-Select Option Set Hanging on Selection

(0) ShareShare
ReportReport
Posted on by 15

Hello all,

We have a multi-select option set for countries on our Lead and Account entities which is causing issues. Selecting 'Select All' takes around 30-60 seconds to complete and the page will hang. It also becomes increasingly slow when picking a list of individual countries.

A colleague received the following error but for me and others, the page just hangs.

at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Update(Entity entity, InvocationContext invocationContext, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, Boolean checkForOptimisticConcurrency, Dictionary`2 optionalParameters)
at Microsoft.Crm.Extensibility.OData.CrmODataExecutionContext.Update(Entity entity, UpdateOption updateOption)
at Microsoft.Crm.Extensibility.OData.CrmODataServiceDataProvider.UpdateEdmEntity(CrmODataExecutionContext context, String edmEntityName, String entityKeyValue, EdmEntityObject entityObject)
at Microsoft.Crm.Extensibility.OData.EntityController.PatchEntityImplementation(String& entityName, String key, EdmEntityObject entityDelta)
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties)
at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c_DisplayClass10.<GetExecutor>b_9(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()
Activity Id: 3f4ea338-c43d-4b51-9bfc-f04c32e8a8a0

Does anyone know why this may be happening?

Thanks

Ewan

I have the same question (0)
  • Ahmed Shaalan Profile Picture
    on at

    Hi Ewan,

    How many items in the option set?

    thanks

    Ahmed Shaalan

    Dynamics 365 CE senior support engineer @ Microsoft

  • Ewan P Profile Picture
    15 on at

    Hi Ahmed,

    Thanks for the reply. We're using it for countries/jurisdictions - approximately 225 at the moment.

  • Suggested answer
    Ahmed Shaalan Profile Picture
    on at

    Hi Ewan,

    It could be due the number of selections greater than 150

    docs.microsoft.com/.../multi-select-picklist

    thanks

    Ahmed Shaalan

    Dynamics 365 CE senior support engineer @ Microsoft

  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    Hi, 

    I suggest you separate your multiSelect option set by continents.So you will have 5 multiSeelect instead of one. 

  • Ewan P Profile Picture
    15 on at

    Hi Ahmed,

    I saw this but assumed that it would only be an issue when selecting the optionset programmatically. I may have to test it with just 150 or fewer values and see if the performance changes.

    thanks

    Ewan

  • Ewan P Profile Picture
    15 on at

    Thanks for this suggestion, Mehdi. We would prefer to keep it as one to save space and time. Creating a Lookup entity would be the other option but seems unnecessary when the number of countries is unlikely to change much!

    Thanks,

    Ewan

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans