Hi @Jesús Valencia,
Thank you for posting to Microsoft Community.
Based on your description, I understand there are some concerns about msExchHideFromAddressLists attribute.
However, I have the following about the attribute to share with you.
If these objects were on-premises and then migrated to Exchange Online, then the change should occur on-premises. And if you are using Azure AD Connect, you should modify the msExchHideFromAddressLists attribute on your internal Active Directory. You need to use on-premises Exchange server to extend your AD schema. To manage the mail related attributes from on-premises AD with directory synchronization without an on-premises Exchange is not officially supported.
Sometimes the msExchangeHideFromAddressLists attribute on the on-premises AD won't sync to the AAD account unless you have the mailNickname attribute set as well. Please set mailNickname to match the username portion of their email address. You could refer to Changes to msExchangeHiddenFromAddressList not updated - Exchange | Microsoft Learn for more information.
Also, please try Get-ADObject to get the msExchangeHideFromAddressLists attribute as below. Get-ADObject is a bit more specific in what you give it as an identity, so pipe the results of Get-ADUser into Get-ADObject to check what attributes are showing.
Get-ADUser username | Get-ADObject -properties *
Hope it helps, if there is anything else you need help with, please let me know.