Azure Information Protection and Azure Rights Management can be managed from PowerShell with command that isn’t available on the portal. The PowerShell command includes commands like: Generate and manage your own tenant key, manage Rights Management templates and others.
How To Connect with PowerShell
To connect to AIP\AZRMS follow this steps:
From PowerShell type the following commands:
- Import-Module AADRM
- Connect-AadrmService -Credential $cred
Once connected you can run the relevant commands.
Show all AADRM command: Get-Command -Module AADRM