This small PowerShell-based tool is intended to help you with enabling users for Microsoft Teams Direct Routing.
The script opens a graphical user interface (GUI) to simplify a few basic enablement tasks. It's called the Teams Direct Routing User Number Assigner (TDR-UNA) and can be used to enable a single Teams User for Teams Direct Routing.
Use on your own risk.
- Recent PowerShell version
- PowerShell Script Execution must be enabled (Get-/Set-ExecutionPolicy ...)
- Microsoft Teams Module V5.8.0
- Microsoft 365 Global Admin, Teams Administrator, Teams Communication Administrator or similair
- GUI for Teams Direct Routing user enablement
- Connect to Microsoft Teams (only with device authentication)
- Disconnect Microsoft Teams
- List all users
- Select a user
- Assign a phone number (direct routing)
- Release a phone number (direct routing)
- Assign a online voice routing policy
- Assign a calling policy
- Assign a (tenant) dialplan
- Deleting user phone numbers (new)
- Export users and phone numbers to CSV
- Not checking for assigned licsense sku or Assigned Plan for a listed or selected user
- No automatic refresh of users after a change to a user was applied is implemented
- Resource accounts are listed
- Changing resource account numbers is not implemented/supported/tested
- Deleting resource account phone numbers in not implemented/supported/tested
- No code-signed script
- No certificate-based authentication (maybe in a future release)
- No application-based access token authentication (maybe in a future release)
- Blog: https://www.erik365.blog
- Mastodon https://techhub.social/@erik365online
- Twitter: https://twitter.com/erik365online