question

JeffWeatherfordAscend-6641 avatar image
0 Votes"
JeffWeatherfordAscend-6641 asked AnshulKumarMINDTREELIMITED-5501 commented

Problems enableing AIP

So Azure Information Protection is enabled, and Unified Labeling is activated, however:

PS /home/(admin-account)> Enable-AIPService
Enable-AIPService: The 'Enable-AIPService' command was found in the module 'AIPService', but the module could not be loaded. For more information, run 'Import-Module AIPService'.
PS /home/(admin-account)> 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.

Any help enabling AIP would be appreciated.

azure-information-protection
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, if the posted answer resolves your question, please mark it as the answer by clicking the check mark. Doing so helps others find answers to their questions.

0 Votes 0 ·
michev avatar image
1 Vote"
michev answered michev commented

Which OS/PowerShell version is that? Try it on Windows PowerShell if possible, afaik the module is not supported on PS Core/7: https://docs.microsoft.com/en-us/azure/information-protection/install-powershell#prerequisites

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

This is on the powershell provided in Azure, so it's Linux based. We don't have any Windows machines.

0 Votes 0 ·
michev avatar image michev JeffWeatherfordAscend-6641 ·

It's not supported on Azure Cloud Shell, sorry.

0 Votes 0 ·

So you are saying that AIP, which is a thing in Azure, and can only be activated with Powershell, is not supported by the Powershell in Azure. That sounds completely crazy. So you are saying I have to spin up a Windows VM, just to configure a Powershell to talk to Azure and enable AIP?

0 Votes 0 ·
Show more comments
Daniel-9724 avatar image
1 Vote"
Daniel-9724 answered Daniel-9724 published

Ahh, lovely. Just ran into this myself. The MS docs are NOT clear on this (and I agree, this is kind of ridiculous). At any rate, this pointed me in the right direction!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.