You can use Azure Geo-Redundant Storage (GRS) to replicate a storage account to another Azure region. In the rare event of a catastrophic failure where the entire Azure region (with multiple zones) has an outage, you can fail over the storage account to the secondary region. Much like an Exchange geo-cluster. Failover is initiated manually.

The replicated copy in the secondary region, which is selected automatically by Azure when you set up the storage account, will not always be up-to-date. The LastSyncTime property of the storage account provide an indication of the lag, which can help you decide whether to fail over to the secondary region.

LastSyncTime is displayed in the storage account > properties > Geo-replication page, but it’s hidden away in the Failover blade. Click the Prepare for failover button to reveal it.

Figure 1: The Azure storage account’s Geo-replication page shows the Last Sync Time. (Click image for a larger version.)

This PowerShell command displays the LastSyncTime.

(Get-AzStorageAccount -ResourceGroupName <resource group name> -Name <storage account name> -IncludeGeoReplicationStats).GeoReplicationStats.LastSyncTime

You can omit the LastSyncTime to have display the two other properties – status and CanFailover.

(Get-AzStorageAccount -ResourceGroupName <resource group name> -Name <storage account name> -IncludeGeoReplicationStats).GeoReplicationStats.LastSyncTime

If you use this frequently, add it as a function to your PowerShell profile. For example:

Function GRSStats {
(Get-AzStorageAccount -ResourceGroupName <resource group name> -Name <storage account name> -IncludeGeoReplicationStats).GeoReplicationStats     


An annoying Acrobat Reader bug Adobe should fix asap

UPDATE 8/20/2020: This was fixed in a recent Acrobat build. Thank you, Adobe! This makes life easier for users who save PDF docs in Acrobat throughout the day. I’ve been an ardent user and supporter of Adobe’s Portable Document Format (PDF) and Adobe Acrobat software from its very early days. The ability to create and […]

More →

Managing Email: Two Outlook annoyances you can eliminate quickly

Regardless of the obituaries of email being written, published and shared everyday in the media, let’s admit that far from dying, email is not going away anytime soon. In fact, we get increasing volumes of email every day. The annoyance is directly proportional – the more email you get, the more annoying and distracting desktop […]

More →

Get file or folder permissions using PowerShell

The Get-Acl cmdlet in PowerShell’s Security module (Microsoft.PowerShell.Security) does a great job of getting file or folder permissions (aka the Access Control List or ACL). But getting useful info from the default output can take some getting used to. Instead, it’d be great to simply be able to see what the Security tab of a […]

More →

eDiscovery transition in Office 365: Exchange Online eDiscovery transition delayed

Microsoft’s planned transition of eDiscovery features in SharePoint Online and Exchange Online to the Security and Compliance Center (SCC), a new, unified security and compliance console has been delayed. Figure 1 eDiscovery in Office 365 Security and Compliance Center Microsoft had earlier announced that the transition would take place on July 1, 2017. You would […]

More →

eDiscovery transition in Office 365: What you need to know

On July 1, 2017, Microsoft will transition the workload-specific eDiscovery features – In-Place eDiscovery and In-Place Hold in Exchange Online and the eDiscovery Center in SharePoint Online, to the Security and Compliance Center, a new, unified security and compliance console. The documentation for these features was updated a long time ago to reflect these upcoming […]

More →

Windows Server 2012 support lifecycle extended

Microsoft has extended product support lifecycle for Windows Server 2012 to align with the standard product lifecycle support timeline. Mainstream Support for Windows Server 2012 now ends on Oct. 9th, 2018. The new end of Extended Support date is Oct. 10th, 2023. Both can be found here. Microsoft Product Lifecycle Microsoft product lifecycle dictates how […]

More →

Dealing with WordPress’ Unauthenticated Privilege Escalation Vulnerability in a REST API Endpoint

On Thursday, released WordPress 4.7.2, fixing the following four vulnerabilities. The user interface for assigning taxonomy terms in Press This is shown to users who do not have permissions to use it. Reported by David Herrera of Alley Interactive. WP_Query is vulnerable to a SQL injection (SQLi) when passing unsafe data. WordPress core is […]

More →

Enable remote desktop (RDP) connections for admins on Windows Server 2016

Windows Server 2016 has reached the General Availability (GA) milestone today. You can download it from your volume licensing site or MSDN. You can also create Azure VMs with Windows 2016. The latest and greatest Windows Server has many new Remote Desktop features. See What’s New in Remote Desktop Services in Windows Server 2016 for […]

More →

BleachBit’s claim of permanently deleting emails from Exchange

In a recent news segment featuring BleachBit, Fox Business questioned whether Democratic presidential nominee Hillary Clinton may have used the software to permanently delete emails from her mail server. The segment features BleachBit lead developer Andrew Viem. Politics and click bait headlines aside, readers will find the claims interesting. How to delete secret emails from […]

More →