Search code examples
sharepoint-onlinepower-automate

Update file properties - used utc time as input and value gets changed


I use the SharePoint Action PatchFileItem ("Update file properties") and would like to set the time to a specific value.

Input: 2023-12-31T13:00:00.0000000Z

Output: 2023-12-31T05:00:00Z

Power Automate Action - Update file properties

Why does 13:00 suddenly become 05:00?

Am I on the wrong track? Am I stupid :D


Solution

  • Totally stupid mistake on my part, after several checks of my settings in SharePoint etc. and much wasted time I discovered that a space was the culprit. When configuring the Power Automate Action, I must have accidentally inserted a space in there...

    Empty Space in Power Automate Action