SCSM 2016 and Primary Computer User Relationship
We migrated rather than upgraded to 2016. We still have a 2012 development environment sitting here with the same settings as the 2016 environments (production and test) and the primary computer user is not updating in the 2016, but is in the 2012 environments.
Comments
If no one else on the community has an upgraded environment, let me know after a few days and I'll upgrade my 2012 test environment so I can see if I can re-produce it for you.
In the mean time, hows the ConfigMgr connector health? Is it pulling in up-to-date data?
Are there any errors in the event log?
Hi Brett, we migrated using the Lifecycle app, it's not an upgrade.
ConfigMgr connector health seems fine, we are getting data from it. No errors in the event log.
The 2012 one is showing data for the primary computer user, but the 2016 one's aren't. The 2016 dev environment is a fresh install of SM 2016 and the data is populated initially from the lifecycle app. The configmgr connector in dev is then added and same issue as production.
Don't know if this will help but the following are the queries I use to find the primary user / computer information from the SM database.
use ServiceManager
select BME1.FullName as ComputerName, BME2.FullName as PrimaryOwner,rs.* from RelationshipView RS left join BaseManagedEntity BME1 on RS.SourceEntityId=BME1.BaseManagedEntityId
left join BaseManagedEntity BME2 on RS.TargetEntityId=BME2.BaseManagedEntityId
where BME1.FullName LIKE'%POR-MXL724119S%' and
RelationshipTypeId in
(select RelationshipTypeId from RelationshipType where RelationshipTypeName='System.computerPrimaryuser')
Select * from LFXSTG.v_Cached_CMv5_TopComputerUser
where PrincipalName LIKE '%POR-MXL7170DPC%%'
Order By Lfx_Timestamp DESC