I'm trying to create the Office Online Server Farm using DSC. I'm using version 1.5. I'm thinking the internalUrl is causing the issue, is there a URL I could use to test this?
this is the log for the error I'm getting:
{"time": "2022-05-04T14:59:29.783+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ Start Resource ] [[OfficeOnlineServerInstall]InstallBinaries] "},
{"time": "2022-05-04T14:59:29.783+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ Start Test ] [[OfficeOnlineServerInstall]InstallBinaries] "},
{"time": "2022-05-04T14:59:29.798+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Testing for installation of Office Online Server"},
{"time": "2022-05-04T14:59:29.798+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Getting details of installation of Office Online Server"},
{"time": "2022-05-04T14:59:29.798+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Checking file status of C:\Installers\OOS\setup.exe"},
{"time": "2022-05-04T14:59:29.798+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Path refers to drive C"},
{"time": "2022-05-04T14:59:29.845+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Volume is a fixed drive: Perform Blocked File test"},
{"time": "2022-05-04T14:59:29.845+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Checking status now"},
{"time": "2022-05-04T14:59:29.861+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] File not blocked, continuing."},
{"time": "2022-05-04T14:59:29.876+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Current Values: Ensure=Absent; Path=C:\Installers\OOS\setup.exe"},
{"time": "2022-05-04T14:59:29.892+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Target Values: Ensure=Present; Path=C:\Installers\OOS\setup.exe; Verbose=True"},
{"time": "2022-05-04T14:59:29.892+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ End Test ] [[OfficeOnlineServerInstall]InstallBinaries] in 0.1090 seconds."},
{"time": "2022-05-04T14:59:29.892+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ Start Set ] [[OfficeOnlineServerInstall]InstallBinaries] "},
{"time": "2022-05-04T14:59:29.892+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Starting installation of Office Online Server"},
{"time": "2022-05-04T14:59:29.907+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Checking file status of C:\Installers\OOS\setup.exe"},
{"time": "2022-05-04T14:59:29.907+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Path refers to drive C"},
{"time": "2022-05-04T14:59:29.939+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Volume is a fixed drive: Perform Blocked File test"},
{"time": "2022-05-04T14:59:29.939+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Checking status now"},
{"time": "2022-05-04T14:59:29.939+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] File not blocked, continuing."},
{"time": "2022-05-04T14:59:29.939+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Checking if Path is a UNC path"},
{"time": "2022-05-04T15:00:49.144+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Installation of Office Online Server succeeded."},
{"time": "2022-05-04T15:00:49.144+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ End Set ] [[OfficeOnlineServerInstall]InstallBinaries] in 79.2530 seconds."},
{"time": "2022-05-04T15:00:49.144+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ End Resource ] [[OfficeOnlineServerInstall]InstallBinaries] "},
{"time": "2022-05-04T15:00:49.144+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ Start Resource ] [[OfficeOnlineServerFarm]LocalFarm] "},
{"time": "2022-05-04T15:00:49.144+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ Start Test ] [[OfficeOnlineServerFarm]LocalFarm] "},
{"time": "2022-05-04T15:00:49.207+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerFarm]LocalFarm] Testing settings for local Office Online Server"},
{"time": "2022-05-04T15:00:49.285+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerFarm]LocalFarm] Office Online Server 2016 install detected. All parameters are enabled"},
{"time": "2022-05-04T15:00:55.457+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerFarm]LocalFarm] It does not appear that this machine is part of an Office Online Server farm."},
{"time": "2022-05-04T15:00:55.488+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ End Test ] [[OfficeOnlineServerFarm]LocalFarm] in 6.3440 seconds."},
{"time": "2022-05-04T15:00:55.520+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ Start Set ] [[OfficeOnlineServerFarm]LocalFarm] "},
{"time": "2022-05-04T15:00:55.520+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerFarm]LocalFarm] Updating settings for local Office Online Server"},
{"time": "2022-05-04T15:00:55.582+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerFarm]LocalFarm] Office Online Server 2016 install detected. All parameters are enabled"},
{"time": "2022-05-04T15:00:55.582+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerFarm]LocalFarm] It does not appear that this machine is part of an Office Online Server farm."},
{"time": "2022-05-04T15:00:55.582+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerFarm]LocalFarm] Installing new WebAppsFarm"},
{"time": "2022-05-04T15:00:55.988+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerFarm]LocalFarm] Performing the operation \"CreateNewFarm\" on target \"OfficeWebAppsFarm\"."},
{"time": "2022-05-04T15:00:59.707+00:00", "type": "error", "message": "Value does not fall within the expected range."},
{"time": "2022-05-04T15:00:59.832+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ End Set ] [[OfficeOnlineServerFarm]LocalFarm] in 4.3130 seconds."},
{"time": "2022-05-04T15:00:59.832+00:00", "type": "error", "message": "The PowerShell DSC resource '[OfficeOnlineServerFarm]LocalFarm' with SourceInfo '::275::13::OfficeOnlineServerFarm' threw one or more non-terminating errors while running the Set-TargetResource functionality. These errors are logged to the ETW channel called Microsoft-Windows-DSC/Operational. Refer to this channel for more details."},
{"time": "2022-05-04T15:00:59.926+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [] Consistency check completed."}
I'm trying to create the Office Online Server Farm using DSC. I'm using version 1.5. I'm thinking the internalUrl is causing the issue, is there a URL I could use to test this?
this is the log for the error I'm getting:
{"time": "2022-05-04T14:59:29.783+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ Start Resource ] [[OfficeOnlineServerInstall]InstallBinaries] "}, {"time": "2022-05-04T14:59:29.783+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ Start Test ] [[OfficeOnlineServerInstall]InstallBinaries] "}, {"time": "2022-05-04T14:59:29.798+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Testing for installation of Office Online Server"}, {"time": "2022-05-04T14:59:29.798+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Getting details of installation of Office Online Server"}, {"time": "2022-05-04T14:59:29.798+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Checking file status of C:\Installers\OOS\setup.exe"}, {"time": "2022-05-04T14:59:29.798+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Path refers to drive C"}, {"time": "2022-05-04T14:59:29.845+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Volume is a fixed drive: Perform Blocked File test"}, {"time": "2022-05-04T14:59:29.845+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Checking status now"}, {"time": "2022-05-04T14:59:29.861+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] File not blocked, continuing."}, {"time": "2022-05-04T14:59:29.876+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Current Values: Ensure=Absent; Path=C:\Installers\OOS\setup.exe"}, {"time": "2022-05-04T14:59:29.892+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Target Values: Ensure=Present; Path=C:\Installers\OOS\setup.exe; Verbose=True"}, {"time": "2022-05-04T14:59:29.892+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ End Test ] [[OfficeOnlineServerInstall]InstallBinaries] in 0.1090 seconds."}, {"time": "2022-05-04T14:59:29.892+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ Start Set ] [[OfficeOnlineServerInstall]InstallBinaries] "}, {"time": "2022-05-04T14:59:29.892+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Starting installation of Office Online Server"}, {"time": "2022-05-04T14:59:29.907+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Checking file status of C:\Installers\OOS\setup.exe"}, {"time": "2022-05-04T14:59:29.907+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Path refers to drive C"}, {"time": "2022-05-04T14:59:29.939+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Volume is a fixed drive: Perform Blocked File test"}, {"time": "2022-05-04T14:59:29.939+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Checking status now"}, {"time": "2022-05-04T14:59:29.939+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] File not blocked, continuing."}, {"time": "2022-05-04T14:59:29.939+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Checking if Path is a UNC path"}, {"time": "2022-05-04T15:00:49.144+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerInstall]InstallBinaries] Installation of Office Online Server succeeded."}, {"time": "2022-05-04T15:00:49.144+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ End Set ] [[OfficeOnlineServerInstall]InstallBinaries] in 79.2530 seconds."}, {"time": "2022-05-04T15:00:49.144+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ End Resource ] [[OfficeOnlineServerInstall]InstallBinaries] "}, {"time": "2022-05-04T15:00:49.144+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ Start Resource ] [[OfficeOnlineServerFarm]LocalFarm] "}, {"time": "2022-05-04T15:00:49.144+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ Start Test ] [[OfficeOnlineServerFarm]LocalFarm] "}, {"time": "2022-05-04T15:00:49.207+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerFarm]LocalFarm] Testing settings for local Office Online Server"}, {"time": "2022-05-04T15:00:49.285+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerFarm]LocalFarm] Office Online Server 2016 install detected. All parameters are enabled"}, {"time": "2022-05-04T15:00:55.457+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerFarm]LocalFarm] It does not appear that this machine is part of an Office Online Server farm."}, {"time": "2022-05-04T15:00:55.488+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ End Test ] [[OfficeOnlineServerFarm]LocalFarm] in 6.3440 seconds."}, {"time": "2022-05-04T15:00:55.520+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ Start Set ] [[OfficeOnlineServerFarm]LocalFarm] "}, {"time": "2022-05-04T15:00:55.520+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerFarm]LocalFarm] Updating settings for local Office Online Server"}, {"time": "2022-05-04T15:00:55.582+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerFarm]LocalFarm] Office Online Server 2016 install detected. All parameters are enabled"}, {"time": "2022-05-04T15:00:55.582+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerFarm]LocalFarm] It does not appear that this machine is part of an Office Online Server farm."}, {"time": "2022-05-04T15:00:55.582+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerFarm]LocalFarm] Installing new WebAppsFarm"}, {"time": "2022-05-04T15:00:55.988+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [[OfficeOnlineServerFarm]LocalFarm] Performing the operation \"CreateNewFarm\" on target \"OfficeWebAppsFarm\"."}, {"time": "2022-05-04T15:00:59.707+00:00", "type": "error", "message": "Value does not fall within the expected range."}, {"time": "2022-05-04T15:00:59.832+00:00", "type": "verbose", "message": "[PZUYSOOS01]: LCM: [ End Set ] [[OfficeOnlineServerFarm]LocalFarm] in 4.3130 seconds."}, {"time": "2022-05-04T15:00:59.832+00:00", "type": "error", "message": "The PowerShell DSC resource '[OfficeOnlineServerFarm]LocalFarm' with SourceInfo '::275::13::OfficeOnlineServerFarm' threw one or more non-terminating errors while running the Set-TargetResource functionality. These errors are logged to the ETW channel called Microsoft-Windows-DSC/Operational. Refer to this channel for more details."}, {"time": "2022-05-04T15:00:59.926+00:00", "type": "verbose", "message": "[PZUYSOOS01]: [] Consistency check completed."}
this is the DSC code for the farm:
` OfficeOnlineServerInstall InstallBinaries { Ensure = "Present" Path = $oosInstallerFolder + "setup.exe" }
if($Node.Role -eq 'PrimaryNode') { OfficeOnlineServerFarm LocalFarm { InternalURL = "https://officeonline.contoso.com" EditingEnabled = $true DependsOn = "[OfficeOnlineServerInstall]InstallBinaries" } }`