microsoft / 2LCS

Lifecycle Services Companion App for administrators
MIT License
104 stars 55 forks source link

Export list of NuGet packages from shared asset library and fix export of user list issue #88

Closed FH-Inway closed 9 months ago

FH-Inway commented 9 months ago

This pull requests contains two changes:

1) Export a list of NuGet packages from the shared asset library

This is the main part of the pull requests. The exported list is in .csv format and can be used to identify which version of a NuGet packages asset contains a specific platform or application version.

Screenshot of 2LCS showing the menu item to open the form to export the list of NuGet packages

Screenshot of the 2LCS form to export the list of NuGet packages

D365FO NuGet Packages.csv

Screenshot of the exported list open in Excel, filtered to a specific application version and the asset version highlighted

2) Fix an issue with the export of a list of LCS users

The existing export of users of LCS into a .csv file had an issue on some projects where Microsoft added some new "Service provider" users. Those users have no SystemRoleId in the payload received from LCS, which broke the parsing of the payload.