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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

The date/time format is not valid or the value is outside the supported range error on CRM workflow

(0) ShareShare
ReportReport
Posted on by 35

we are getting intermittent error on CRM workflow. Though workflow is successful most of the times, but intermittently we are getting below error and workflow is going in to waiting state. Tried restarting sandbox service and also tried changes with the region on the server.

Error:- The date/time format is not valid or the value is outside the supported range.

pastedimage1610610915027v1.png

DateTime is less than minumum value supported by CrmDateTime. Actual value: 01/01/0001 00:00:00, Minimum value supported: 01/01/1753 00:00:00

Plugin Trace:

[Microsoft.Xrm.Sdk.Workflow: Microsoft.Xrm.Sdk.Workflow.Activities.SetEntityProperty]
[SetEntityProperty]

Error Message:

Unhandled Exception: Microsoft.Crm.CrmArgumentOutOfRangeException: DateTime is less than minumum value supported by CrmDateTime. Actual value: 01/01/0001 00:00:00, Minimum value supported: 01/01/1753 00:00:00
at Microsoft.Crm.BusinessEntities.CrmDateTime.ValidateDateTime(String parameterName, DateTime dateTime, Behavior behavior)
at Microsoft.Crm.BusinessEntities.CrmDateTime.Initialize(DateTime userTime, DateTime universalTime, Behavior dateTimeBehavior)
at Microsoft.Crm.BusinessEntities.DynamicCrmDateTimeBuilder.ConvertToCrmDateTime(DateTime dateTime, IUserAndOrganizationContext userAndOrganizationContext, DateTimeToCrmDateTimeConversionStrategy strategy)
at Microsoft.Crm.BusinessEntities.DynamicCrmDateTimeBuilder.ConvertToDateTime(DateTime sourceValue, IUserAndOrganizationContext userAndOrganizationContext)
at Microsoft.Crm.Workflow.Services.ExpressionServiceBase.SetEntityProperty(ActivityContext executionContext, SetEntityProperty setEntityPropertyActivity)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Inner Exception: System.ArgumentOutOfRangeException: DateTime is less than minumum value supported by CrmDateTime. Actual value: 01/01/0001 00:00:00, Minimum value supported: 01/01/1753 00:00:00
Parameter name: userTime
Actual value was 01-01-0001 00:00:00.

Thanks in advance for help.

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    Value 01/01/0001 00:00:00 actually means that the field you try to use the data from is empty. Just add the check if the field is empty - not use it.

  • Ronit Nandgaonkar Profile Picture
    35 on at

    Actually all workflows are not failing. we are getting this error intermittently for same workflow.

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    I understand - because it fails depending on the data it runs with.

    Can you please post the screenshot of the workflow and specific steps where you create/update some data using datetime fields?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 101 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 83

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans