💡To disable self-service purchases for Microsoft 365 Copilot
Log in to the Microsoft 365 Admin Center.
Navigate to the Copilot section.
Go to Settings.Locate the setting for self-service purchases of Microsoft 365 Copilot.
Select Not allow to disable self-service purchases. step by step using powershell 👇
PowerShell Script
# Install the MSCommerce module
Install-Module -Name MSCommerce
# Connect to MSCommerce
Connect-MSCommerce
# Get an overview of all self-service purchase options
Get-MSCommerceProductPolicies -PolicyId AllowSelfServicePurchase
# Disable a specific self-service purchase product
# You need the ProductId from the list above
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId CFQ7TTC0HDB0 -Enabled $False
# Disable all self-service purchase products
Get-MSCommerceProductPolicies -PolicyId AllowSelfServicePurchase | ForEach-Object {
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId $_.ProductId -Enabled $False
}
Kommentarer
Skicka en kommentar