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
Copy file name to clipboardExpand all lines: deployment/Deploy.ps1
+19-20
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,25 @@
10
10
# -Location "<region>" `
11
11
# -PublisherAdminUsers "<your@email.address>"
12
12
13
+
Param(
14
+
[string][Parameter(Mandatory)]$WebAppNamePrefix,# Prefix used for creating web applications
15
+
[string][Parameter()]$ResourceGroupForDeployment,# Name of the resource group to deploy the resources
16
+
[string][Parameter(Mandatory)]$Location,# Location of the resource group
17
+
[string][Parameter(Mandatory)]$PublisherAdminUsers,# Provide a list of email addresses (as comma-separated-values) that should be granted access to the Publisher Portal
18
+
[string][Parameter()]$TenantID,# The value should match the value provided for Active Directory TenantID in the Technical Configuration of the Transactable Offer in Partner Center
19
+
[string][Parameter()]$AzureSubscriptionID,# Subscription where the resources be deployed
20
+
[string][Parameter()]$ADApplicationID,# The value should match the value provided for Active Directory Application ID in the Technical Configuration of the Transactable Offer in Partner Center
21
+
[string][Parameter()]$ADApplicationSecret,# Secret key of the AD Application
22
+
[string][Parameter()]$ADMTApplicationIDAdmin,# Multi-Tenant Active Directory Application ID for the Admin Portal
23
+
[string][Parameter()]$ADMTApplicationIDPortal,#Multi-Tenant Active Directory Application ID for the Landing Portal
24
+
[string][Parameter()]$SQLDatabaseName,# Name of the database (Defaults to AMPSaaSDB)
25
+
[string][Parameter()]$SQLServerName,# Name of the database server (without database.windows.net)
26
+
[string][Parameter()]$LogoURLpng,# URL for Publisher .png logo
27
+
[string][Parameter()]$LogoURLico,# URL for Publisher .ico logo
28
+
[string][Parameter()]$KeyVault,# Name of KeyVault
29
+
[switch][Parameter()]$Quiet#if set, only show error / warning output from script commands
30
+
)
31
+
13
32
# Define the warning message
14
33
$message=@"
15
34
The SaaS Accelerator is offered under the MIT License as open source software and is not supported by Microsoft.
Write-Host"Thank you for agreeing. Proceeding with the script..."-ForegroundColor Green
36
-
37
-
38
-
Param(
39
-
[string][Parameter(Mandatory)]$WebAppNamePrefix,# Prefix used for creating web applications
40
-
[string][Parameter()]$ResourceGroupForDeployment,# Name of the resource group to deploy the resources
41
-
[string][Parameter(Mandatory)]$Location,# Location of the resource group
42
-
[string][Parameter(Mandatory)]$PublisherAdminUsers,# Provide a list of email addresses (as comma-separated-values) that should be granted access to the Publisher Portal
43
-
[string][Parameter()]$TenantID,# The value should match the value provided for Active Directory TenantID in the Technical Configuration of the Transactable Offer in Partner Center
44
-
[string][Parameter()]$AzureSubscriptionID,# Subscription where the resources be deployed
45
-
[string][Parameter()]$ADApplicationID,# The value should match the value provided for Active Directory Application ID in the Technical Configuration of the Transactable Offer in Partner Center
46
-
[string][Parameter()]$ADApplicationSecret,# Secret key of the AD Application
47
-
[string][Parameter()]$ADMTApplicationIDAdmin,# Multi-Tenant Active Directory Application ID for the Admin Portal
48
-
[string][Parameter()]$ADMTApplicationIDPortal,#Multi-Tenant Active Directory Application ID for the Landing Portal
49
-
[string][Parameter()]$SQLDatabaseName,# Name of the database (Defaults to AMPSaaSDB)
50
-
[string][Parameter()]$SQLServerName,# Name of the database server (without database.windows.net)
51
-
[string][Parameter()]$LogoURLpng,# URL for Publisher .png logo
52
-
[string][Parameter()]$LogoURLico,# URL for Publisher .ico logo
53
-
[string][Parameter()]$KeyVault,# Name of KeyVault
54
-
[switch][Parameter()]$Quiet#if set, only show error / warning output from script commands
55
-
)
56
55
57
56
# Make sure to install Az Module before running this script
0 commit comments