Forum Discussion
AaronAdministrator
Jul 31, 2024Copper Contributor
SelfeServe License Request Administation
Hello Microsoft Community! In our Org , using the powershell module MSCommerce, we have already set the AllowSelfServicePurchase policy to Disabled for all products as we do not want our Members to ...
- Aug 01, 2024You cannot prevent users from requesting licenses. What you can do is "direct" them to an internal page, or maybe a non-existing one, by adjusting the settings detailed here: https://learn.microsoft.com/en-us/microsoft-365/commerce/licenses/manage-license-requests?view=o365-worldwide
Kidd_Ip
Aug 01, 2024MVP
How about this?
Get-MSCommerceProductPolicies -PolicyId AllowSelfServicePurchase | ForEach {Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId $_.ProductId -Enabled $False}