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

Summary

In FNMS System Settings > Inventory, you have selected the 'Synchronize assigned user with calculated user' option, but the assigned user is not being populated with the calculated user automatically.

Symptoms

In FNMS System Settings > Inventory, you have selected the 'Synchronize assigned user with calculated user' option. With this option, when the calculated user is updated for a device, the assigned user is also updated and this is a one-way relationship: changes to the assigned user do not affect the calculated user.  Despite the option being enabled, the assigned user is not being populated with the calculated user automatically.

Cause

When the system setting 'Synchronize assigned user with calculated user' is enabled, two settings are enabled, one of which is a hidden setting that informs the Compliance Importer to synchronize the assigned user with the calculated user for every computer, essentially performing a full update. This hidden setting fails to be enabled on versions of FNMS prior to 2020 R2, and thus previous devices are never synchronized. By manually enabling the hidden setting 'RecalculateAllCalculatedUsersNextImport' this forces the full update to take place.

After import has completed, the hidden setting is reverted to 0 so that the full update is not performed each time the import runs. This is beneficial for performance reasons, as there are database triggers in place that should ensure the synchronization continues on a computer-by-computer basis.

In FNMS 2020 R2, the issue relating to the hidden setting not being enabled, thus not resulting in a full synchronization has been resolved.

However, in some circumstances there may be cases whereby the database triggers designed to update each computer record may still not work as expected. In this case, please raise a support case with Flexera to investigate.

Steps To Reproduce

Enable the 'Synchronize assigned user with calculated user' and run a Compliance Import. You will notice the Assigned User value is not changing.

Workaround

Please open the following file in a text editor:

%ProgramData%\Flexera Software\Compliance\ImportProcedures\Inventory\Writer\User.xml

Locate and change the following lines:


SELECT @AssignedUserSync = CASE ISNUMERIC(SettingValue) WHEN 1 THEN CONVERT(bit, SettingValue) ELSE 0 END FROM dbo.ComplianceTenantSetting WHERE SettingNameID = 67 -- 'RecalculateAllCalculatedUsersNextImport'

And:

UPDATE dbo.ComplianceTenantSetting SET SettingValue = '0' WHERE SettingNameID = 67 -- 'RecalculateAllCalculatedUsersNextImport'

In both lines, please change the 67 (highlighted in red) to 66 and save the file.

The next Compliance Import should now update the Assigned User to the same value as the Calculated User.

Additional Information

If you are using FlexNet Manager Suite Cloud, please log a support case and if applicable, we will make the above changes.

Was this article helpful? Yes No
100% helpful (2/2)
Comments
dennis_reinhardt
By
Level 7

Hi,

is this fixed in 2019 R1/R2 ?

ChrisG
By Community Manager Community Manager
Community Manager

From reporting that I can see, this problem is not showing up as being fixed in either the 2019 R1 or R2 release.

Be aware that the resolution described in this article will only be possible to apply with FlexNet Manager Suite On-premises; the resolution described will not be possible with FlexNet Manager Suite Cloud.

WStephans
By
Level 6
Is there a fix for this for FNMS Cloud?
kent-au
By
Flexera Alumni

@WStephans unfortunately I can't see any plan to fix this on FNMS Cloud (yet). You can log a ticket to Flexera Support to get the workaround applied for your organization.

Cheers, Kent

WStephans
By
Level 6
@kent-au actually I raised a ticket and Flexera issued a hot fix and they are now syncing as expected.
winvarma
By
Level 10

Hi ,

Where should this setting should be replaced with 66 is it in the Batch server/Beacon or both.

 

dennis_reinhardt
By
Level 7

As @WStephans mentioned, there should be a hotfix available. Is fix already integrated in FNMS 2020 R1?

ChrisG
By Community Manager Community Manager
Community Manager

@dennis_reinhardt - in @WStephans' case the fix was actually a configuration change made in the backend of FlexNet Manager Suite Cloud, which the Flexera Support team was able to arrange. For FlexNet Manager Suite On-premises, the workaround described in this article stil applies to the 2020 R1 release.

vmarinaro
By
Level 2

Hi All,

we are experiencing some issues as well on this topic.

Do you know how often this syncro runs? Once in a week?

Thanks and regards,

Valeria 

ChrisG
By Community Manager Community Manager
Community Manager

@vmarinaro - when it is working, the synchronization would normally occur daily. However obvious if the problem described in this article has not been fixed on your system then the synchronization would never occur.

mfranz
By Level 17 Champion
Level 17 Champion

I just applied the fix on two 2020 R1 environments.

Version history
Last update:
‎Jul 21, 2021 07:00 AM
Updated by: