Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ugurkocde/IntuneAssignmentChecker


https://github.com/ugurkocde/IntuneAssignmentChecker

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Intune Assignment Checker



Twitter Badge


LinkedIn Badge


---

Sign up for my newsletter to receive immediate notifications whenever I launch a new tool, script or update.
[Sign up to the Newsletter](https://newsletter.ugurkoc.de/)

---

# Overview

The `Intune Assignment Checker` script is here to simplify your life. It will provide a detailed overview of assigned Intune Configuration Profiles, Compliance Policies, and Applications for user, groups and devices.

Website: https://intuneassignmentchecker.ugurkoc.de/

## Demo

https://github.com/ugurkocde/IntuneAssignmentChecker/assets/43906965/3d0311f2-d537-4c31-9ef9-41c6500490a4

## Features

- Checks assignments for users, groups, and devices in Intune.
- Provides descriptions for each required permission.
- Shows all 'All User' and 'All Device' assignments.
- Supports certificate-based authentication.
- Includes an auto-update feature.

## Prerequisites

Before running this script, you need:

- PowerShell 5.1 or higher.
- Microsoft Graph PowerShell SDK installed. You can install it using `Install-Module Microsoft.Graph -Scope CurrentUser`.
- An Entra ID application registration with the following permissions granted:
- `User.Read.All`
- `Group.Read.All`
- `Device.Read.All`
- `DeviceManagementApps.Read.All`
- `DeviceManagementConfiguration.Read.All`
- `DeviceManagementManagedDevices.Read.All`

Ensure that you have granted admin consent for these permissions in the Azure portal.

## Setup

1. Clone this repository or download the `IntuneAssignmentChecker_v2.ps1` script.
2. Fill in your Entra ID application registration details (App ID, Tenant ID, and Secret) at the beginning of the script.

```powershell
# Fill in your App ID, Tenant ID, and Secret
$appid = '' # App ID of the App Registration
$tenantid = '' # Tenant ID of your EntraID
$certThumbprint = '' # Thumbprint of the certificate associated with the App Registration
```

3. Run the script in PowerShell.

## Usage

To run the script, open PowerShell and navigate to the directory containing IntuneAssignmentChecker.ps1. Run the script using:

```powershell
.\IntuneAssignmentChecker_v2.ps1
```

Follow the on-screen instructions to select the type of entity you want to check the assignments for in Intune:

1. User(s)
2. Group(s)
3. Device(s)
4. Show all 'All User' Assignments
5. Show all 'All Device' Assignments
6. Search for Assignments by Setting Name
7. Report a Bug or Request a Feature
8. Exit

## Contributing

Contributions to are welcome! Please feel free to submit pull requests or open issues to improve the script or suggest new features.

## License

This project is licensed under the MIT License - see the LICENSE file for details.