Manage Phone Numbers

For full instructions on how to build this code sample from scratch, look at Quickstart: Manage Phone Numbers


Install the package

npm install @azure/communication-phone-numbers --save

Before running sample code

  1. Open an instance of PowerShell, Windows Terminal, Command Prompt or equivalent and navigate to the directory that you'd like to clone the sample to.
  2. git clone
  3. With the Communication Services procured in pre-requisites, add connection string to environment variable using below command


Run the code

From a console prompt, navigate to the directory containing the phone-numbers-quickstart.js file, then execute the following node command to run the app.

node phone-numbers-quickstart.js