Blue Monday: Powershell Hotfix Released For Resource Manager Storage Commands

Last week in Azure service updates of interest to .NET developers:

Back in May, the Azure Powershell cmdlets related to Resource Manager-based Azure Storage accounts introduced some breaking changes. Namely, the Get-AzureRmStorageAccountKey, New-AzureRmStorageAccountKey, New-AzureRmStorageAccount, Get-AzureRmStorageAccount and Set-AzureRmStorageAccount commands all had their signatures (i.e., arguments) changed.

Apparently this has raised a fuss, because Microsoft has now released a “hotfix” to this problem that’s actually a new version of PowerShell. Basically, this new PowerShell version restores the signatures on those cmdlets to pre-version 1.4, but retains all other changes to Azure PowerShell.

You can download the MSI for PowerShell 1.7 directly from GitHub.

Notes Microsoft in its service update announcement:

This hotfix will not be present in Azure PowerShell versions 2.0 and later. Please plan to update the preceding cmdlets when you update to Azure PowerShell 2.0.

Translation: This fix buys you a little time, but the post-version 1.4 signatures for those cmdlets are the way those cmdlets are going to work, going forward. So plan accordingly.

PHP updates completed

Azure has completed its systemwide patching of its default PHP runtimes in Web Apps to 5.5.38, 5.6.24, and 7.0.9.

Additionally, the SQL Server PDO driver is now part of the default PHP 7.0.9 build.

A reminder that Microsoft previously announced that support for PHP 5.4 is going away in October. As I’ve noted before, you can build your own PHP runtimes for Azure Web Apps, but Microsoft will not support you if you install a runtime that’s no longer officially supported by PHP.

Event Hubs Archive in public preview

If you run an IoT operation that feeds messages to Azure Event Hubs, one of the challenges you face is archiving those messages. For most, this means adding a few lines of code to pump those messages to Azure Storage blobs or tables, DocumentDB or Azure SQL Server.

Rolled out to public preview last week, Event Hubs Archive will now automatically put your messages into Azure Storage blobs. Archiving will be triggered either by a timer or a queue size, both of which you can configure.

API Management updates

Azure API Management is generally available in the two newest US regions, US West 2 and US West Central.

Additionally, the Developer service tier has had some of its restrictions lifted. Finally, support for XSLT and log requests has been added.

Microsoft Operations Management Suite now monitors Docker containers

Docker is great but there aren’t a lot of tools out there that let you know about the health of a container; you need to engineer that yourself, or buy a third-party product, as a rule.

Until now. Now in public preview, Microsoft Operations Management Suite, the primary tool for monitoring and managing virtualized hardware running in the Windows environment, is extending support to Docker containers.

This, I suppose, is really more of a “big news” item for CTOs than .NET developers, but in the DevOps world, increasingly we’re expected to orchestrate; and being able to integrate a tool that’s designed for hybrid cloud management is a great way for DevOps and IT to share a common workload, in my opinion.

Feature photo by ginu via Pixabay, in the public domain.
Feature photo by ginu via Pixabay, in the public domain.

Leave a Reply

  • Check out the Commenting Guidelines before commenting, please!
  • Want to share code? Please put it into a GitHub Gist, CodePen or pastebin and link to that in your comment.
  • Just have a line or two of markup? Wrap them in an appropriate SyntaxHighlighter Evolved shortcode for your programming language, please!