Microsoft has released the self-service purchase capabilities for Power Platform.
- Power Automate (previously flow)
- Power BI
Many of the tenants do not want this ability to be provided to users as they want to control it at organizational level.
Earlier this was planned for last year but as many organizations requested the capability to disable it so it has been delayed till it is developed.
Now Microsoft has released the Powershell module name MSCommerce, you can use it to disable this self-service purchase feature.
Install the module from Powershell gallery
Install-Module -Name MSCommerce
Once that is done, Connect-MScommerce (as Global or Billing Admin role for your tenant)
To view list of Power platform products enabled for self-service purchase type below command:
Get-MSCommerceProductPolicies -PolicyId AllowSelfServicePurchase
All three products are enabled for self-service purchase.
You can disable this policy for particular product by using below command or disable it for all three.
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId CFQ7TTC0KP0P -Enabled $False
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId CFQ7TTC0L3PB -Enabled $False
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId CFQ7TTC0KP0N -Enabled $False
Now check again the status, you will see all three are disabled.
If you want to disable this in your organization then follow the above pwoershell commands.
Thanks for reading and downloading