Oct 09 2018 03:36 PM
Oct 09 2018 03:36 PM
is there a way to assign direct routing phone numbers to Auto Attendants or Call Queues. That seems to be an obvious function but I have not found any documentation. It always refers to service numbers.
Apr 24 2019 11:34 AM
@domienxylos: As long as you do not have submenu "Call Queue" and "Auto Attendant" in menu "Voice" in Teams portal, your tenant is not already migrated to the new CQ/AA. Migration of all tenants is ongoing. Just wait, until these two submenus are available and retry then.
Apr 25 2019 12:51 PM
When executing the 'Set-CsOnlineVoiceApplicationInstance' command I get the error 'The application instance does not have a valid license. I assigned the corresponding resource account an Enterprise E1 license with Phone System add-on.
Anything else I'm missing?
PS> Set-CsOnlineVoiceApplicationInstance -TelephoneNumber +31887769999 -Identity ******@pro****.nl
The application instance does not have a valid license.
+ CategoryInfo : PermissionDenied: (Set-CsOnlineVoiceApplicationInstance:String) [Set-CsOnlineVoiceApplicationInstance], UnauthorizedAccessException
+ FullyQualifiedErrorId : UnAuthorized,Microsoft.Rtc.Management.Hosted.Bvd.SetVoiceAppEndpointCmdlet
+ PSComputerName : admin1e.online.lync.com
May 09 2019 05:59 PM - edited May 09 2019 06:00 PM
@Remco van Noorloos I am getting the same problem you mention here, unable to assign a direct routing number to a new resource account in teams. The resource account is licensed with E3 and Phone System add-on.
Have you been able to move past it?
May 14 2019 12:19 AM
Exactly the same problem with my tenant, resource account needs a direct dial number and has been licensed with E3 and phone and still the command to assign comes back with license invalid.
Please Microsoft, sort it out !
May 15 2019 04:04 AM
I found either a solution or a workaround. Instead of using Set-CsOnlineVoiceApplicationInstance, use Set-CsOnlineApplicationInstance -Identity RA_ADDRESS -OnPremLineURI +1xxxxxxxxxx. This worked for me when the Set-CsOnlineVoiceApplicationInstance gave the licensing error.
May 15 2019 07:31 AM
@SSchumacher_C1 Did you run anything else on-premise (new-cshybridapplicationendpoint) or is your setup a pure online one? Because I was able to run the command but still Teams is replying with a SIP 404 Not Found.
Thanks for your input!
May 15 2019 07:40 AM
Just want to add that I have had a response from the product group about this (via a really useful MVP guy - Thanks Matt..), this is what was said.
I believe there is an update for the docs to apply a Direct Routing number to the Resource account that should go out soon. The command should be: Set-CsOnlineApplicationInstance -Identity firstname.lastname@example.org -OnpremPhoneNumber tel:+14250000000
I'm about to test this my side, I'll update the post if it works.
May 15 2019 07:47 AM
Just a slight modification, the number can't have a "tel" at the front of it. So this just worked for me:
Set-CsOnlineApplicationInstance -Identity ReceptionAA@domain.com -OnpremPhoneNumber "+441234567890"
Hope this is useful.
May 15 2019 08:08 AM
May 15 2019 08:15 AM
May 15 2019 09:58 AM
I have been working with microsoft support, and we have narrowed down that you need to use set-csonlineapplicationinstance (no voice word), and they say you have to wait 24 hours, however i have done this and waited 24 hours, some have started working, whilst others havent.
Did you do anything else?
May 15 2019 11:12 AM
May 15 2019 11:13 AM
is this 24 hour wait period, you refer to, from the time you create the Csonlineapplicationinstance? We are working to create an AutoAttendant in hybrid scenario online.
so far have created the resource account online, cannot get phone number assigned to this object. tried with onpremphonenumber parameter suggested, but get an error the parameter does not exist.
and an onpremise cshybridapplicationendpoint object which i was able to get a phone number associated.
Any thoughts or ideas would be greatly appreciated!
May 15 2019 11:32 AM
May 15 2019 11:48 AM
@Joe Williams I have been burning the candle both ends at this, my life seems to be teams...
I have just tried one more command that i think i may have applied the other day to the resource account
grant-CsOnlineVoiceRoutingPolicy -Identity **resourceaccountname** -PolicyName **policyname**
I ran something on the other 2 accounts to get them working, but i cannot remember what, so trying to work it out now :(
May 15 2019 01:07 PM
May 15 2019 02:10 PM