question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No listing of valid timezones for windowsProfile

See original GitHub issue

I have a template that deploys, among other things, a Windows VM, and I want to set the timezone in the template. However, the documentation is missing a list of valid values.

I found documentation for the windowsConfiguration object, but the only thing it says about the timeZone property is: @member {string} [timeZone] The time zone of the VM.

Is there a list of valid values somewhere? The value I tried was CDT, but that failed with an error like The value of parameter windowsConfiguration.timeZone is invalid.

Where can I find a complete list of acceptable values? Could this be added to the documentation?

My apologies if this is the wrong place to report this error. I looked in several places, including official Azure template documentation on docs.microsoft.com, but didn’t found an enumeration of values anywhere. If you can tell me a better place to report this, I’ll happily open an issue there.

Thanks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
huangpfcommented, Sep 16, 2017

@mrled @amarzavery I’m guessing it’s probably difficult to maintain to inject all Windows system time zone strings into the contract/specification, rather than directly refer to what Windows system takes as the norm. Here are some PS output that may help:

PS C:\windows\system32> [System.TimeZoneInfo]::GetSystemTimeZones()|?{$_.Id -like "Pacific*"}|select -ExpandProperty Id
Pacific Standard Time (Mexico)
Pacific Standard Time
Pacific SA Standard Time

PS C:\windows\system32> [System.TimeZoneInfo]::GetSystemTimeZones()|select -ExpandProperty Id
Dateline Standard Time
UTC-11
Aleutian Standard Time
Hawaiian Standard Time
Marquesas Standard Time
Alaskan Standard Time
...
0reactions
amarzaverycommented, Sep 16, 2017

I understand your problem. However I am not sure if there is any enumeration available for all the timezone values. The example in the previous comment gives you an idea of what the API expects.

Looping in folks from the Compute team. @hyonholee @huangpf @singhkays - Can one of you please help over here?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Default Time Zones | Microsoft Learn
Country ISO3166 Timezone UTC Timezone description Afghanistan AF Afghanistan Standard Time (UTC+04:30) Kabul Åland Islands AX FLE Standard Time (UTC+02:00) Helsinki, Kyiv, Riga, S... Albania AL...
Read more >
Office 365 user Settings - User language and time zone not ...
Office 365 user Settings - User language and time zone not available. Discussion Options ... Click on your name in top right and...
Read more >
Time zones that do not observe daylight saving time - Outlook
In the Time zone list, select a time zone that does not observe daylight saving time and has the same UTC offset as...
Read more >
Time zone settings are incorrect or missing for multiple ...
Describes an issue in which time zone settings are incorrect or missing on multiple mailboxes in Microsoft 365. Provides a resolution.
Read more >
Change the time zone - security policy setting (Windows 10)
Describes the best practices, location, values, policy management, and security considerations for the Change the time zone security policy ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found