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
This seems to happen because $SPCentralAdmin.iisettings[0].ServerBindings.Port returns null on your farm... meaning you are only using https with 443 (SecureBindings.Port)
[ SP2019APP1 ] Generating the SharePoint Prerequisites Installation...
[ SP2019APP1 ] Generating the SharePoint Binary Installation...
[ SP2019APP1 ] Scanning the SharePoint Farm...
Exception calling "PerformClick" with "0" argument(s): "An invalid value for CentralAdministrationPort is specified: 0"
At C:\Program Files\WindowsPowerShell\Scripts\SharePointDSC.Reverse.ps1:6256 char:13
My farm resource look like this:
SPFarm CreateSharePointFarm
{
IsSingleInstance = "Yes"
Ensure = 'Present'
FarmConfigDatabaseName = $configdata.farm.ConfigDB
DatabaseServer = $configdata.farm.ConfigDbServer
FarmAccount = $credsLocalAdmin
Passphrase = New-Object System.Management.Automation.PSCredential ('Passphrase', (ConvertTo-SecureString $Passphrase -AsPlainText -Force));
AdminContentDatabaseName = $configdata.farm.CentralAdminContentDB
RunCentralAdmin = $Node.roles.Contains("CA-PRIMARY")
CentralAdministrationPort = 22641
CentralAdministrationUrl = "https://sp2019app1.sky.net"
CentralAdministrationAuth = 'NTLM'
ServerRole = "CUSTOM"
PSDSCRunAsCredential = $credsLocalAdmin
Same environment with http and same port work flawlessly. Tested multiple times on multiple servers. (Windows 2016 + SP2019 May CU)
The text was updated successfully, but these errors were encountered: