Hi,
Do you have multiple domain controllers? If yes, there could be replication delays across DCs. As powershell may query different DCs, you may get differnet results if the users are recently added.
Best Regards,
Ian
============================================
If the Answer 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.