Redeploying for version updates
Redeploying the app
Log in to your Azure portal and locate the resource group where your resources are deployed.
Select Settings from the left pane and click on Deployments.
Select the specific deployment you wish to redeploy, then click on Redeploy.
Fill in the required fields of the form:
Subscription: Choose your subscription.
Resource Group: Select the appropriate resource group.
Region: Select the relevant region.
Name: Enter your application name.
SKU Value: Enter your pricing plan.
SQL Admin Name: Provide the SQL admin username.
DB Password: Enter the database password.
Location: Ensure this matches the selected region
Select Review + Create.
Review the details and select Create.
Load the SQL update script and PowerShell file to Visual Studio Code
Extract the folder and open it in Visual Studio Code (VS Code).
Open a terminal window
From the top menu bar, select Terminal -> New Terminal to access the PowerShell terminal window.
Executing the PowerShell script while bypassing the execution policy
This step is required to bypass an execution policy that doesn't allow the ZIP file to work with the PowerShell scripts.
Execute command “powershell -ExecutionPolicy Bypass -File ".\UpdateHubConfig.ps1"” in the terminal. This command will execute a PowerShell script named "UpdateHubConfig.ps1" while bypassing the execution policy.
The system will display a variety of prompts. Provide the information as requested. More details regarding the prompts are provided below.
Enter your subscription ID
Follow the steps below to find your subscription ID:
Select the desired resource group from the list where you want to deploy your resources.
Copy the subscription ID as shown below.
In the PowerShell terminal, paste/enter the subscription ID from the previous step.
Enter your tenant ID
Navigate to your Azure Active Directory --> Overview and copy the tenant ID as shown below. Paste/enter the ID into the PowerShell terminal.
Log into Azure through the PowerShell pop-up window
Choose an account to log into Azure with.
Enter your managed resource group name
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.
Enter your application name
Last updated