cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

MS FLOW - SP Calendar - Reminders emails - Users from different Time zones

Hi All,

 

I am building a FLOW where I need to send reminders to users 3 days before and the actual day of Start Time. I need to Put 'Start Time' and 'End Time' in email body content.

My end users are located in different Time zones ( CST, EST, etc.).

My Sites Reginal Settings is set to CST.

If users would have been from one particular time zone, I would have used "Convert Time Zone" option and assigned to the output in email body. But that's not the case here.

I need to show the 'Start Time' & 'End Time' according to the user's timezone.

Could you please let me know how to achieve this?

 

Thanks,

Sanjay 

 

5 REPLIES 5
Highlighted
Super User II
Super User II

What you are seeking to do is certainly possible. To calculate based on Time Zone and regions you'd have to mash up a few things, such as Using Flow ExpressionsCalculating Date Differences and Using Expressions and Time Actions

Solution Sage
Solution Sage

Hi @SanjayAdsure201 ,

From you discripation, there are multiple users located in different Time zones.

So do you want to add all the user in one email?

If so, I am afraid that there is no way to achieve your needs in Microsoft Flow currently. 

However there is also no action to get the location of the users.

So you must know each user's Time zone firstly.

Then you can use the 'Date and time functions' to convert the 'Start Time' & 'End Time' .

https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#d...

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Highlighted

Hi @v-zhos-msft ,

 

I don't want to send emails to all users. I want to send email to one Specific DL email address only.

 

My scenario is: Suppose there are 3 users from different time zones - User 'A' from CST, 'B' from EST and 'C' from IST.

Now when user creates events in ONE specific SP Calendar from their respective time zones, the Start time and End Time gets added to calendar.

Now FLOW should send email to one specific email address which will contain Start time and End time as per clients timezones.

 

Thanks,

Sanjay

Highlighted


@SanjayAdsure201 wrote:

Hi @v-zhos-msft ,

 

I don't want to send emails to all users. I want to send email to one Specific DL email address only.

 

My scenario is: Suppose there are 3 users from different time zones - User 'A' from CST, 'B' from EST and 'C' from IST.

Now when user creates events in ONE specific SP Calendar from their respective time zones, the Start time and End Time gets added to calendar.

Now FLOW should send email to one specific email address which will contain Start time and End time as per clients timezones.

 

Thanks,

Sanjay


It isn't possible to do the time zone conversion with no interaction from the users before email generation. The users should be able to see the time based upon their time zone within the SharePoint Calendar view, and any calendar events that may be generated from it - but you simply can't generate that information without first populating the user's timezones, and Active Directory does not have a user timezone attribute, so it isn't anything you could reference from SharePoint directly.

The user's timezone is a dynamic setting, handled at the system level. 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. THANKS!

Highlighted

Hi @SanjayAdsure201 ,

Thanks for your feedback.

I have understand your  scenario clearly.

However there is no action to get the user's Time zones.

I have try the action 'Get user profile (V2)', it can get the city which the user located.

However you can't convert the city to Time zones via flow.

So I am afraid that there is no way to achieve your needs in Microsoft Flow currently.

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (7,972)