Forum Discussion
JFM_12
Nov 19, 2025Iron Contributor
Get VoiceRoutingPolicy of a resource account
Hello Is there a PowerShell Script that pulls out the VRP of a resource account which is assigned to a CQ or AA. Thank you very much JFM_12
Prasad_Das-MSFT
Microsoft
Nov 20, 2025Hi JFM_12 , thanks for raising your issue. Is this what you are looking for?
Get-CsOnlineVoiceRoutingPolicy (MicrosoftTeams) | Microsoft Learn
- JFM_12Nov 20, 2025Iron Contributor
Hello Prasad_Das-MSFT
Thank you for your answer
But this command does not show which AA/CQ have this VRP.
Thanks
JFM_12- Prasad_Das-MSFTNov 20, 2025
Microsoft
Okay, got it. I came across this documentation Get-CsOnlineUser (MicrosoftTeams) | Microsoft Learn which states that, 'VoiceRoutingPolicy' attributes is no longer relevant to Teams and has been dropped from the output.
- JFM_12Nov 20, 2025Iron Contributor
Hi Prasad_Das-MSFT
Thanks
Yes but if you opened lots of AA/CQ and needed to see if aand which VRP where assigned than you would need a script.
Do you have a solution?
Regards
JFM_12