Bitlocker portals issue - unable to get machine's domain name

Parag Morye 21 Reputation points
2021-08-26T15:42:50.76+00:00

Hello,

I am trying to create BitLocker portals using MBAMWebSiteInstaller.ps1 but it is giving an error as “Set-MachineUserOnSql: Unable to get machine's domain name” and “Install-MBAMWebSites: Failure setting machine account privileges on SQL”. Below snap for ref.
126710-mbam-issue.png

The environment is SCCM 2103 version with E-HTTP mode. The database is on a remote cluster SQL server. SCCM server computer account and user account both have sysadmin permission on SQL server.

Checked the below link and tried to edit the MBAMWebSiteInstaller.ps1 but it didn’t work.

https://social.technet.microsoft.com/Forums/en-US/6d7b6ced-ff6b-4649-a0a0-48b642687c0f/sccm-1910-bitlocker-management-portals-will-not-install?forum=ConfigMgrCBGeneral

Seems to be something that needs to edit in MBAMWebSiteInstaller.ps1 but unable to figure it out.

@Parag Morye

Microsoft Configuration Manager
0 comments No comments
{count} votes

Accepted answer
  1. AllenLiu-MSFT 41,691 Reputation points Microsoft Vendor
    2021-08-27T07:33:55.627+00:00

    Hi, @Parag Morye
    Thank you for posting in Microsoft Q&A forum.

    May we know what's the command-line exactly did you run? And how did you edit your command-line following that link?
    And the error message suggest you to re-run the script after specifying the NetBIOS domain name in the DomainName parameter, did you try to add the parameter and re-run?

    Here is the explanation about -DomainName:
    -DomainName Specify the NetBIOS domain name of the server with the help desk or self-service web portal role. Only necessary if the NetBIOS domain name doesn't match the DNS domain name. This configuration is also known as a disjointed domain namespace. For example, -DomainName fabrikham where the DNS domain name is contoso.com.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Parag Morye 21 Reputation points
    2021-09-01T15:09:01.513+00:00

    Sorry for the delay in reply.

    The issue got resolved by using -DomainName parameter in the command line.

    Thank you for your reply and suggestion.

    0 comments No comments