To execute the uploaded script deploy.ps1 first it needs to be declared as code:
Then it can be simply executed as follows:
The script throws the following error when executed and values for subscriptionId,
resourceGroupName and deploymentName are entered:

If this error is ignored and all the following actions accepted, the script fails with the following error:
