Forum Discussion
New-CSTeamsUnassignedNumberTreatment Not Working - You are not setup to use this calling feature
Hi all,
We are off-boarding users and when we remove their licences and their phone number associated with their account, I would like a way to forward that number back into a AA or CQ.
When I tried to achieve this via the new CMDLETS in PS I am getting the error You are not setup to use this calling feature.
I have a virtual licence added to the AA that is expecting to receive the call and my PS Script is below:-
PS C:\WINDOWS\system32> $RAObjectId = (Get-CsOnlineApplicationInstance -Identity Email address removed).ObjectId
PS C:\WINDOWS\system32> New-CsTeamsUnassignedNumberTreatment -Identity MainAA -Pattern "^([\+]4410000000$)" -TargetType ResourceAccount -Target $RAObjectId -TreatmentPriority 2
Anyone else have any issues with this or can provide any guidance ?
5 Replies
- Hi,
I am sure you running the commands as per the below article
https://docs.microsoft.com/en-us/microsoftteams/routing-calls-to-unassigned-numbers
Can you share the details around the error or the screenshot if possible?
With Regards,
Satish U- _R1c0_99Copper ContributorHi,
Yes I have run the correct commands as per message. The issue occurs when you phone the number that is unassigned it does not forward to the AA or CQ I specified and just plays
a message that 'I am not setup to use this calling feature' I have assigned the Virtual Licence to the AA and CQ's. Are there any other prereqs that could be missing ?
PS C:\WINDOWS\system32> $RAObjectId = (Get-CsOnlineApplicationInstance -Identity Email address removed).ObjectId
PS C:\WINDOWS\system32> New-CsTeamsUnassignedNumberTreatment -Identity MainAA -Pattern "^([\+]4410000000$)" -TargetType ResourceAccount -Target $RAObjectId -TreatmentPriority 2- gazza80Copper ContributorI have exactly the same issue, did you ever resolve this?