Thanks for posting your question in the Microsoft Q&A forum.
There’s a Group Policy controlling the display of local accounts: Navigate to Computer Configuration > Administrative Templates > System > Logon. And enable "Enumerate local users on domain-joined computers".
** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **