Skip to content

Webtool for checking the latest logins for an intune bound device with the device's name.

License

Notifications You must be signed in to change notification settings

fibershot/latest-checkin-intune

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

latest-checkin-intune

Webtool for checking the latest logins for an intune bound device with the device's name.

Info

A web application designed for the purpose of fetching the latest logins for example a shared device.
Made this, because there didn't seem to be a black and white way of doing it, considering the Graph API from Microsoft is still in developement.
And there is linux compatability (made because of pm2!)... crazy!

Modules

Module installation npm install
Modules used: @azure/identity @microsoft/microsoft-graph-client isomorphic-fetch express pm2

Modifiers

Token authentication

  • auth.js allows basic token authentication directly from the URL (e.g: ?token=abc123456def) ACCESS_TOKEN

Client-, tenant- and secret key

  • appSettings.js requires app identifiers in order to function clientId, tenantId, clientSecret

Request timeout and length of request

  • graph.js contains timeout and minimum length variables COOLDOWN_TIME, MINIMUM_LENGTH

Usage

Add your client and tenant IDs and client secret to appSettings.js.
Run node index.js to launch server to port 1869.

About

Webtool for checking the latest logins for an intune bound device with the device's name.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published