Share via


Delete the Service in Microsoft 365 Copilot extension from Outlook or PowerShell

You can delete the Service in Microsoft 365 Copilot 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 Service in Microsoft 365 Copilot app in Teams

You can't delete or uninstall the Service in Microsoft 365 Copilot 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 Service content in Microsoft 365 apps check box in the Microsoft 365 admin center > Settings > Org settings > Services > Service in Microsoft 365 Copilot to disable the Service in Microsoft 365 Copilot 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 Service in Microsoft 365 Copilot
Customize forms and fields