This blog article outlines the new method for counting licenses based on security roles.
This feature was enabled in order to deal with a common issue that all users with an assigned Dynamics 365 will automatically become enabled users in every Dynamics 365 tenant and thus counts towards our license although the users have no access to the tenant.
Once enabled, our licensing will count users only if they have at least one security role assigned which is not the case for auto-assigned users from the Office 365 portal.
To activate this feature the only thing you need to do is create a new settingsKey for AutoMerge called “CountUsersWithSecurityRolesOnly” with value “true” as you can see in the figure below. More information about how to create settingsKeys can be found here.
Please notice, that you need to do so in every org where users without security roles should not count towards our license.
That’s it! We appreciate your feedback! Please share your thoughts by sending an email to firstname.lastname@example.org.