User ID / UserPrincipalName domain O365 not equal to local domain, Domain Authentication

Showing results for 
Show  only  | Search instead for 
Did you mean: 

User ID / UserPrincipalName domain O365 not equal to local domain, Domain Authentication

L1 Bithead



We have a problem for a customer with authentication.

The local Netbios Domain is  localdomain (example) The local Dns Domain is localdomain.lan (DC=localdomain, DC=Lan)

90% of the users have an Office365 maibox . The link was made with the UPN and The UPN was modified.


Eg : I have a user LOCALDOMAIN\Test  = Test@localdomain.lan but Tthe UPN is eg (example)

User Agent (last version) are installed on Domain Controllers (Wmi seems to give other problems)


The user logs into the domain with LOCALDOMAIN\Test only.  But Sometimes the authentication gives test@localdomain.lan (Windows 10  and often when computer goes out from sleep, but we do not know why) on User Agent and Controller.


So test@localdomain.lan is not in any attributes of Active Directory for the users And Palo ALto does not get the correct user (no match) . The logs display test@localdomain.lan, but no match  to the rules. On the User Agent logs, we have test@localdomain.lan.


We can modify the link to Office365 (the customer does not like)  or add a new attribute (we have to maintain it)  but  is there another solution ? I tried to add sAMAccountname@localdomain.lan in the Alternate username but it does not work ( User Authentication/Group Mapping Settings)


Thank you 

  • 0 replies
  • 101 Subscriptions
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!