Forum Discussion
The announcement regarding self-service purchase capabilities for Power Platform products??
- Oct 31, 2019
At Microsoft, we’ve been listening to all of the feedback regarding the rollout of our self-service purchase capabilities for Power Platform products. To those of you who provided your input, thank you! Based on your feedback, we’ve adjusted our approach to better address the needs of both IT admins and end users within organizations. We’re making the following changes to our plan:
- On November 19th, we will provide IT admins a way to turn off self-service purchasing on a per product basis via PowerShell.
- To provide more time to prepare for this change, we are updating the launch for self-service purchase capabilities for Power Platform products to start with Power BI on January 14th for all commercial cloud customers.
You can find more details about self-service purchase at the Self-service purchase FAQ. Thank you again for taking the time to provide your feedback. We look forward to a continued partnership to help empower all organizations to achieve more.
Microsoft heard the voice of the community and released a dedicated PowerShell module 'https://www.powershellgallery.com/packages/MSCommerce/' to manage Office 365 Self-service Purchase.
https://blog.admindroid.com/block-self-service-purchase-for-power-platform-products-using-powershell/
If you have decided to turn-off self-service purchase for your organization, then you shall disable it now.
I'm unable to Connect to MSCommerce. I installed the module (no errors), I import the module (no messages or errors). When I run Connect-MSCommerce I get this error:
New-Object : Cannot find type [Microsoft.IdentityModel.Clients.ActiveDirectory.PlatformParameters]: verify that the assembly containing this type is loaded.
At C:\Program Files\WindowsPowerShell\Modules\MSCommerce\1.2\MSCommerce.psm1:91 char:21
+ ... ormParams = New-Object "Microsoft.IdentityModel.Clients.ActiveDirecto ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidType: (:) [New-Object], PSArgumentException
+ FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand
Cannot find an overload for "AcquireTokenAsync" and the argument count: "4".
At C:\Program Files\WindowsPowerShell\Modules\MSCommerce\1.2\MSCommerce.psm1:93 char:3
+ $token = $authCtx.AcquireTokenAsync($Resource, $ClientId, $Redirect ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodException
+ FullyQualifiedErrorId : MethodCountCouldNotFindBest
Connect-MSCommerce : Unable to establish connection
At line:1 char:1
+ Connect-MSCommerce
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Connect-MSCommerce
Thoughts?
- Shaun JenningsNov 19, 2019Iron Contributor
Alex Carlock Did you happen to try to connect during the outage from Microsoft? That could have been the issue.
I was able to connect and see all of the Power Pack Applications set to allow to be purchased.
- Alex CarlockNov 19, 2019Iron Contributor
Shaun Jennings I just tried it today and again a couple of minutes ago. Do you know if there are dependancies on other modules like AzureAD? I have AzureADPreview version 2.0.2.62 installed. If I connect to that first, and then run connect-MSCommerce the "New-Object : Cannot find type" error goes away, but I still have the errors starting from "Cannot find an overload".
- Robert LuckNov 20, 2019Iron Contributor
Alex CarlockAre you trying from Windows 10? or if you are in proxy network, then try configuring proxy in your active PowerShell session.