I gather you're following https://learn.microsoft.com/en-us/entra/identity/domain-services/tutorial-configure-ldaps - correct? If so, at which point exactly the procedure described in that article fails - and what's the error message?
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