1.0.1-preview • Published 7 years ago

azure-arm-intune v1.0.1-preview

Weekly downloads
2,103
License
MIT
Repository
github
Last release
7 years ago

Deprecation Warning

This package is deprecated. Intune now uses the Microsoft Graph API implementation, see https://aka.ms/intune-graph-api

Microsoft Azure SDK for Node.js - Intune

This project provides a Node.js package that makes it easy to manage Microsoft Intune Resources. Right now it supports:

  • Node.js version: 6.x.x or higher
  • API version: 2015-01-14-preview

How to Install

npm install azure-arm-intune

How to Use

Authentication, client creation and getting location by hostname

var msRestAzure = require('ms-rest-azure');
var IntuneResourceManagementClient = require('azure-arm-intune');

// Interactive Login
// It provides a url and code that needs to be copied and pasted in a browser and authenticated over there. If successful,
// the user will get a DeviceTokenCredentials object.
msRestAzure.interactiveLogin(function(err, credentials) {
 var client = new IntuneResourceManagementClient(credentials);
 client.getLocationByHostName(null, function(error, result, request, response) {
   if (err) console.log(err);
   console.log(result);
 });
});

Related projects

1.0.1-preview

7 years ago

1.0.0-preview

7 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.0

8 years ago