Showing results for 
Search instead for 
Did you mean: 

"Specified dates cannot be in the future." error on creation of new tasks.

 The "Specified dates cannot be in the future" error occurred while trying to auto-generate tasks in Azure DevOps through MS Flow.




We are trying to generate multiple tasks under a User Story, some of the tasks get generated and the code fails in the middle throwing the above error. The occurrence of the error is random,i.e., the flow works fine sometimes and all tasks are generated, other times it fails on generation of the first task itself. We have tried using REST APIs through .NET core application to generate tasks but it is throwing the same error. We even tried adding a delay in between two task generation execution but we are facing the same issue.

What pattern we have observed is that the flow works fine in other Azure DevOps Organization hosted in South India while this Azure DevOps Organization (where the error is occurring) is hosted in Central US. Can this be the reason for occurrence of this error?

Community Support
Community Support


Hello @Gauri_Shingane ,


As you mentioned the flow in South India works fine but not in Central US.

Can you please check whether the error has something to do with time zone?


Thanks and Regards,


Hello @vikulkar ,

Thanks for your response. We have changed the region of organization to South India but the error still persists. Can you please suggest an alternate solution?

@Gauri_Shingane : Based on the error message it looks like the action was expecting a past date, however a future date is passed as a parameter which is causing the error. Please check whether an appropriate date is passed.

If you are sure that a valid date is passed and the flow is still failing, please open a support ticket with us and we will be able to assist you further.



Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (1,229)