Optional dev helpers that call Graph directly (bypass MCP search and write confirmation).
Generic scripts — work with any tenant configured in .env:
| Script | Purpose |
|---|---|
count_users.py |
Entra user count |
count_cloud_pcs.py |
Cloud PC count |
list_cloud_pcs.py |
List all Cloud PCs |
cloudpc_specs.py |
Cloud PC SKU details |
Run from repo root:
python scripts/count_users.pyNot committed to git. Use this folder for scripts tied to your tenant (named Cloud PCs, groups, policies).
Examples moved here during setup:
cloudpc_snapshots.py— restore points for a named Cloud PCreboot_cloudpc.py— reboot a named Cloud PClist_group_members.py— members of a named groupprovisioning_policy.py/provisioning_policy_detail.py/provisioning_policy_groups.py— policy lookup
Run from repo root:
python scripts/local/cloudpc_snapshots.pyFor day-to-day use, prefer GraphMind MCP (search_graph_api → call_graph_api) in Cursor.