When using the installed Microsoft Teams client it is possible to change the time/date settings to display formatting other than US English.
To do so, click your user icon in the top right corner of the screen and go to "Settings". Change the App language to your preferred setting and click "Save and Restart". Once Teams loads again the date/time formats with be set correctly
Friday, 4 January 2019
Microsoft Azure: Get-AzSubscription Returns Token Error
Recently I changed my Azure login to use my organisational account rather than a Microsoft account for a particular subscription. Following this I found I was unable to access the subscription via PowerShell.
Running the cmdlet "Get-AzSubscription" (or "Get-AzureRmSubscription" if you use the older command set) returned the information for most of my subscriptions but threw the following warning for the subscription where my login had been changed;
WARNING: Unable to acquire token for tenant 'x''After some investigation I found that my old credentials were cached in the context. Running the following cmdlet cleared this cache and allowed the subscription to be access via PowerShell again;
Clear-AzContext
(or Clear-AzureRmContext with the older cmdlets)
You can disable this auto-caching of tokens by using the following;
Disable-AzContextAutosave
(or Disable-AzureRmContextAutosave with the older cmdlets)