Latest commit 12253de Feb 23, 2017 @amarzavery amarzavery committed on GitHub Merge pull request #2075 from csmengwan/master
fix a CDN custom domain capitalization issue
Failed to load latest commit information.
Documentation Adds role assingment steps when using the node cli. Feb 7, 2017
Tools merging autorest to master Feb 28, 2016
examples Update api version in tests Sep 21, 2016
jsdocs updated the layout for docs and improved the readme experience Jul 17, 2015
lib remove generate.cmd file Feb 23, 2017
runtime fix webResource.js casing issue that happened while publishing previo… Feb 2, 2017
scripts setup for hyak gen only Mar 23, 2016
tasks Add publish all packages bash script Jun 10, 2015
test Merge pull request #2073 from jasper-schneider/feature/batch0117 Feb 22, 2017
.gitignore Updated grunt gh-pages Jul 20, 2016
.jshintignore updated jshint May 4, 2015
.jshintrc Disabling unused for now Apr 8, 2014
.npmignore merging autorest to master Feb 28, 2016
.travis.yml updated travis to run tests against the latest 4.x version of node.js Sep 2, 2016 🐛 Fix link to guidelines in Jan 17, 2016 updated changlog and modified it to an md file Sep 7, 2016
LICENSE.Apache.txt updated license info, package versions, azure.js file and removed api… Sep 2, 2016
LICENSE.MIT.txt updated license info, package versions, azure.js file and removed api… Sep 2, 2016 Updates the readme to more clear and direct. Feb 6, 2017
gruntfile.js gruntfile fix and changes to retryfilter for isNan check Oct 29, 2016
gulpfile.js Regenerate Batch REST proxies Feb 2, 2017
nodeSDK.njsproj initial commit Dec 22, 2016
nodeSDK.sln merging autorest to master Feb 28, 2016
package.json Revert change to top level package.json Feb 22, 2017
swagger_to_sdk_config.json Update API versions to the next version Oct 12, 2016

Azure SDK for Node.js

NPM version Build Status

This project provides a Node.js package that makes it easy to consume and manage Microsoft Azure Services.


This module includes all of the individual Azure Node.js modules in a single place. If your application only needs access to specific management modules, see the list of individual modules below.

$ npm install azure

This will allow you access to some helper methods as well as all of the individual modules. For example, by installing the azure module, you can directly require and use the ms-rest-azure common module. This organization method allows for submodules (and peer dependant modules) to always be in sync with each other.

Note: we haven't provided fine-grained modules for every supported Microsoft Azure services yet. This will come soon. If there is a module that you find is missing, open an issue so that we may prioritize it in the backlog.


There are three ways to authenticate using this module, use this guide to determine which method to use.

Install individual modules

Azure Service Install Command
Gallery npm install azure-gallery
Graph npm install azure-graph
Key Vault npm install azure-keyvault
Monitoring npm install azure-monitoring
Scheduler npm install azure-scheduler
Service Fabric npm install azure-servicefabric
Service Bus npm install azure-sb
Storage npm install azure-storage
Batch npm install azure-batch
Azure Resource Management (ARM)
Authorization npm install azure-arm-authorization
Batch npm install azure-arm-batch
CDN npm install azure-arm-cdn
Commerce/Billing/Usage npm install azure-arm-commerce
Compute npm install azure-arm-compute
Datalake Analytics azure-arm-datalake-analytics
Datalake Storage azure-arm-datalake-storage
DNS npm install azure-arm-dns
DevTest Labs npm install azure-arm-devtestlabs
EventHubs azure-arm-eventhub
HDInsight npm install azure-arm-hdinsight
HDInsightJobs azure-arm-hdinsight-jobs
Insights npm install azure-arm-insights
IotHub npm install azure-arm-iothub
Key Vault npm install azure-arm-keyvault
Notification Hubs azure-arm-notificationhubs
PowerBi Embedded azure-arm-powerbiembedded
Redis Cache npm install azure-arm-rediscache
Resource Manager npm install azure-arm-resource
ServerManagement azure-arm-servermanagement
Servicebus azure-arm-sb
Storage npm install azure-arm-storage
Traffic Manager npm install azure-arm-trafficManager
Virtual Networks npm install azure-arm-network
WebApps (WebSites) npm install azure-arm-website
Azure Service Management (ASM)
Compute npm install azure-asm-compute
HDInsight npm install azure-asm-hdinsight
Service Bus npm install azure-asm-sb
Service Manager npm install azure-asm-mgmt
Store npm install azure-asm-store
Scheduler npm install azure-asm-scheduler
SQL Database npm install azure-asm-sql
Storage npm install azure-asm-storage
Subscriptions npm install azure-asm-subscription
Traffic Manager npm install azure-asm-trafficManager
Virtual Networks npm install azure-asm-network
WebSites npm install azure-asm-website
Base Libraries
Common Functionality (for ASM & ARM clients) npm install azure-common
Common Functionality for ARM clients generated from Autorest (Generic) npm install ms-rest
Common Functionality for ARM clients generated from Autorest (Azure) npm install ms-rest-azure

Need Help?

Related Projects


This project is licensed under MIT and Apache-2.0.

  • "MIT" license is usually used for the client libraries generated using Autorest that are targeting ARM (V2 version of Azure REST API). The license can be found in "LICENSE.MIT.txt" file in this repository.
  • "Apache-2.0" license is usually used for the client libraries generated using an internal code generator that are targeting ASM (V1 version of Azure REST API). The license can be found in "LICENSE.Apache.txt" file in this repository.


Getting Started Developing

Want to get started hacking on the code, super! Follow the following instructions to get up and running. These instructions expect you have Git and a supported version of Node installed.

  1. Fork it
  2. Git Clone your fork (git clone {your repo})
  3. Move into sdk directory (cd azure-sdk-for-node)
  4. Install all dependencies (npm install)
  5. Run the tests (npm test). You should see all tests passing.

Contributing Code to the Project

You found something you'd like to change, great! Please submit a pull request and we'll do our best to work with you to get your code included into the project.

  1. Commit your changes (git commit -am 'Add some feature')
  2. Push to the branch (git push origin my-new-feature)
  3. Create new Pull Request