Azure Blockchain Workbench cloud shell command not working

Abayomi Onibudo 1 Reputation point
2020-06-04T00:42:17.417+00:00

Hello AshokPeddakotla,

seems i am experiencing this issue as well, i created a new instance of the azure blockchain workbench and successfully deployed it. I open the app service URL xendbw-x3wznf.. copied the cloud shell command and pasted it on the cloud shell with the following output:

abayomi@Azure:~$ cd; Invoke-WebRequest -Uri https://aka.ms/workbenchAADSetupScript -OutFile workbenchAADSetupScript.ps1; ./workbenchAADSetupScript.ps1 -SubscriptionID 29420446-f530-4754-b3a1-5c88833266f5 -ResourceGroupName xendwb -DeploymentId x3wznf
bash: Invoke-WebRequest: command not found
bash: ./workbenchAADSetupScript.ps1: No such file or directory

mind you during the creation process i chose an exiting blockchain network which also deployed successfully as PoA network.

you help will be greatly appreciated,

regards

Bolaji

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,970 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 17,875 Reputation points
    2023-09-09T13:50:32.5033333+00:00

    In your error message, it seems that the Azure Cloud Shell is using a Bash shell. The commands you provided are for PowerShell. Azure Cloud Shell supports both Bash and PowerShell, and you can switch between them.

    0 comments No comments