blog.icewolf.ch

Let's talk about IT!
posts - 2114, comments - 295, trackbacks - 0

My Links

Archives

Post Categories

icewolf

Monday, July 25, 2022

New SelfServicePurchase Products popping up

Hi All,

I've seen that there are some new SelfServicePurchase Services are published. In the following Blog Article i show you how to disable them.

Import-Module -Name MSCommerce
Connect-MSCommerce
Get-MSCommerceProductPolicies -PolicyId AllowSelfServicePurchase


Let's disable the two SelfServicePurchases

Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId CFQ7TTC0LHVK -Enabled $False
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId CFQ7TTC0LHWM -Enabled $False


When we check now, all the SelfServicePurchases are disabled

Get-MSCommerceProductPolicies -PolicyId AllowSelfServicePurchase



Regards
Andres Bohren


posted @ Monday, July 25, 2022 10:29 AM | Filed Under [ Microsoft365 ]

Powered by:
Powered By Subtext Powered By ASP.NET