SAMP - Atlassian Jira & Confluence Cloud Integration - User is empty for Software Subscription recordIssue ProblemUsers are experiencing issues with user mapping for Confluence Cloud subscriptions in the Software Asset Management workspace. Specifically, some user records in the Software Subscription table have an empty 'User' field despite having a User Principal Name (UPN). Facts According to KB0855779 - Empty "User" records in "Software Subscriptions" table "samp_sw_subscription", The "User" is identified using the "User principal name" when the subscription is created.The "User principal name" is considered as the email and is used to query the servicenow "Users" table.If no record is found in the "Users" table, the "User principle name" is trimmed to have only the "Username" and this "Username" is used to query the "Users" table.The "Users" field will be empty if no record is found either with email or with the username in the "Users" table.In short, even if the "User principal name" is not empty, the "User" field will be empty if there are no "Users" on this instance with the "User principal name" as their email id or with the same username. However, Direct SSO integrations with Atlassian products, like Jira and Confluence Cloud, the email visibility is dependent of Account level setting and may or may not be fetched in the API. Instead we populate the field Custom Properties [custom_properties] with the user's Email if available, and then populate the User Principal Name [user_principal_name] with with <Username> (<external userid>) combination to maintain the uniqueness.When the subscriptions are created and user column is being rsolved we try to check with the User Principal Name [user_principal_name] column to find a match in User [sys_user] table, if not we do check custom_properties for email property to resolve sys_user.Hence some users have been resolved in the system where email from custom_properties match with sys_user's email field, for others, since the user does not exist matching with email, the user field is not resolved. Release Software Asset Management plugin Cause It is expected behaviour that User is empty for Software Subscription records if: UPN is not in the correct format when the corresponding user is in the ServiceNow sys_user table. See acceptable UPN formats below: User Name (external_user_id)User.name@example.comUser Name Custom Properties [custom_properties] field does not contain a valid Email or is empty. custom_properties={"Email"=""} User.Source field is set to "Manual" Download Software Subscriptions Job will only update a record if User.Source=Integration.Note: Manually updating this field to "Integration" may break the system and it is highly suggested that this is avoided. Resolution Steps to Resolve 1. Verify that the User Principal Name (UPN) from Confluence matches the email or username of the corresponding user in the ServiceNow sys_user table. The system attempts to map users by first checking the UPN against the sys_user table's email field, then trimming the UPN to the username if no match is found. 2. Ensure that custom_properties containing an email address (if present) are correctly formatted and match a valid user in the sys_user table.3. For unmapped users, confirm that the UPN format (e.g., 'User Name (external_user_id)') does not prevent automatic mapping, as the system expects email-based matches. 4. If discrepancies persist, review the integration logs for errors such as 'updateUserActivityIfLaterUsingUser expects either (or both) an externalUserId or a userPrincipalName' and ensure the Confluence Direct SSO Integration is configured correctly. 5. If UPNs have incorrect formatting, ensure email can be retrieved using the API, and saved in Custom Properties. If further issues persist, please raise a ticket with ServiceNow Support.