Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Why is the due date in Microsoft ToDo one day different then the same ToDo in Microsoft planner?

(0) ShareShare
ReportReport
Posted on by 9

I have a problem with the date transmission in power automate. I've created a flow via power automate, that if a Microsoft ToDo is created, a new task in Microsoft Planner is created and I'm assigned to it. After that, the flow deletes the origin tasks and only the Planner task, which is now assigned to me is shown in the Microsoft ToDo App. (Otherwise it would be double)   

What is working: If I create a task in Microsoft ToDo with due date for example 02.05.2023, it creates a task in Microsoft Planner with due date 02.05.2023 (correct date) and assignes the task to me and deletes the old task.

One problem: The same task (reference to the planner task) is shown in ToDo App with due date 01.05.2023 (everytime one day difference).

Can somebody help me with that date transmission problem?

  • Chriddle Profile Picture
    7,669 Super User 2025 Season 1 on at
    Re: Why is the due date in Microsoft ToDo one day different then the same ToDo in Microsoft planner?

    First of all you should check, if the time zone settings are the same in your Planner and ToDo.

    ToDo seems to have some issues:

    https://learn.microsoft.com/en-us/answers/questions/1237380/local-time-zone-is-not-applied-to-tasks-created-us

  • Nived_Nambiar Profile Picture
    17,497 Super User 2025 Season 1 on at
    Re: Why is the due date in Microsoft ToDo one day different then the same ToDo in Microsoft planner?

    Hi @pep1 

     

    would it be due to timezone issue like Timezone changes from and to UTC ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • pep1 Profile Picture
    2 on at
    Re: Why is the due date in Microsoft ToDo one day different then the same ToDo in Microsoft planner?

    I am having the same issue. I am using graph-explorer. The task due date is one day off only if it is a new task and the due date was not edited. Once you edit the due date then it is fine. It needs to be fixed.

  • smileyn9 Profile Picture
    9 on at
    Re: Why is the due date in Microsoft ToDo one day different then the same ToDo in Microsoft planner?

    HI @Nived_Nambiar ,

     

    yes I've checked my planner. There is the correct (original date). Only in the To Do App its one day difference, even though its the reference to the planer task. 

  • Nived_Nambiar Profile Picture
    17,497 Super User 2025 Season 1 on at
    Re: Why is the due date in Microsoft ToDo one day different then the same ToDo in Microsoft planner?

    This issue seems to be strange. As task created in Planner produces correct task with correct due date as needed. But the planner task appears 1 day earlier in to do list. 

     

    Just to confirm, have you checked your planner and verified that planner task is created with correct due date apart from checking from flow by looking at flow result?

     

     

  • smileyn9 Profile Picture
    9 on at
    Re: Why is the due date in Microsoft ToDo one day different then the same ToDo in Microsoft planner?

    Hey @Nived_Nambiar ,

     

    here is an example data. I've created a To-Do "Test OA. " in To-Do App with due date 08.05.2023. As a result of the flow a new task in planner was created with the right due date. But a new To-Do in To-Do was created with due date 07.05.2023
     
    I've marked the due dates red.
     
    When a new to-do in a specific folder is created (To-Do App):
     
    {
    "headers": {
    "Transfer-Encoding": "chunked",
    "Vary": "Accept-Encoding",
    "Strict-Transport-Security": "max-age=31536000",
    "request-id": "2e57e1aa-e7c5-476f-ac2e-f4c333a10039",
    "client-request-id": "2e57e1aa-e7c5-476f-ac2e-f4c333a10039",
    "x-ms-ags-diagnostic": "{\"ServerInfo\":{\"DataCenter\":\"West Europe\",\"Slice\":\"E\",\"Ring\":\"5\",\"ScaleUnit\":\"002\",\"RoleInstance\":\"AM2PEPF0000BDFD\"}}",
    "OData-Version": "4.0",
    "Timing-Allow-Origin": "*",
    "x-ms-apihub-cached-response": "true",
    "x-ms-apihub-obo": "false",
    "retry-after": "120",
    "Date": "Thu, 04 May 2023 14:13:58 GMT",
    "Content-Type": "application/json; odata.metadata=minimal; odata.streaming=true; IEEE754Compatible=false; charset=utf-8",
    "Content-Length": "698"
    },
    "body": {
    "@odata.etag": "W/\"bAr7L4yMlUu69gG3eMcOzgAEUTWXfA==\"",
    "importance": "normal",
    "isReminderOn": false,
    "status": "notStarted",
    "title": "Test OA.",
    "createdDateTime": "2023-05-04T14:13:55.607605Z",
    "lastModifiedDateTime": "2023-05-04T14:13:55.7060378Z",
    "hasAttachments": false,
    "categories": [],
    "id": "AAMkADA2MDdiMTRmLWYzZGYtNDE5MC1iNGY1LTg5NjEyZTAwMDA5YQBGAAAAAADUY2k4gOiWTanM5O6djMcnBwBsCvsvjIyVS7r2Abd4xw7OAAAAAAESAABsCvsvjIyVS7r2Abd4xw7OAARSuhD5AAA=",
    "body": {
    "content": "\r\n",
    "contentType": "text"
    },
    "dueDateTime": {
    "dateTime": "2023-05-07T22:00:00",
    "timeZone": "UTC"
    }
    }
    }
     
    Condition:
    {
    "expressionResult": true
    }
     
    Create task (Planner):
    Input
    {
    "host": {
    "connectionReferenceName": "shared_planner",
    "operationId": "CreateTask_V4"
    },
    "parameters": {
    "body/groupId": "038a4621-60b7-49c2-8b30-664061593e13",
    "body/planId": "74iPKJ0Pi0C-TchWDIp2H5YAGUF4",
    "body/title": "Test OA.",
    "body/bucketId": "LpbdFK52Z0yxHx5ZilJlbpYAI2zM",
    "body/dueDateTime": "2023-05-07T22:00:00",
    "body/appliedCategories/category9": true
    }
    }
     
    Output:
    {
    "statusCode": 201,
    "headers": {
    "Transfer-Encoding": "chunked",
    "Vary": "Accept-Encoding",
    "Strict-Transport-Security": "max-age=31536000",
    "request-id": "0e60fbc6-b95f-4b56-83aa-6829434238d6",
    "client-request-id": "0e60fbc6-b95f-4b56-83aa-6829434238d6",
    "x-ms-ags-diagnostic": "{\"ServerInfo\":{\"DataCenter\":\"West Europe\",\"Slice\":\"E\",\"Ring\":\"5\",\"ScaleUnit\":\"000\",\"RoleInstance\":\"AM1PEPF0002127D\"}}",
    "X-ProxyCluster": "neu-000.tasks.osi.office.net",
    "X-OfficeCluster": "neu-000.tasks.osi.office.net",
    "X-Tasks-CorrelationId": "886b3876-a641-4cb1-88a3-ddd7e9e09ad4",
    "OData-Version": "4.0",
    "Timing-Allow-Origin": "*",
    "x-ms-apihub-cached-response": "true",
    "x-ms-apihub-obo": "false",
    "Cache-Control": "no-cache",
    "Date": "Thu, 04 May 2023 14:13:58 GMT",
    "ETag": "W/\"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBARCc=\"",
    "Content-Type": "application/json",
    "Content-Length": "1162"
    },
    "body": {
    "@odata.etag": "W/\"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBARCc=\"",
    "planId": "74iPKJ0Pi0C-TchWDIp2H5YAGUF4",
    "bucketId": "LpbdFK52Z0yxHx5ZilJlbpYAI2zM",
    "title": "Test OA.",
    "orderHint": "8585183972459917290",
    "assigneePriority": "",
    "percentComplete": 0,
    "createdDateTime": "2023-05-04T14:13:59.4858517Z",
    "dueDateTime": "2023-05-07T22:00:00Z",
    "hasDescription": false,
    "previewType": "automatic",
    "referenceCount": 0,
    "checklistItemCount": 0,
    "activeChecklistItemCount": 0,
    "priority": 5,
    "id": "awPwMnFTikW8Imhk9G6915YACSg_",
    "createdBy": {
    "user": {
    "id": "417180fa-6c71-405c-bc63-457672e68054"
    },
    "application": {
    "displayName": null,
    "id": "7ab7862c-4c57-491e-8a45-d52a7e023983"
    }
    },
    "appliedCategories": {
    "category9": true
    },
    "assignments": {},
    "_assignments": []
    }
     
    New User (planner):
    Input
    {
    "host": {
    "connectionReferenceName": "shared_planner",
    "operationId": "AssignUsers"
    },
    "parameters": {
    "id": "awPwMnFTikW8Imhk9G6915YACSg_",
    "body/assignments": "417180fa-6c71-405c-bc63-457672e68054"
    }
    }
     
    Output:
     
    {
    "statusCode": 200,
    "headers": {
    "Transfer-Encoding": "chunked",
    "Vary": "Accept-Encoding",
    "Strict-Transport-Security": "max-age=31536000",
    "request-id": "90a47111-d48b-43c4-84ba-b7dfb72fa3c5",
    "client-request-id": "90a47111-d48b-43c4-84ba-b7dfb72fa3c5",
    "x-ms-ags-diagnostic": "{\"ServerInfo\":{\"DataCenter\":\"West Europe\",\"Slice\":\"E\",\"Ring\":\"5\",\"ScaleUnit\":\"001\",\"RoleInstance\":\"AM4PEPF00024E49\"}}",
    "X-ProxyCluster": "neu-000.tasks.osi.office.net",
    "X-OfficeCluster": "neu-000.tasks.osi.office.net",
    "X-Tasks-CorrelationId": "5e4476cb-7867-4bb4-9881-dad5ecb43f03",
    "OData-Version": "4.0",
    "Timing-Allow-Origin": "*",
    "x-ms-apihub-cached-response": "true",
    "x-ms-apihub-obo": "false",
    "Cache-Control": "no-cache",
    "Date": "Thu, 04 May 2023 14:13:59 GMT",
    "ETag": "W/\"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBASCc=\"",
    "Content-Type": "application/json",
    "Content-Length": "2197"
    },
    "body": {
    "@odata.etag": "W/\"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBASCc=\"",
    "planId": "74iPKJ0Pi0C-TchWDIp2H5YAGUF4",
    "bucketId": "LpbdFK52Z0yxHx5ZilJlbpYAI2zM",
    "title": "Test OA.",
    "orderHint": "8585183972459917290",
    "assigneePriority": "8585183972456343939",
    "percentComplete": 0,
    "createdDateTime": "2023-05-04T14:13:59.4858517Z",
    "dueDateTime": "2023-05-07T22:00:00Z",
    "hasDescription": false,
    "previewType": "automatic",
    "referenceCount": 0,
    "checklistItemCount": 0,
    "activeChecklistItemCount": 0,
    "priority": 5,
    "id": "awPwMnFTikW8Imhk9G6915YACSg_",
    "createdBy": {
    "user": {
    "id": "417180fa-6c71-405c-bc63-457672e68054"
    },
    "application": {
    "displayName": null,
    "id": "7ab7862c-4c57-491e-8a45-d52a7e023983"
    }
    },
    "appliedCategories": {
    "category9": true
    },
    "assignments": {
    "417180fa-6c71-405c-bc63-457672e68054": {
    "@odata.type": "#microsoft.graph.plannerAssignment",
    "assignedDateTime": "2023-05-04T14:13:59.8431868Z",
    "orderHint": "8585183973056501613Pc",
    "assignedBy": {
    "user": {
    "displayName": null,
    "id": "417180fa-6c71-405c-bc63-457672e68054"
    },
    "application": {
    "displayName": null,
    "id": "7ab7862c-4c57-491e-8a45-d52a7e023983"
    }
    }
    }
    },
    "_assignments": [
    {
    "userId": "417180fa-6c71-405c-bc63-457672e68054",
    "value": {
    "@odata.type": "#microsoft.graph.plannerAssignment",
    "assignedDateTime": "2023-05-04T14:13:59.8431868Z",
    "orderHint": "8585183973056501613Pc",
    "assignedBy": {
    "user": {
    "id": "417180fa-6c71-405c-bc63-457672e68054"
    },
    "application": {
    "displayName": null,
    "id": "7ab7862c-4c57-491e-8a45-d52a7e023983"
    }
    }
    }
    }
    ]
    }
    }
     
    Delete To-Do (To-Do App):
     
    {
    "host": {
    "connectionReferenceName": "shared_todo",
    "operationId": "DeleteToDoV2"
    },
    "parameters": {
    "folderId": "AQMkADA2MDdiMTRmLWYzZGYtNDE5MC1iNGY1LTg5NjEyZTAwAjlhAC4AAAPUY2k4gOiWTanM5O6djMcnAQBsCvsvjIwAlUu69gG3eMcOzgAAAgESAAAA",
    "id": "AAMkADA2MDdiMTRmLWYzZGYtNDE5MC1iNGY1LTg5NjEyZTAwMDA5YQBGAAAAAADUY2k4gOiWTanM5O6djMcnBwBsCvsvjIyVS7r2Abd4xw7OAAAAAAESAABsCvsvjIyVS7r2Abd4xw7OAARSuhD5AAA="
    }
    }
  • smileyn9 Profile Picture
    9 on at
    Re: Why is the due date in Microsoft ToDo one day different then the same ToDo in Microsoft planner?

    Hey @Nived_Nambiar ,

     

    here are the Screenshoots from my flow. I've marked the due date.

     

    smileyn9_0-1683208740276.png

    Bildschirmfoto 2023-05-02 um 12.36.40.png

    Bildschirmfoto 2023-05-02 um 12.36.46.png

  • Nived_Nambiar Profile Picture
    17,497 Super User 2025 Season 1 on at
    Re: Why is the due date in Microsoft ToDo one day different then the same ToDo in Microsoft planner?

    Hi @smileyn9 

     

    Could you please show where you are passing due date ?

     

  • smileyn9 Profile Picture
    9 on at
    Re: Why is the due date in Microsoft ToDo one day different then the same ToDo in Microsoft planner?

    Bildschirmfoto 2023-05-01 um 21.51.57.png

    Bildschirmfoto 2023-05-01 um 21.52.10.png

  • Nived_Nambiar Profile Picture
    17,497 Super User 2025 Season 1 on at
    Re: Why is the due date in Microsoft ToDo one day different then the same ToDo in Microsoft planner?

    Hi @smileyn9 

     

    could you share screenshot of flow ?

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow