Hi @Alberto Leonor · The text #EXT# in the UPN refers to external (guest) user. All guest users' UPNs are in this format. It doesn't mean that user is corrupted. It is sometimes confusing when we see User type as member for these users, which happens when we convert guest user to member user.
A user can be added as guest user to multiple tenants and when we connect via Connect-AzureAD PowerShell cmdlet, it gets connected to one of those tenants. In order to connect to a specific tenant, we need specify tenant name by using -TenantId switch, when connecting to Azure AD, as shown below:
Connect-AzureAD -TenantId tenant_name.onmicrosoft.com
You can also specify the TenantID as GUID as well in the cmdlet.
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.