@Francis Mendez Thank you for reaching out to us, how are you syncing the users from on-premise AD/DC to Entra ? Are you using Microsoft Entra Connect Sync tool to sync users from on-premise AD to Entra ?
Very well explained here - https://www.youtube.com/watch?v=4Ip3h4kJxmw about this scenario which you are trying to achieve, please go through this.
Let me know if you have any further questions, feel free to post back.