Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 90UCCsFjedvCGvXaUyZHWp
Power Automate - AI Builder
Unanswered

Invalid Time Zone ID

Like (1) ShareShare
ReportReport
Posted on 25 Sep 2024 02:25:43 by 19
Hi dear friends.
 
I have an issue when running my flow to convert the Time Zone. 
 
 
It works fine sometimes, but also failed at the same time. So I am wondering what's going wrong here.
 
The error message is always
Unable to process template language expressions in action 'Compose_-_End_Date' inputs at line '0' and column '0': 'In the template language function 'convertTimeZone', the value provided for the time zone id 'Asia/Kuala_Lumpur' was not valid. '.
 
I have changed according to its suggestion for many times, but it still failed saying that the time zone id I changed is incorrect, although suggested by Microsoft.
 
 It sounds much more ridiculous with the suggestion this round.
 
This is my expression. I am located in Kuala Lumpur Malaysia, GMT+8. This action is for me to block the calendar whenever an employee apply for time off. But due to timezone issue, if let say the employee will away from 27 -29 Sep 2024, the calendar will only block till 28 Sep, missing out 1 day. So I am using this expression to prolong the time to 29 Sep 2024.
 
formatDateTime(convertTimeZone(addHours(outputs('Get_response_details')?['body/rae1b263dd3cd4d59b8a18abc4abafafe'], 15), 'UTC', 'Singapore Standard Time'), 'yyyy-MM-ddTHH:mm:ss')
 
Appreciate it is someone could solve my issue!
Categories:

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - AI Builder

#1
Daniel133 Profile Picture

Daniel133 2

Overall leaderboard
Loading started