An existing deployment of Azure Blockchain Workbench can be upgraded to the latest version.
This script automates the upgrade of your Azure Blockchain Workbench deployment. It can be easily invoked from latest Powershell.
To learn what's new in this release, please check our release notes.
- Install PowerShell 6 for your operating system from https://github.com/PowerShell/PowerShell
- Run PowerShell 6 as administrator:
- Enable running unsigned scripts in PowerShell:
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process
(Note: command above needs to be run each time before running upgrade script.) For more information about running scripts and setting execution policy, see about_Execution_Policies at https://go.microsoft.com/fwlink/?LinkID=135170
- Install Azure PowerShell module:
Install-Module -Name AzureRM.NetCore -AllowClobber
Select A (Yes to All) in the next prompt:
-
Next, please go to https://aka.ms/workbenchUpgradeScript and download the upgrade script “azureBlockchainWorkbenchUpgradeTov1_4_1.ps1” to local directory.
-
Sign in to your azure account:
Login-AzureRmAccount
You may be asked to authenticate if you're not currently authenticated. In this case, you will be provided with a link and a code to Authenticate to Azure. Follow the instructions shows after running this command.
-
Locate your Azure subscription ID, and the resource group name where you deployed Azure Blockchain Workbench.
-
Next, run the downloaded upgrade script by typing the following;
# Navigate to the directory which contains the downloaded script
cd
# Running the script
./ azureBlockchainWorkbenchUpgradeTov1_4_0.ps1 -SubscriptionID <subscription_id> -ResourceGroupName <workbench-resource-group-name>
When the upgrade completes, you will see the following message:
Azure Blockchain Workbench in Resource Group <ResourceGroupName> was succesfully updated to version 1.4.1.