Episerver

DXP Deployment API – Azure.Storage Error Fix

Pexels Polina Zimmerman 3747139

As of March 29th, Microsoft made the decision to publish new VM’s which archived a bunch of Az, Azure, and AzureRM modules.

SAS IDC Episerver Commerce Guide
Delivering Customer-Centric Experiences for Digital Commerce

The IDC Technology Spotlight explores the rapidly changing commerce landscape and the top 5 benefits of a modern DXP.

Get the Guide

The side effect of this was that when any of the deployment API scripts were run in Azure DevOps, it would throw an error.

'Azure.Storage' version 4.4.0 or greater is required.
At C:\Users\VssAdministrator\Documents\WindowsPowerShell\Modules\EpiCloud\0.13.15\EpiCloud.psm1:189 char:13
+             throw "'Azure.Storage' version 4.4.0 or greater is requir ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : OperationStopped: ('Azure.Storage'...er is required.:String) [], RuntimeException
+ FullyQualifiedErrorId : 'Azure.Storage' version 4.4.0 or greater is required.

I have found a fix that will properly call the Azure/Az Module and fix this error, and have built it into my scripts.

 
About the Author

More from this Author

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe to the Weekly Blog Digest:

Sign Up