Install/OnPrem/XP/Scaled/xDBAutomationReporting/Install-AutomationReporting.ps1
. "$PSScriptRoot\..\..\..\..\InstallParams.ps1" -Force Import-Module "$PSScriptRoot\..\..\..\..\..\Common\SSL\SSL-Module.psm1" -Force Import-Module "$PSScriptRoot\..\..\..\Install-Module.psm1" -Force $ErrorActionPreference = "Stop" $prefix = $global:Configuration.prefix $siteName = $global:Configuration.xDB.automationReportingHostName $hostNames = @($siteName) $license = $global:Configuration.license $sqlServer = $global:Configuration.sql.serverName $sqlSitecorePassword = $global:Configuration.sql.sitecorePassword $installDir = $global:Configuration.xDB.installDir $environment = $global:Configuration.xConnect.environment $logLevel = $global:Configuration.xConnect.logLevel $package = Get-ChildItem -Path "$SAFInstallPackageDir\*" -Include *marketingautomationreporting.scwdp.zip* $sifConfiguration = GetSIFConfiguration -Name "xconnect-xp1-MarketingAutomationReporting.json" -PackageName $package -DefaultValue "$PSScriptRoot\xconnect-xp1-MarketingAutomationReporting.json" $clientCert = BuildSitecoreClientCertName -Prefix $prefix $serverCert = BuildSitecoreServerCertName -Prefix $prefix Write-Output "Install xDB Automation Reporting started..." $sitecoreParams = @{ Path = $sifConfiguration Package = $package.FullName LicenseFile = $license Sitename = $siteName XConnectCert = $clientCert SSLCert = $serverCert SqlDbPrefix = $prefix SqlReferenceDataUser = "$($prefix)_referencedatauser" SqlReferenceDataPassword = $sqlSitecorePassword SqlMarketingAutomationUser = "$($prefix)_marketingautomationuser" SqlMarketingAutomationPassword = $sqlSitecorePassword SqlServer = $sqlServer XConnectEnvironment = $environment XConnectLogLevel = $logLevel InstallDirectory = $installDir } Install-SitecoreConfiguration @sitecoreParams AddWebBindings -SiteName $siteName -HostNames $hostNames AddWebBindings -SiteName $siteName -HostNames $hostNames -SSLCert $serverCert Write-Output "Install xDB Automation Reporting done." |