Execute the PowerShell Script in Windows PowerShell ISE
Last updated
Last updated
Download the PowerShell script file.
Select the Windows key. Search and open the Windows PowerShell ISE.
Click on File > Open... from the top menu bar. This will open a file selection dialog box.
Navigate to the folder that has the downloaded PowerShell script file (typically the Downloads folder) and select it.
Press the F5 key on your keyboard or click on the green Play button in the toolbar at the top of the Windows PowerShell ISE window to execute the PowerShell script.
The PowerShell script will now start running. The system will display a variety of prompts. Provide the information as requested. More details regarding the prompts are provided below.
Follow the steps below to find your tenant ID:
Type “App registrations" in the Azure portal search bar and select said option as it appears.
Find and select the application registration previously created for the LoadFAST API on the list.
This takes you to its summary page where you can find the directory (tenant) ID and copy it directly to your clipboard.
In the PowerShell terminal, paste/enter the subscription ID from the previous step.
Follow the steps below to find your subscription ID:
Type “Resource groups" in the Azure portal search bar and select said option as it appears.
Once on the page, you will see a list of resource groups displayed. Select the resource group where you want to deploy the tool resources to. This can be resource group
Copy the subscription ID as shown below.
In the PowerShell terminal, paste/enter the subscription ID from the previous step.
Type “Resource groups" in the Azure portal search bar and select said option as it appears.
Once on the page, you will see a list of resource groups displayed. Select the resource group that you have used earlier to create the managed application.
Find and select the managed application as shown in the image below:
Copy the name of the managed resource group.
Paste/enter the managed resource group name in the PowerShell terminal like the previous steps.
If already logged into Azure, it will ask you to pick an account. If not, then you need to sign in with your Azure account.
See the output and any actions performed by the script in the console pane at the bottom of the PowerShell window.
To verify the backend deployment, follow these steps:
Type “Kubernetes services" in the Azure portal search bar and select said option as it appears.
Once on the page, you will see a list of Kubernetes clusters displayed. Select the Kubernetes cluster created for your web app (more information regarding cluster name detailed in the note).
Note: Kubernetes clusters are automatically created and named as follows: "WebAppName_AksCluster".
In our case, our web app was named "powerbiloadanalyzer" (as seen in step 4 of this process). Thus, our Kuberenetes cluster name is "powerbiloadanalyzer_AksCluster".
Select Workloads (under Kubernetes resources) from the left pane.
Under the Deployments tab, you can see all the deployments. Ensure that they all have a green tick in the Ready column.