Skip to content

pimcli is command line tool to activate Azure Active Directory Privileged Identity Management Eligible roles.

License

Notifications You must be signed in to change notification settings

Ellestad1995/pimcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pimcli

PowerShell Gallery Version PowerShell Gallery

pimcli is a command line tool to activate Azure Active Directory Privileged Identity Management roles.

Pimcli uses the preview module of AzureAD, AzureADPreview (2.0preview) in order to use the provided Privileged Role Management commands

AzureAD My Roles

Install from PowerShell Gallery

Install-Module pimcli

If enabling privileged roles for your organization requires MFA authentication when activating you will need to install msal.ps also. See https://github.com/AzureAD/MSAL.PS

Usage

#Get-Help pimcli

# Connect to the PIM service
Connect-PIM

# Activate role. Gives a menu to choose roles to activate
Enable-PrivilegedRoleAssignment

# Allows you to see available roles. Is not needed to activate roles
Get-PrivilegedRoleAssignments

Demo

Enable-PrivilegedRoleAssignment demo

About

pimcli is command line tool to activate Azure Active Directory Privileged Identity Management Eligible roles.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published