PowerShell script which collects assigned and unassigned phone numbers from Microsoft Teams and shows you where they are used. Supports Users, Meeting Rooms, Online Application Instances (Resource Accounts) and Dial-in Conference numbers.
The script can output the results to the console or to a CSV.