The Disable-AipService cmdlet deactivates the protection service from Azure Information Protection for your tenant.
You can also do this action in a management portal. For more information, see Decommissioning and deactivating Azure Information Protection service on the Microsoft documentation site.
Deactivate the protection service only if you no longer want to protect documents and emails by using Azure Information Protection and you no longer need access to content that was previously protected by using Azure Information Protection.
If you accidentally deactivate the protection service or change your mind, you can simply activate it again by using the Enable-AipService cmdlet to resume using the service. However, if you are deactivating the service because you no longer want to use protection from Azure Information Protection, you might need to take additional steps. For more information, see Decommissioning and deactivating Azure Rights Management.
Example 1: Disable the protection service
This command deactivates the protection service from Azure Information Protection.