Sunday, April 8, 2018

Skype for Business Online - Additional Emergency Locations in PowerShell


Assigning a phone number to a user in Skype for Business Online requires you to first assign an Emergency Location. The Emergency Location is used for saftety and liability purposes in case someone were to dial an emergency number (ex: 911 in the USA). The location is sent to the PSAP (Public Safety Access Point, i.e. police, firefighter, ambulance, etc) so they can show up to the correct address and provide help.

Take a look at the picture below from my tenant. Notice under 'Dallas,' my address is listed.  Underneath 'Dallas' is my actual apartment number (all addresses blacked out for privacy). Skype for Business Online allows for a parent/child relationship with Emergency Locations. For example, if there are multiple floors in a building, you could create a parent location of 'Minneapolis Office' with each floor of the building as a child item (Floor 1, Floor 2, etc).


While this flexibility is great, it presents problems when assigning Emergency Locations in bulk for new users. Lets say I want to assign 50 users to an additional location listed under 'Dallas' above. I haven't found a good way to bulk assign locations in the admin panel, so I'm going to use PowerShell instead.

The command 'Get-CsOnlineLisCivicAddress' lists all Emergency Locations with one cavaet - it doesn't list any of the 'additional locations'. Why? I have no clue, and frankly, it's kind of annoying. So how do we get the list of additional locations? Here's a command I've found useful:

Get-CsOnlineLisLocation|Where-Object {$_.location -ne $null}|ft description, location

When I run this command on my tenant, here's what I see for my apartment in Dallas:


So, how do I assign additional users to this location? The 'Set-CsOnlineVoiceUser' cmdlet takes a'locationid' object.I can get the'locationid' from the 'Get-CsOnlineLisLocation' cmdlet in our previous step and set the 'location' object to be the location I found running the 'Get-CsOnlineLisLocation' command above:



Now we can use the 'locationid' within the 'Set-CsOnlineVoiceUser' cmdlet to set the Emergency Location for a user to an additonal location listed underneath an Emergency Location:Set-CsOnlineVoiceUser -identity joshc -telphonenumber +19725551212 -location id 87b77092-4945-9824-38ada04012e7


If anyone has found a better way of dealing with 'additional locations' within PowerShell, feel free to leave a comment below.

87 comments:

  1. I thought haven’t read such distinctive material anywhere else on-line.24 hour emergency room

    ReplyDelete
  2. Overnight success is a myth. Small businesses must understand this basic fact. Generally, when a new business starts selling on social media, there is palpable excitement is achieving more than set targeted sales.Socialener

    ReplyDelete
  3. I am extremely delighted in for this web journal. Its a useful subject. It help me all that much to take care of a few issues. Its chance are so awesome and working style so rapid. Skype Offline Installer

    ReplyDelete
  4. The repayment options are easy and flexible, and small business owners can work with the funder to set the method that most suits their requirements.
    bookkeeping chicago

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. I exactly got what you mean, thanks for posting. And, I am too much happy to find this website on the world of Google. dj logo design

    ReplyDelete
  8. Other expenses may also include marketing and advertising, employee related, facilities and equipment, vehicle related expenses, insurance, and tax related expenses.bad credit loans ga

    ReplyDelete
  9. The material and aggregation is excellent and telltale as comfortably. One Stop Online Magazine

    ReplyDelete
  10. When you step away for a moment, you allow yourself the opportunity to recharge and refresh. salesforce consultant

    ReplyDelete
  11. Notwithstanding, in a perfect world you, as the proprietor of the business, ought to have at any rate a large portion of the underlying capital you need. In the event that you are right now in a vocation, you can begin setting aside.book sand online

    ReplyDelete
  12. Thanks for Nice and Informative Post. This article is really contains lot more information about This Topic.  Online Business

    ReplyDelete
  13. hen you're able to walk around in a virtual 3D world, meeting other members of the online dating site. brisbane executive portraits

    ReplyDelete
  14. This is my first time i visit here and I found so many interesting stuff in your blog especially it's discussion, thank you. brisbane corporate headshot photography

    ReplyDelete
  15. Great info! I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have  Affiliate Marketing

    ReplyDelete
  16. Ace4sure is the website that deals in preparation material for the exam for many years. According to my exposure and research, this is the right platform where you can get exact 70-483 Dumps Questions.

    ReplyDelete
  17. The substance is additionally conveyed to the crowd as and when they demand for it. ExcelR Digital Marketing Course in Sydney

    ReplyDelete
  18. Hey there, Can I copy this post image and implement it on my personal web log? telemarketing.direct marketing.lead generation

    ReplyDelete
  19. i angle quite a few stuff and i found that the strengthening of writing to clearifing that precisely hurting to proclaim turned into extraordinarily exceptional for that excuse i'm impressed and ilike to arrive again in compound.. Guest Post

    ReplyDelete
  20. I wanted to thanks for this notable proper to apply!! I really loved all tiny little bit of it. I have you bookmarked your web site to test out the introduced belongings you pronounce. Grayvee Journey

    ReplyDelete
  21. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work... Bolt Posts

    ReplyDelete
  22. This is a really good post this. Truly, a magnificent art is making an article. And you are quite a master at that art. I would tell you to keep on continuing this awesome work of yours Full Service Online Marketing Agency Sydney

    ReplyDelete
  23. Hi, I find reading this article a joy. It is extremely helpful and interesting and very much looking forward to reading more of your work.. Bolt Posts

    ReplyDelete
  24. If there are multiple floors in a building, you could create a parent location of 'Minneapolis Office' with each floor of the building as a child item. משרד יחסי ציבור ברמת גן

    ReplyDelete
  25. When your website or blog goes live for the first time, it is exciting. That is until you realize no one but you and your. Marble Falls Insurance

    ReplyDelete
  26. This is valid for these constant ladies who bolster their spouses in offering the home. payroll admin services

    ReplyDelete
  27. Some truly wonderful work on behalf of the owner of this internet site , perfectly great articles . The Best Bulk SMS Service Provider in Dubai UAE

    ReplyDelete
  28. Hi, I find reading this article a joy. It is extremely helpful and interesting and very much looking forward to reading more of your work.. Bolt Posts

    ReplyDelete
  29. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. online business checking

    ReplyDelete
  30. The assumption with a business opportunity is that there is a market for the product or service and there is the potential for profit. business opportunities

    ReplyDelete
  31. Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!Thanks Bitcoin profit review

    ReplyDelete
  32. This website is awesome. I constantly come across something new & different right here. Thank you for that data. artdaily

    ReplyDelete
  33. Attend The PMP Certification From ExcelR. Practical PMP Certification Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The PMP Certification.
    ExcelR PMP Certification

    ReplyDelete
  34. Business trips can often take place at the last minute. Something crops up that just absolutely has to be sorted out face to face. Which means if your job could potentially involve business travel, it's essential to be prepare as much as possible in advance. 출장안마

    ReplyDelete
  35. Have one of those jobs where your employers send you to different business trips to do inspections, buy materials and/or attend conferences? Well, it's common especially if you're working in a multinational company. Because of this, you will need a good form of transportation. You will need car rental corporate discounts to help you. 출장서비스

    ReplyDelete
  36. Webbiekoala is an online digital marketing agency that specializes in growing business online by using a suit of digital marketing packages such as website design, SEO, PPC and social media marketing
    website SEO

    ReplyDelete
  37. Oh i really envy the way you post topics, how i wish i could write like that . Check Book

    ReplyDelete
  38. janusgames Thanks for sharing such a very good blog and very informative. I found so many interesting stuff in your blog especially its discussion. I like this very much

    ReplyDelete
  39. This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck.

    Digital marketing course mumbai

    ReplyDelete
  40. Your work is very good and I appreciate you and hopping for some more informative posts
    Please check this ExcelR Courses in Digital Marketing in Pune

    ReplyDelete
  41. This is what I’ve been looking for. Had a lot of doubts regarding Cloud computing. Thanks for sharing nice information.
    Azure Training in Hyderabad

    ReplyDelete
  42. Your blog is splendid, I follow and read continuously the blogs that you share, they have some really important information. M glad to be in touch plz keep up the good work.
    Digital Marketing Courses in Pune

    ReplyDelete
  43. Usually I do not learn post on blogs, but I would like to say that this write-up very forced me to check out and do so! Your writing style has been amazed me. Thank you, quite nice article. Leadership

    ReplyDelete
  44. This is a splendid website! I"m extremely content with the remarks!.
    ExcelR Solutions

    ReplyDelete
  45. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.
    Machine Learning Training In Hyderabad

    Machine Learning Course In Hyderabad

    ReplyDelete
  46. This is the right blog for wants to be familiar with this topic. You know a lot its almost challenging to argue along with you (not too I just would want…HaHa). You actually put a new spin on the topic thats been written about for years. Great stuff, just excellent! 스포츠중계


    ------------------------------

    Hello! Nice post! Please do keep us posted when we can see a follow up! 해외축구중계

    ReplyDelete
  47. You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. https://www.seoragno.com

    ReplyDelete
  48. Attend The Digital Marketing Courses in Bangalore From ExcelR. Practical Digital Marketing Courses in Bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Digital Marketing Courses in Bangalore.
    Microsoft Windows Azure Training | Online Course | Certification in chennai | Microsoft Windows Azure Training | Online Course | Certification in bangalore | Microsoft Windows Azure Training | Online Course | Certification in hyderabad | Microsoft Windows Azure Training | Online Course | Certification in pune

    ReplyDelete
  49. Attend The Machine Learning Course Bangalore From ExcelR. Practical Machine Learning course Bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Machine Learning course Bangalore.
    Machine Learning Course Bangalore

    ReplyDelete
  50. Excellent .. Amazing .. I’ll bookmark your blog and take the feeds also…I’m happy to find so many useful info here in the post, we need work out more techniques in this regard, thanks for sharing.  Aegean College

    ReplyDelete
  51. I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. Capital Funding

    ReplyDelete
  52. Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for. Jasa Pengiriman dari China yang Murah dan Cepat

    ReplyDelete
  53. The context has been explained really well. Looking forward to see more of such informative updates
    Machine Learning Training in Hyderabad

    ReplyDelete
  54. I really enjoy reading of your article. I wanted to inform you that you have people like me who appreciate your work. sms bomber apk editor no wifi games

    ReplyDelete
  55. Wow, What a Excellent post. I really found this to much informatics. It is what i was searching for.I would like to suggest you that please keep sharing such type of info.Thanks dubai business setup

    ReplyDelete
  56. Invest some energy forthright considering whether social media is directly for your business. Indian smm panel

    ReplyDelete
  57. If you too are blessed with good programming knowledge or analytical skills and want your knowledge to be used to the best and wish to stand out against the competition, get yourself enrolled to The Best Institute 360DigiTMG data science course in hyderabad

    ReplyDelete
  58. Cool stuff you have got and you keep update all of us. online tax preparation

    ReplyDelete
  59. You made such an interesting piece to read, giving every subject enlightenment for us to gain knowledge. Thanks for sharing the such information with us to read this... corner pedestal sink

    ReplyDelete
  60. Wow, What a Excellent post. I really found this to much informatics. It is what i was searching for.I would like to suggest you that please keep sharing such type of info.Thanks forsage

    ReplyDelete
  61. Wow, What a Excellent post. I really found this to much informatics. It is what i was searching for.I would like to suggest you that please keep sharing such type of info.Thanks B2B Mailing List

    ReplyDelete
  62. An example of this is Atypical Mole Syndrome. This syndrome brings about a tendency inside the physique to kind an abnormal amount of moles on our skin. This is some thing that we could have obtained from our parents or our grandparents and we’ve no manage over regardless of whether we obtain it or not. Dime carts

    =====
    some webhosting companies give free domains upon signing up with one of their plans;; 메이저놀이터

    ReplyDelete
  63. Wow, What a Excellent post. I really found this to much informatics. It is what i was searching for.I would like to suggest you that please keep sharing such type of info.Thanks IT Solutions

    ReplyDelete
  64. I seen your blog post yesterday morning and i also are actually analyzing this item on a normal schedule. You’ve substantial amount of tips correct here so i take pleasure in your thing of an web presence absurdly. Maintain the actual great jobs! 먹튀검증

    ReplyDelete
  65. By utilizing the best apparatuses and programming, you can realize which undertakings should be done, the best colleague to do them and the particular time frame the work ought to be finished. visit this website

    ReplyDelete
  66. Our expert roofers can help your business with commercial roof replacement. Regardless of the services your business needs our expert roofers will ensure your satisfaction expert roofer

    ReplyDelete
  67. A very exciting go through, I may not agree completely, but you do make some really legitimate factors. 바카라사이트


    ---------------------------------------


    Howdy! I know this is kind of off topic but I was wondering if you knew where I could find a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having difficulty finding one? Thanks a lot! 파워사다리

    ReplyDelete
  68. I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post. CA Firms in Ghaziabad

    ReplyDelete
  69. There are lots of interesting points outlined in this article but I don’t know if I go along with every one of them. There is certainly some validity but I am going to hold my opinions until I look into it more. Fine article, thanks and we want more! Added to FeedBurner too 토토사이트

    ReplyDelete
  70. I was reading some of your content on this website and I conceive this internet site is really informative ! Keep on putting up. Buy herbal medicine online

    ReplyDelete
  71. I’m really impressed together with your writing skills as smartly with the format on your weblog. Is this a paid subject or did you modify it your self? Either way keep up the excellent high quality writing, it is rare to look a nice weblog like this one nowadays.. 먹튀

    ReplyDelete
  72. In an element buy understanding, the business itself buys a solitary strategy on every proprietor, turning out to be both the approach proprietor and recipient. Manila Water

    ReplyDelete
  73. thank you for sharing – Gulvafslibning | Kurt Gulvmand with us, I believe – Gulvafslibning | Kurt Gulvmand really stands out : D. 토토사이트

    ReplyDelete
  74. Or on the other hand has the opportunity simply come to do a self-investigation of your business? Expert Circle

    ReplyDelete
  75. A wave of our all-natural Lelu Soaps and bath products, treat yourself with your body submerged in our rich combinations of natural oils and butters. They are beneficial to the skin; revitalize your energy and help you achieve mental serenity. Made with all natural ingredients and 100% pure and natural additives and essential oils to soak into your skin and exfoliate and leave your skin feeling amazing!
    natural handmade soap , natural soap bar , Vegan Bath Bomb , Lelu Bath Fizz Collection , clean beauty products , organic skincare

    ReplyDelete
  76. Thanks for the Information.Interesting stuff to read.Great Article.
    I enjoyed reading your post, very nice share.
    Data Science Course Training in Hyderabad

    ReplyDelete
  77. It is truly a well-researched content and excellent wording. I got so engaged in this material that I couldn’t wait reading. I am impressed with your work and skill. Thanks. automated audit workpaper software

    ReplyDelete
  78. area 51 iptv
    The face of television has changed over the years. For decades, people had to deal with cable providers to deliver content to their TV sets. However, this model has been replaced by modern technology innovations. The game-changing services like Area 51 IPTV have entered the entertainment market to disrupt the traditional model once and for all.

    ReplyDelete
  79. Whenever I have some free time, I visit blogs to get some useful info. Today, I found your blog with the help of Google. Believe me; I found it one of the most informative blog. audit management tool

    ReplyDelete
  80. kore trak watch makes it easy to understand and monitor your health. A quick glance at your wrist and you will be able to track all your key vitals such as heart rate, steps taken, and calories burned.
    The no-fuss interface also allows you quickly to set up your workout with less planning so you can just focus on achieving your goals.

    ReplyDelete
  81. Have your accountant, advisor and business lawyer by your side when preparing the presentation. You don't want to give wrong figures during the presentation and fall for a bad deal at the end of it. how to extract business emails from google

    ReplyDelete