Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smalls1652/entraid.pim.scripts
PowerShell scripts for automating Microsoft Entra ID Privileged Identity Management (PIM) tasks.
https://github.com/smalls1652/entraid.pim.scripts
automation entra-id microsoft-graph microsoft-graph-api powershell privileged-identity-management
Last synced: 13 days ago
JSON representation
PowerShell scripts for automating Microsoft Entra ID Privileged Identity Management (PIM) tasks.
- Host: GitHub
- URL: https://github.com/smalls1652/entraid.pim.scripts
- Owner: Smalls1652
- License: mit
- Created: 2024-05-14T20:48:06.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-08-13T18:30:40.000Z (5 months ago)
- Last Synced: 2024-12-16T19:08:34.620Z (17 days ago)
- Topics: automation, entra-id, microsoft-graph, microsoft-graph-api, powershell, privileged-identity-management
- Language: PowerShell
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Docs/README.md
- License: LICENSE
Awesome Lists containing this project
README
# Documentation
- [Documentation](#documentation)
- [Common requirements](#common-requirements)
- [PowerShell](#powershell)
- [`Microsoft.Graph` PowerShell modules](#microsoftgraph-powershell-modules)
- [Scripts](#scripts)
- [Entra ID Roles](#entra-id-roles)
- [Privileged Access Groups](#privileged-access-groups)## Common requirements
### PowerShell
All of the scripts were written with PowerShell 7.4. I haven't tested with other versions, so your mileage may vary.
Documentation for installing PowerShell can be found:
- [Install PowerShell on Windows](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows)
- [Install PowerShell on Linux](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-linux)
- [Install PowerShell on macOS](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-macos)### `Microsoft.Graph` PowerShell modules
While not all scripts require all of the modules in the `Microsoft.Graph` meta-module, it's easier to install them all.
> ⚠️ **Note:**
>
> The required modules are listed on each script's documentation page.To install the `Microsoft.Graph` modules:
**`PowerShellGet`** (Available by default)
```powershell
Install-Module -Name "Microsoft.Graph" -Scope "CurrentUser"
```**`Microsoft.PowerShell.PSResourceGet`**
```powershell
Install-PSResource -Name "Microsoft.Graph" -Scope "CurrentUser"
```## Scripts
### Entra ID Roles
Scripts related to Entra ID roles.
| Name | Description |
| --- | --- |
| [`Remove-UserFromEntraIdRole.ps1`](./Entra-ID-Roles/Remove-UserFromEntraIdRole.md) | Remove a user from an Entra ID role. |### Privileged Access Groups
Scripts related to Privileged Access Groups.
| Name | Description |
| --- | --- |
| [`Add-UserToPrivilegedAccessGroup.ps1`](./Groups/Add-UserToPrivilegedAccessGroup.md) | Add a user to a Privileged Access Group. |
| [`Remove-UserFromPrivilegedAccessGroup.ps1`](./Groups/Remove-UserFromPrivilegedAccessGroup.md) | Remove a user from a Privileged Access Group. |