question

SaadFarooq-0840 avatar image
0 Votes"
SaadFarooq-0840 asked SaadFarooq-0840 answered

Unistall AIP via Sccm

Hi

I need some guidance regarding Uninstalling Old Azure Information Protection (AIP) client via SCCM. Any step by step guide or Powershell Commands

mem-cm-general
· 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.

Removed the Intune tag as this is completely unrelated to Intune.

0 Votes 0 ·
JamesTran-MSFT avatar image
0 Votes"
JamesTran-MSFT answered SaadFarooq-0840 commented

@SaadFarooq-0840
Thank you for your post and I apologize for the delayed response! When it comes to uninstalling the Azure Information Protection (classic) client via SCCM, I wasn't able to find any documentation on this, so I don't believe this is possible, but you should be able to follow the steps below to uninstall the Azure Information Protection (classic) client.

You can uninstall the Azure Information Protection (classic) client using any of the following options:

  1. Use Control Panel to uninstall a program: Click Microsoft Azure Information Protection > Uninstall

  2. Rerun the executable (for example, AzInfoProtection.exe), and from the Modify Setup page, click Uninstall.

  3. Run the executable with /uninstall. For example: AzInfoProtection.exe /uninstall

Additional Link - Uninstalling the Azure Information Protection unified labeling client


If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.


Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

· 6
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 James
Thanks for reply but quite strange one. You mean for example we have 5000 Users in Production environment and need to Uninstall Old AIP client having different versions then we need to perform above approach. While for third option we worked on it after making amendment now we are able to uninstall single device via SCCM, which means that possible. However since it is Microsoft Product so i assumed to get a informative response but what can we say Microsoft itself looking for solutions.

Cheers anyways thanks for share guide. If you have any further document or reference please do share.

0 Votes 0 ·

@SaadFarooq-0840
Thank you for the quick response and I'm glad that you were able to figure out a way to uninstall AIP via SCCM! Please feel free to post the steps you took here so anyone from our community experiencing the same issue can easily find the solution.

Thank you for your time and patience throughout this issue!

0 Votes 0 ·

Well we have performed on single device but due to GUID different we are working on how to uninstall different versions. so try at your end to find as you are Representative of Microsoft so better suggest them..@JamesTran-MSFT

0 Votes 0 ·

@SaadFarooq-0840
Thank you for the quick follow! I've reached out to our AIP team to see if there's any solution to uninstalling AIP via SCCM and will update as soon as possible.

If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.

0 Votes 0 ·

@SaadFarooq-0840
Thank you for your time and patience throughout this issue!

I spoke with our AIP support team and they advised me that the SCCM part of this issue would be better handled by our Intune team, so I've added the "mem-intune-general" and "mem-cm-general" tags to this thread so their community can take a closer look into your issue.


If you'd like to work closer with our support team on this through a one-time free technical support request, please let me know.
Thank you for your time and patience throughout this issue.

0 Votes 0 ·

@JamesTran-MSFT

Thanks for your support and connected with concern team. Yeah I would like to pursue this case kindly guide or engage with someone. Here is brief summary that we need to perform:

We have different client machines having different AIP client versions installed and need to remove all Old AIP versions and need to install New AIP version Only Via SCCM. How we can achieve that any Guide or Tutorial?? Please share that with concern team.

0 Votes 0 ·
GarthJones-MVP avatar image
0 Votes"
GarthJones-MVP answered
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.

SaadFarooq-0840 avatar image
0 Votes"
SaadFarooq-0840 answered GarthJones-MVP commented

@GarthJones-MVP

Thank you so much for sharing your findings , although quite informative and helpful , However just have some points before executing this scipt?

1) Does this script restart client PC since as mentioned in blog that it silently uninstalled APPs and if need to adjust sleep time. Basically we have bulk client machines having several Old AIP clients different versions installed and all we need to do silently uninstalled Old Versions on client machine without Reboot and also need to installed new AIP client at same time. Did your script do that silently uninstall APPS without reboot User machine???For Install New AIP client do we need to create new Package else than that???

2) Secondly in which Part of Script we can mentioned Old AIP versions , Here in your script Firefox Mentioned with * so it means it uninstalled all Versions of Firefox???

$appToMatch = 'FireFox'
$e=$MyInvocation.InvocationName
$pshome
$log=$env:temp+'\PSuninstall.log'
$fullinventory = $false

$fullinventory = $true

· 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.

The Script itself does not restart the computer.
Yes the script will uninstall all version of firefox.

1 Vote 1 ·
SaadFarooq-0840 avatar image
0 Votes"
SaadFarooq-0840 answered SaadFarooq-0840 edited

@GarthJones-MVP

Ok get it so currently we have 5 different versions of Old AIP Clients installed v1.0-1.4 on different end user machine. I just need to ask as per shared script do I need to mentioned each version or just replace Firefox with Azure Information Protection Like that or any other changes also required as per shared script???

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.

SaadFarooq-0840 avatar image
0 Votes"
SaadFarooq-0840 answered GarthJones-MVP commented

@GarthJones-MVP

Need your guidance while customized this script as per Azure Information Protection Application. Please guide!!

· 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.

Have you tried it? What exactly is the problem? You might need to do some coding to get it to do exactly what you need.

0 Votes 0 ·
SaadFarooq-0840 avatar image
0 Votes"
SaadFarooq-0840 answered GarthJones-MVP commented

@GarthJones-MVP

Basically just need to ask that in script you mentioned *Firefox , so i would like to ask do i need to replace that with *Azure Information Protection Only while rest script remain same???

· 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.

Yes.
Did you try the script?

0 Votes 0 ·
SaadFarooq-0840 avatar image
0 Votes"
SaadFarooq-0840 answered

@GarthJones-MVP

Thanks. We are going to test that and will update you if need further assistance.

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.