From 703c8fc803cd1fcd1e904dc6e7fe459c4e303cf9 Mon Sep 17 00:00:00 2001 From: Sergiu Nicuta Date: Tue, 19 Jul 2022 10:49:09 +0000 Subject: [PATCH] missing variables for app pool and ssl --- SP/Automation/AutoSPInstallerModule.psm1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SP/Automation/AutoSPInstallerModule.psm1 b/SP/Automation/AutoSPInstallerModule.psm1 index e1c6b5f..7213e55 100644 --- a/SP/Automation/AutoSPInstallerModule.psm1 +++ b/SP/Automation/AutoSPInstallerModule.psm1 @@ -3501,6 +3501,12 @@ Function CreateUserProfileServiceApplication ([xml]$xmlInput) $mySiteName = $mySiteWebApp.name $mySiteURL = ($mySiteWebApp.url).TrimEnd("/") $mySitePort = $mySiteWebApp.port + $mySiteAppPool = $mySiteWebApp.ApplicationPool + $mySiteUseSSL = $false + If ($mySiteURL -like "https://*") + { + $mySiteUseSSL = $true + } $mySiteDBServer = $mySiteWebApp.Database.DBServer # If we haven't specified a DB Server then just use the default used by the Farm If ([string]::IsNullOrEmpty($mySiteDBServer))