Issue Description:
"PS D:\Program Files (x86)\UiPath\Orchestrator\Tools\Cli" .\UiPath.Orchestrator.Cli.exe protected-configuration -pd;secureAppSettings; -site UiPath Orchestrator -app &/& System.NullReferenceException: Object reference not set to an instance of an object. at System.Xml.XmlNode.RemoveChild(XmlNode oldChild) at UiPath.Orchestrator.Cli.ProtectedConfiguration.WebConfigDoc.RemoveNLogConfigSection() at UiPath.Orchestrator.Cli.ProtectedConfiguration.WebConfigDoc.UpdateWebConfigBeforeProtection() at UiPath.Orchestrator.Cli.ProtectedConfiguration.ProtectedConfigurationCommandHandler.ProtectWebConfig(String[] args, String webConfigPath, String dllConfigPath) at UiPath.Orchestrator.Cli.ProtectedConfiguration.ProtectedConfigurationCommandHandler.HandleAsync(String[] args)
Resolution: Ensure the uipath.orchestrator.dll.config file configSestions to be like the below format or if it is a different format or it is required to remove the secureAppSettings in the uipath.orchestrator.dll.config , then update the secureAppSettings under the configSections and save.