An Azure service that is used to control and help secure email, documents, and sensitive data that are shared outside the company.
I had the same issue running Powershell 5.1
My issue turned out to be when installing AipService module, it installs v3.0.0 which doesn't work...
Run these commands:
Get-Module -ListAvailable -Name aipservice
If it's v3.0.0
Uninstall-Module AIPService
Install-Module -Name AIPService -RequiredVersion 2.0.0.3
Connect-AipService
Get-AipService
If result is Disabled
Enable-AipService
My goal was Message encryption and I needed to populate the LicenseLocation field with information obtained from the AipService.