r/PowerShell • u/dlukz • Apr 22 '26
TeamsVoice powershell help?
I am putting together some tools to make my co-workers jobs easier and I have alost everything automated. What I am trying to do is unassigned a phone number from a user, and change the "License Usage" from User to VoiceApp. I can do this from the Teams AC but I cannot seem to find any way to do this within the MicrosoftTeams powershell tools.
4
Upvotes
View all comments
Show parent comment
1
u/dlukz Apr 29 '26
If pictures were allowed here It would be a lot easier to explain. Basically when I go to
Teams AC > Voice > Phone Numbers > Search for a phone number. I can see
Phone number, Assigned To, Number Provider, Location, Emergency Address, Available usages, Licensed usages, Assignment status.
The Available usages says "User, Voice App". If I try to assign that number to a licensed Resource Account no user is found. I have to click "Change Usage" up in the edit, route, release actions. Once that is changed to "Voice App" the Edit option allows me to set "Which service do you want to assign this number to?" where I can select resource account. Then resource account is able to be assigned.