(35) Setting Time Zone Automatically
- Mr B SOE way
- Nov 30, 2022
- 1 min read
There are a number of ways doing this, the one I generally use is using Azure Maps Accounts. This works well with Windows Autopilot, Windows 365 or devices that are deployed using a task sequence with SCCM.
Navigate to https://portal.azure.com/ then in the search field, type in Azure maps, select Azure Maps Account.

Under Azure Maps Accounts, select create azure maps accounts.

Under the following, select:
Subscription: Select the correct one if you have more than one subscription
Resource group: Create a new group to identity
Instance name: Enter a name
Region: Whichever region you prefer
Pricing tier: I generally go for Gen2, if you have budget constraints, go for Gen1 (S0).
Tick "I confirm that I have read and agree to the License and Privacy Statement".

Select Review + create

Select Go to resource

Select Authentication, make a copy of the Primary key.

Navigate to https://github.com/mrbernardmah/intune-shell-Windows-AzureMapsTimeZone/blob/main/Set-WindowsTimeZone.ps1, save a copy.
Enter the primary shared key into the PowerShell script.

Navigate to https://endpoint.microsoft.com/, this can be uploaded as a PowerShell Script. Ensure to set the Run Script in 64 bit PowerShell Host as Yes.

Comments