tag:blogger.com,1999:blog-2156539095375223979.post5449791538403364625..comments2024-03-20T03:35:01.157-04:00Comments on Ken's Unified Communications Blog: Tenant Dial Plans in Skype for Business OnlineKen Laskohttp://www.blogger.com/profile/14298995806059683301noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-2156539095375223979.post-55106498712966882082020-11-23T13:57:37.346-05:002020-11-23T13:57:37.346-05:00Yes, you can definitely do this. You need to put t...Yes, you can definitely do this. You need to put the usernames and LineURIs in a CSV file with the headers "username,phone". Then you import that using:<br />$UserData = Import-Csv UserList.csv<br /><br />Then you can simply pipe this to something like:<br />ForEach ($User in $UserData) {<br /> Set-CsUser -Identity $User.username -OnPremLineURI $User.phone -EnterpriseVoiceEnabled $true -HostedVoiceMail $true<br /> Grant-CsOnlineVoiceRoutingPolicy -Identity $User.Username -PolicyName "No Restrictions"<br />}Ken Laskohttps://www.blogger.com/profile/14298995806059683301noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-80803958435429847192020-11-18T04:36:50.520-05:002020-11-18T04:36:50.520-05:00Hi Ken, is there a script to assign VoiceRoutePoli...Hi Ken, is there a script to assign VoiceRoutePolicy and Numbers to 2000 users in one Tenancy. hate to run commnds multiple times:<br />Set-CsUser -Identity "[USERNAME]@[COMPANY].com" -OnPremLineURI tel:+852XXXXXXXX -EnterpriseVoiceEnabled $true -HostedVoiceMail $true<br /><br />Grant-CsOnlineVoiceRoutingPolicy -Identity "[USERNAME]@[COMPANY].com" -PolicyName "No Restrictions"Anonymoushttps://www.blogger.com/profile/13206350972329002022noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-6682381062933794962020-11-13T08:57:20.296-05:002020-11-13T08:57:20.296-05:00I've never tried using that method in SfB or T...I've never tried using that method in SfB or Teams.Ken Laskohttps://www.blogger.com/profile/14298995806059683301noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-61369976789009357402020-11-12T19:10:47.999-05:002020-11-12T19:10:47.999-05:00Hi Ken, Just wanted to get more clarity on support...Hi Ken, Just wanted to get more clarity on supported regex methods in Skype and teams.<br />Are the named group regex supported<br />Anonymoushttps://www.blogger.com/profile/02073328614130484335noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-74835338902511441072019-06-28T09:56:34.281-04:002019-06-28T09:56:34.281-04:00Oh, and to your second question, I actually don...Oh, and to your second question, I actually don't know how long it takes for dialplans to fully take effect. In my experience, you have to wait an indeterminate amount of time for nearly ANYTHING to take effect. My attitude is "If something isn't working the way you expect, wait some more".Ken Laskohttps://www.blogger.com/profile/14298995806059683301noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-49595685170225401262019-06-28T09:55:25.495-04:002019-06-28T09:55:25.495-04:00Hey Stephen,
The best way to define 0 as an operat...Hey Stephen,<br />The best way to define 0 as an operator would be to create an extension rule in UCDialplans. Select the "Single" checkbox, and input the receptionist's phone number under "Main Number Prefix" and 0 under "Extension Start". It will then create a normalization rule that will translate 0 to that user.Ken Laskohttps://www.blogger.com/profile/14298995806059683301noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-2065233986671530412019-06-26T20:28:05.423-04:002019-06-26T20:28:05.423-04:00Hi Ken, loving the optimizer, thank you so much. I...Hi Ken, loving the optimizer, thank you so much. I've donated and will try to keep at it for each deployment.<br />Just two queries. <br />1. What would be the best way to define 0 as operator/reception?<br />2. What amount of time do you normally allow for dial plan to take full effect on clients i.e. dialling iOS Teams app?Stephen Bellnoreply@blogger.com