Are you installing this on PowerShell 7+? As noted in the official documentation, this module is only supported on Windows devices/Windows PowerShell: https://learn.microsoft.com/en-us/azure/information-protection/install-powershell
Cannot run "Connect-AipService"
This is the error I get after runinng these commands
Update-Module -Name AIPService
PS /home/aggie> (Get-Module AIPService –ListAvailable).Version
Major Minor Build Revision
3 0 0 1
The following error I get when I run "Connect-AipService" is
Connect-AipService
Connect-AipService: The 'Connect-AipService' command was found in the module 'AIPService', but the module could not be loaded due to the following error: [Could not load file or assembly 'System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
]
For more information, run 'Import-Module AIPService'.
I run import module aipservice then get
PS /home/aggie> Import-Module AIPService
Import-Module: Could not load file or assembly 'System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
I've done (Get-Module AIPService –ListAvailable).Version , Update-Module -Name AIPService and nothing happens