Cannot run "Connect-AipService"

AT 0 Reputation points
2024-04-26T15:27:49.8766667+00:00

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

Azure Information Protection
Azure Information Protection
An Azure service that is used to control and help secure email, documents, and sensitive data that are shared outside the company.
519 questions
Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
947 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,089 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,929 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 95,671 Reputation points MVP
    2024-04-26T16:01:37.41+00:00

    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