Hello,
Assuming that you want to recover a deleted Domain account, you can follow the different methods described in the next official guide:
--------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept as answer--