You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SaaS Accelerator is offered under the MIT License as open source software and is not supported by Microsoft.
16
+
17
+
If you need help with the accelerator or would like to report defects or feature requests use the Issues feature on the GitHub repository at https://aka.ms/SaaSAccelerator
18
+
19
+
Do you agree? (Y/N)
20
+
"@
21
+
22
+
# Display the message in yellow
23
+
Write-Host$message-ForegroundColor Yellow
24
+
25
+
# Prompt the user for input
26
+
$response=Read-Host
27
+
28
+
# Check the user's response
29
+
if ($response-ne'Y'-and$response-ne'y') {
30
+
Write-Host"You did not agree. Exiting..."-ForegroundColor Red
31
+
exit
32
+
}
33
+
34
+
# Proceed if the user agrees
35
+
Write-Host"Thank you for agreeing. Proceeding with the script..."-ForegroundColor Green
36
+
37
+
13
38
Param(
14
39
[string][Parameter(Mandatory)]$WebAppNamePrefix,# Prefix used for creating web applications
15
40
[string][Parameter()]$ResourceGroupForDeployment,# Name of the resource group to deploy the resources
Copy file name to clipboardExpand all lines: deployment/Upgrade.ps1
+25-1Lines changed: 25 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,30 @@
5
5
# Powershell script to deploy the resources - Customer portal, Publisher portal and the Azure SQL Database
6
6
#
7
7
8
+
# Define the message
9
+
$message=@"
10
+
The SaaS Accelerator is offered under the MIT License as open source software and is not supported by Microsoft.
11
+
12
+
If you need help with the accelerator or would like to report defects or feature requests use the Issues feature on the GitHub repository at https://aka.ms/SaaSAccelerator
13
+
14
+
Do you agree? (Y/N)
15
+
"@
16
+
17
+
# Display the message in yellow
18
+
Write-Host$message-ForegroundColor Yellow
19
+
20
+
# Prompt the user for input
21
+
$response=Read-Host
22
+
23
+
# Check the user's response
24
+
if ($response-ne'Y'-and$response-ne'y') {
25
+
Write-Host"You did not agree. Exiting..."-ForegroundColor Red
26
+
exit
27
+
}
28
+
29
+
# Proceed if the user agrees
30
+
Write-Host"Thank you for agreeing. Proceeding with the script..."-ForegroundColor Green
31
+
8
32
Param(
9
33
[string][Parameter(Mandatory)]$WebAppNamePrefix,# Prefix used for creating web applications
10
34
[string][Parameter(Mandatory)]$ResourceGroupForDeployment# Name of the resource group to deploy the resources
Write-host"#### If the upgrade is to >=7.5.0, MeterScheduler feature is pre-enabled and changed to DB config instead of the App Service configuration. Please update the IsMeteredBillingEnabled value accordingly in the Admin portal -> Settings page. ####"
0 commit comments