ameyer505 / D365FOAdminToolkit

A D365FO administrative toolkit created by and for the community
MIT License
22 stars 9 forks source link

Dev userlastlogin -> Dev branch #10

Closed ameyer505 closed 5 months ago

prorook commented 5 months ago

@ameyer505 Is this safe? Isn't SysUserLog being deprecated real soon? https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/fin-ops/get-started/removed-deprecated-features-platform-updates#system-admin--inquiries--user-log

ameyer505 commented 5 months ago

@prorook this is a valid point - the user log definitely has its gaps/issues but it looks like the deprecation only impacts the User Log form as the tracking functionality still seems to be working as I have an updated 10.0.38 environment that I built the feature on.

The 'correct' solution would be to use the telemetry data in LCS, but I do not think LCS has an API we can utilize. The other option is to use the customer available telemetry to get this data (something like this: https://alexdmeyer.com/2023/03/28/utilizing-telemetry-data-within-d365fo/) but not all clients have this data enabled.

So utilizing this telemetry data is not a viable solution by itself, but there could be an option to allow an end user to 'enable' the telemetry data usage via configuration and then reports like this could utilize this telemetry data instead of the SysUserLog.