Business Central 24.2 on-premise protocol mismatch between the client and the server.
Hello guys
Run your ps-command with parameter -PublishFolder
New-NAVWebServerInstance -WebServerInstance $ServerInstance -Server Localhost -ServerInstance $ServerInstance -ClientServicesPort $CPort -ManagementServicesPort $MPort -ClientServicesCredentialType NavUserPassword -PublishFolder "C:\Program Files\Microsoft Dynamics 365 Business Central\$($Version)\Web Client\WebPublish"
PublishFolder
Specifies the location of the WebPublish folder that contains the content file that is required for Dynamics NAV Web client.
Default path '%systemroot%\Program Files\Microsoft Dynamics NAV[version number]\Web Client\WebPublish' is not working from version 24, 25, . if you have multiple versions installed on your server