Thank you for reaching out to us!
I understand your query when you search for the user in power BI workspace it appears with the correct synchronized UPN and email. However, when the workspace is refreshed it changes to Username: Joe Bloggs and email: Joe.Bloggs@userdomain.com.
Could you please check external user's UPN is changing in the Entra ID (AAD) or only in the Power BI workspace.
In Power BI, user identities are managed through Entra ID (Azure AD).
When a user is added to a Power BI workspace, their identity is verified through Entra ID . The user's identity is represented by a User Principal Name (UPN), which is a unique identifier for the user in Entra ID. The UPN is typically in the format of an email address, such as "joe.bloggs@mycompany.com".
During a workspace refresh, Power BI queries the underlying data sources to update the information in the workspace. If the UPN is not explicitly defined in the data source, Power BI might default to using the email address as the identifier for the user. This is because email addresses are often used interchangeably with UPNs in Entra ID.
For example, if a user's UPN is "joe.bloggs#EXT#@mycompany.onmicrosoft.com", but the data source does not include this UPN, Power BI might default to using the user's email address, such as "joe.bloggs@userdomain.com", as the identifier for the user during the refresh process.
This behavior can cause issues with user access to the workspace if the user's email address is not recognized as a valid identifier for the user. To avoid this issue, it is recommended to explicitly define the UPN for each user in the data source, or to ensure that the user's email address is recognized as a valid identifier for the user in Entra ID.
The other side review the Entra ID sign-in logs and Power BI audit logs for any failed authentication attempts or errors related to this user.
Hope this helps. Do let us know if you any further queries.
Thanks,
Akhilesh.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.