You must have an Active Directory Domain Services (AD DS) domain available for the Azure Stack HCI system to join.
There is no support for joining Azure Stack HCI to Entra ID. You can, however, deploy VMs onto Azure Local that can be Entra ID joined
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin