Delete copilot extension from Outlook or PowerShell

You can delete the Microsoft 365 Copilot for Service app from Outlook or using PowerShell.

Run the following scripts to delete the app using PowerShell.

Note

  • You must be a tenant administrator to run PowerShell scripts.
  • PowerShell scripts must be used only to uninstall user-deployed add-ins. If you run these scripts to uninstall admin-deployed add-ins, an error message is displayed.

Uninstall for an individual user

Install-Module -Name ExchangeOnlineManagement
Import-Module ExchangeOnlineManagement

# Copilot for Service app id
$appIdentity = "00001111-aaaa-2222-bbbb-3333cccc4444"

Connect-ExchangeOnline -UserPrincipalName <tenant admin email>

Remove-App -Mailbox <user alias to delete from> -Identity $appIdentity -Confirm:$false

Uninstall for all users

Install-Module -Name ExchangeOnlineManagement
Import-Module ExchangeOnlineManagement

# Copilot for Service app id
$appIdentity = "00001111-aaaa-2222-bbbb-3333cccc4444"

Connect-ExchangeOnline -UserPrincipalName <tenant admin email>

Get-Mailbox -ResultSize Unlimited -Filter {RecipientTypeDetails -eq "UserMailbox"} | ForEach-Object { Remove-App -Mailbox $_.Identity -Identity $appIdentity -Confirm:$false }

Block Copilot for Service app in Teams

You can't delete or uninstall the Copilot for Service app in Teams. You can block the app in Teams admin center if you don't want customer service representatives to use it.

Turn off Copilot for Service features in Microsoft 365

Tenant administrators can clear the Allow users to see Copilot for Service content in Microsoft 365 apps check box in the Microsoft 365 admin center > Settings > Org settings > Services > Copilot for Service to disable the Copilot for Service features that run in the Microsoft 365 app.

As a result, service representatives don't see a notification banner at the top of new incoming message when it's from an external email domain or an external email address is included in the To or Cc field. The banner continues to appear for older emails from external domains.

Next steps

Roles and privileges required to use Copilot for Service
Customize forms and fields