Hopefully by now you are aware that Microsoft will be enforcing the usage of Dynamics 365 team member licences this year details here. There is a report you can access that helps determine if you have any non conformant team members licences. You need to go to Power Platform admin centre https://admin.powerplatform.microsoft.com/ and from the menu select the CDS option as shown.
Use the Change filters options to select the environment and date range you want to check. After that select the download option and then the Non-Conformant Usage report. This will download a CSV file showing which users are likely to break the Dynamics 365 team member licence. This report is caveated that it is there to assist and does not guarantee conformity.