When talking about encryption in Microsoft Purview, for example when enabling ‘access control’ inside sensitivity labels, it’s actually the Azure Rights Management Service (Azure RMS) doing the heavy lifting. The Azure RMS service is part of Azure Information Protection and can be managed with the ‘AIPService‘ cmdlets.
The cmdlets can be used to perform actions like:
- Activate or deactivate the AIPService
- Perform tenant key management, for example to set up Bring Your Own Key (BYOK)
- Manage the super user account
- Manage (legacy) RMS Templates
- Manage delegated administration
- Perform logging and tracking
- Control which OS you support for consuming protected content
- Restrict protection to specific users/groups during a rollout
- Troubleshooting label encryption
ARM-based Windows clients
However, when you tried to import the ‘AIPService’ module on an ARM-based Windows client, you were in bad luck. Depending on the version of PowerShell you used, one of the following errors appeared:
Windows PowerShell (5.1.2600.8115):
Import-Module : Could not load file or assembly ‘file:///C:\Program Files\WindowsPowerShell\Modules\aipservice\3.0.0.1\AipService.dll’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
PowerShell 7 (7.6.0, technically not supported for AIPService Module version 3.0.0.1, but it shows more information):
Import-Module: Could not load file or assembly ‘C:\Program Files\WindowsPowerShell\Modules\aipservice\3.0.0.1\AipService.dll’. The assembly architecture is not compatible with the current process architecture.
Continue reading “How to run AIPService cmdlets on an ARM-based Windows device”









