Azure AD Enterprise connection - change what is registret as user_id

Is it possible to change what is registered as user_id for user logging in though an Azure AD integration? Currently user_id is logged as
which is not very usefull, since it is different for different applications that integrates with Azure AD and it can not be used to get user information from Azure AD.

Could it instead be changed to
which is a unique userid across all applications?