Product: PowerShell Universal Version: 2026.1.3
I’ve configured PSU to use OpenId authentication with Azure EntraId. This works fine, but I see the UserPrincipalName in the top right of the pages as the logged on user.
I’m trying to figure out how I can display the ‘DisplayName’ instead of the UPN.
I’ve been looking around in the documentation and the forum, but can’t find the solution.
Anybody an idea on how to get the DisplayName shown instead of the UserPrincipalName.
The DisplayName is a part of the $ClaimsPrincipal
Any help is appreciated
fc5175ea629f8431e0e4b7d5c690e78dbf1fa75c.png
57acf063dc08404238d70d8ef0d6192b50983f3d.png