# microsoftgraph/powershell-intune-samples

This repository of PowerShell sample scripts show how to access Intune service resources. They demonstrate this by making HTTPS RESTful API requests to the Microsoft Graph API from PowerShell.

Repository: https://github.com/microsoftgraph/powershell-intune-samples
Canonical: https://ross.abutalabs.com/products/powershell-intune-samples
Language: PowerShell
License: MIT
License Family: permissive
Topics: devxsample
Last push: 2026-03-05T19:49:39+00:00

## Health v2 (maintenance only)
Score: 54/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 70, release rhythm 8, longevity 100
- inputs: {"age_days": 3438, "days_push": 181, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1573, forks 657 (observed 2026-08-28T04:05:05.610579+00:00)

## What it is
A collection of PowerShell sample scripts demonstrating how to manage Microsoft Intune resources via HTTPS RESTful calls to the Microsoft Graph API. The repository is now read-only and deprecated in favor of the Graph SDK-based Intune PowerShell module.

## Use cases
- manage intune devices with powershell scripts
- automate intune app protection policies via graph api
- script intune device compliance policy creation
- bulk enroll corporate devices in intune with powershell
- export intune audit and reporting data via graph
- configure apple and android enterprise enrollment with scripts
- manage intune rbac roles through microsoft graph

## When to choose
- you need reference examples of raw Microsoft Graph REST calls for Intune resources
- you are maintaining legacy scripts that still use the old Intune PowerShell app ID
- you want to learn Intune Graph API patterns without the SDK

## When to avoid
- you are starting a new Intune automation project - use the Graph SDK-based Microsoft Intune PowerShell module instead
- you rely on the deprecated global Intune PowerShell application ID authentication
- you need supported, maintained tooling - this repo is read-only with no support

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: http-client, developer-tools, configuration-management, auth
- domain: developer-tools, apis
- platform: windows, cli
- tags: powershell-scripts, microsoft-graph, intune, mdm, sample-scripts, deprecated, rest-api, microsoft-365, automation, devops

## Member repositories
- microsoftgraph/powershell-intune-samples (main) score 54

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:05.610579+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:58:03.842851+00:00, confidence not recorded.
  - readme: https://github.com/microsoftgraph/powershell-intune-samples (fetched 2026-08-28T04:05:05.610579+00:00, sha 2184d06ac966)
- Data as of 2026-08-30T08:39:29.467469+00:00.
