🖥️
LoadFAST: Technical Documentation
  • LoadFAST: Technical Documentation
  • SETTING UP
    • Prepare
      • Prerequisites
        • Set up Power BI and Azure
        • Set up PowerShell
        • Register the resource providers
      • Pre-deployment
        • Create an app registration for the LoadFAST API
        • Set up and configure the Power BI tenant settings
    • Deploy
      • Deploy automatically via Azure Marketplace
    • Configure
      • Add the redirect URIs
      • Grant admin-level privileges on Azure SQL database
      • Execute the PowerShell Script in Windows PowerShell ISE
      • Assign admin roles in the application
      • Insight report
  • Resources
    • LoadFAST architecture
    • API Documentation
      • API reference
        • TestRunExecutionDetails
          • CreateTestRunExecution
          • CreateTestRunExecutionNonBulk
          • GetTestRunExecutionDetails
          • GetTestRunExecutionDetailsByCollectionId
        • AdminSetting
          • GetInsightsReportConfig
          • UpdateInsightsReportConfig
          • GetCapacityReportConfig
          • UpdateCapacityReportConfig
        • AppOwnsInfo
          • InsertAppOwnsAccessToken
        • AzureKeyVault
          • GetSecret
        • Collections
          • CreateCollection
          • UpdateCollection
          • DeleteCollection
          • GetCollectionById
          • GetCollections
          • GetCollectionNames
          • UpdateFavouriteCollection
          • GetCollectionsOptimized
          • UpdateCollectionName
          • GetCollectionsLazy
          • NewTestClick
          • CollectionCollaborator
        • CreateTableConfig
          • CreateTable
        • Embed
          • EmbedTokenSave
          • GetEmbedInfo
          • GetRLSEmbedInfo
          • GetEmbedInfoForWorkspace
          • GetAADToken
          • GetAllUserAADToken
        • Kubernetes
          • GetKubernetesClusterStatus
          • GetKubernetesClustersInResourceGroup
          • StartKubernetesCluster
          • StopKubernetesCluster
          • ScaleUpNodePool
          • UpdateKubernetesClusterStatus
          • UpdatePLTKubeConfigField
          • GetKubernetesResource
          • GETInactivityState
          • UpdateInactivityState
          • UpdateInactivityStateAndHours
          • UpdateClusterStartTime
          • GetLoadCount
          • UpdateLoadCount
          • UpdateLoadCountMultiRegion
          • GetLoadCountMultiRegion
          • GETInactivityStateMultiRegion
          • UpdateInactivityStateMultiRegion
          • UpdateInactivityStateAndHoursMultiRegion
          • UpdateClusterStartTimeMultiRegion
        • Api
          • KubernetesExploration
        • Notifications
          • GetLastClusterNotification
          • AddNotification
          • GetNotifications
          • DeleteNotifications
        • RLS
          • GetRLSRoles
        • TestRun
          • CreateTestRun
          • DeleteTestRun
          • GetTestRunsByCollectionId
          • GetTestRun
          • GetAllTestRuns
          • GetAllTestRunsOfSpecificAccess
          • GetAllTestRunsOfSpecificAccessLazyLoading
        • UserInfo
          • UserId
          • RegisterNewUser
          • UpdateAccessToken
    • Cost details
    • Security/Privacy policy
Powered by GitBook
On this page
  • Set up PowerShell
  • Provide inputs for the prompts
  • Enter your tenant ID
  • Enter your subscription ID
  • Enter your resource group name
  • Log into Azure through the PowerShell pop-up window
  • Other details
  1. SETTING UP
  2. Configure

Execute the PowerShell Script in Windows PowerShell ISE

PreviousGrant admin-level privileges on Azure SQL databaseNextAssign admin roles in the application

Last updated 1 month ago

Set up PowerShell

  1. Download the and extract it in the same folder.

  2. Select the Windows key. Search and open the Windows PowerShell ISE.

  3. Click on File > Open... from the top menu bar. This will open a file selection dialog box.

  4. Navigate to the folder that has the downloaded PowerShell script file (typically the Downloads folder) and select the extracted file.

  5. 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.

  6. 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.

The Windows PowerShell ISE must be opened in the same location as the downloaded PowerShell zip.

Provide inputs for the prompts

Enter your tenant ID

Follow the steps below to find your tenant ID:

  1. This takes you to its summary page where you can find the directory (tenant) ID and copy it directly to your clipboard.

  2. In the PowerShell terminal, paste/enter the subscription ID from the previous step.

Enter your subscription ID

Follow the steps below to find your subscription ID:

  1. 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

  2. Copy the subscription ID as shown below.

  3. In the PowerShell terminal, paste/enter the subscription ID from the previous step.

Enter your resource group name

  1. Type “Resource groups" in the Azure portal search bar and select said option as it appears.

  2. Find and select the managed application as shown in the image below:

  3. Copy the name of the managed resource group.

  1. Paste/enter the managed resource group name in the PowerShell terminal like the previous steps.

Log into Azure through the PowerShell pop-up window

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.

Other details

  • 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:

    1. Type “Kubernetes services" in the Azure portal search bar and select said option as it appears.

    2. 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".

    3. Select Workloads (under Kubernetes resources) from the left pane.

    4. Under the Deployments tab, you can see all the deployments. Ensure that they all have a green tick in the Ready column.

Type “App registrations" in the search bar and select said option as it appears.

Find and select the application registration for the LoadFAST API on the list.

Type “Resource groups" in the 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 to create the managed application.

In our case, our web app was named "powerbiloadanalyzer" (as seen in step 4 of this ). Thus, our Kuberenetes cluster name is "powerbiloadanalyzer_AksCluster".

Azure portal
previously created
Azure portal
earlier
process
PowerShell script file