PIM-RolesActivation Powershell script to activate Privileged Identity Management roles Before using the script you need to install the Azure AD Preview module: install-module AzureADPreview Use config.json file to specify roles that you want to exclude.