Hi @Tor, Thanks for reaching out to the SQL Forum with your question.
Thanks for sharing the error details. The MBAM installer script fails because Set-MachineUserOnSql calls GetHostByName, which cannot resolve a server name when a custom SQL port is appended (e.g. ServerName,14330). Instead, you’ll need to pass only the hostname or FQDN in -SqlServerName, specify the instance separately with -SqlInstanceName if applicable, and use the -IncludePortInSPN switch so the Service Principal Name includes your custom port. Also confirm that the SQL service account has the correct SPN registered (check with setspn -L <account>), and that DNS resolves the hostname without the port. If certificate retrieval still fails, you can manually export the SQL Server Identification certificate from the SQL instance and import it into the MBAM web server.
https://learn.microsoft.com/en-us/troubleshoot/windows-server/windows-security/mbam-setup-fails
https://learn.microsoft.com/en-us/intune/configmgr/protect/deploy-use/bitlocker/setup-websites
Thanks,
Lakshmi.