Skip to content

Commit 645b818

Browse files
authored
Merge pull request #26719 from MicrosoftDocs/main
Publish main to live, Thursday 11:00 PM IST, 10/10
2 parents 3e56894 + 830f42d commit 645b818

4 files changed

Lines changed: 73 additions & 50 deletions

File tree

microsoft-365/admin/add-users/about-admin-roles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ You'll probably only need to assign the following roles in your organization. By
7676

7777
|Admin role |Who should be assigned this role? |
7878
|---------|---------|
79-
|Billing admin | Assign the Billing admin role to users who make purchases, manage subscriptions and service requests, and monitor service health. <br><br> Billing admins also can:<br> &bull; Manage all aspects of billing<br> &bull; Create and manage support tickets in the Azure portal <br/><br/> **Note:** Only Global admins can view and manage subscriptions purchased through a Partner.|
79+
|Billing admin | Assign the Billing admin role to users who make purchases, manage subscriptions and service requests, and monitor service health. Billing admins cannot assign licenses; If a Billing admin is also a License or User Administrator, visit [Licenses](https://go.microsoft.com/fwlink/p/?linkid=842264) to assign licenses.<br><br> Billing admins also can:<br> &bull; Manage all aspects of billing<br> &bull; Create and manage support tickets in the Azure portal <br/><br/> **Note:** Only Global admins can view and manage subscriptions purchased through a Partner.|
8080
|Exchange admin | Assign the Exchange admin role to users who need to view and manage your user's email mailboxes, Microsoft 365 groups, and Exchange Online. <br><br> Exchange admins can also:<br> &bull; Recover deleted items in a user's mailbox <br> &bull; Set up "Send As" and "Send on behalf" delegates <br> |
8181
|Fabric admin | Assign the Fabric admin role to users who need to do the following: <br> &bull; Manage all admin features for Microsoft Fabric and Power BI <br> &bull; Report on usage and performance <br> &bull; Review and manage auditing |
8282
|Global admin | Giving too many users global access is a security risk and we recommend that you have as few global admins as possible. <br/><br/> Only global admins can:<br> &bull; Reset passwords for all users <br> &bull; Add and manage domains <br> &bull; Unblock another global admin <br/><br/> **Note:** The person who signed up for Microsoft online services automatically becomes a Global admin. |

microsoft-365/commerce/subscriptions/allowselfservicepurchase-powershell.md

Lines changed: 70 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ search.appverid:
2323
- MET150
2424
description: "Learn how to use the AllowSelfServicePurchase PowerShell cmdlet to turn self-service purchase on or off."
2525
ROBOTS: NOINDEX, NOFOLLOW
26-
ms.date: 05/21/2024
26+
ms.date: 10/10/2024
2727
---
2828

2929
# Use AllowSelfServicePurchase for the MSCommerce PowerShell module
@@ -34,21 +34,25 @@ You can also manage **AllowSelfServicePurchase** settings in the Microsoft 365 a
3434

3535
You can use the **MSCommerce** PowerShell module to:
3636

37-
- View the default state of the **AllowSelfServicePurchase** parameter value&mdash;whether it's enabled, disabled, or allows trials without a payment method
38-
- View a list of applicable products and whether self-service purchase is enabled, disabled, or allows trials without a payment method
37+
- View the default state of the **AllowSelfServicePurchase** parameter value
38+
- View a list of applicable products and their **AllowSelfServicePurchase** parameter value
3939
- View or modify the current setting for a specific product to either enable or disable it
40-
- View or modify the setting for trials without payment methods
40+
- For Microsoft products only: view or modify the setting for trials without payment methods
4141

4242
## Requirements
4343

4444
To use the **MSCommerce** PowerShell module, you need:
4545

4646
- A Windows 10 or later operating system.
47-
- PowerShell 5 or below. Currently, PowerShell 6.x/7.x isn't supported with this module.
48-
- The Global or Billing admin role for your tenant to change the **MSCommerce** product policies.
47+
- The Global or Billing Administrator role for your tenant to change the **MSCommerce** product policies.
48+
[!INCLUDE [ga-roles-limitation](../../includes/ga-roles-limitation.md)]
4949
- The Global reader role for your tenant to see a read-only list of **MSCommerce** product policies.
5050

51-
## Install the MSCommerce PowerShell module
51+
## Get started with the MSCommerce PowerShell module
52+
53+
To get started using the **MSCommerce** PowerShell module, you must install it, import it into a PowerShell session, and then connect to it with your credentials.
54+
55+
### Install the MSCommerce PowerShell module
5256

5357
You install the **MSCommerce** PowerShell module on your Windows 10 device once and then import it into each PowerShell session you start. Download the **MSCommerce** PowerShell module from the [PowerShell Gallery](https://aka.ms/allowselfservicepurchase-powershell-gallery).
5458

@@ -58,15 +62,15 @@ To install the **MSCommerce** PowerShell module with **PowerShellGet**, run the
5862
Install-Module -Name MSCommerce
5963
```
6064

61-
## Import MSCommerce into the PowerShell session
65+
### Import MSCommerce into the PowerShell session
6266

6367
After you install the module on your Windows 10 device, you then import it into each PowerShell session that you start. To import it into a PowerShell session, run the following command:
6468

6569
```powershell
6670
Import-Module -Name MSCommerce
6771
```
6872

69-
## Connect to MSCommerce with your credentials
73+
### Connect to MSCommerce with your credentials
7074

7175
To connect to the PowerShell module with your credentials, run the following command.
7276

@@ -84,15 +88,19 @@ To view a description of the **AllowSelfServicePurchase** parameter value and th
8488
Get-MSCommercePolicy -PolicyId AllowSelfServicePurchase
8589
```
8690

87-
## View a list of self-service purchase products and their status
91+
## Use AllowSelfServicePurchase with Microsoft products
92+
93+
This section contains information about how to view a list of Microsoft products for self-service purchase, their current status, and how to set the status. For information about third-party offer types, see [Use AllowSelfServicePurchase with third-party offer types](#use-allowselfservicepurchase-with-third-party-offer-types).
94+
95+
### View a list of self-service purchase Microsoft products and their status
8896

89-
To view a list of all available self-service purchase products and the status of each, run the following command:
97+
To view a list of available self-service purchase Microsoft products and the status of each, run the following command:
9098

9199
```powershell
92100
Get-MSCommerceProductPolicies -PolicyId AllowSelfServicePurchase
93101
```
94102

95-
The following table lists the available products and their **ProductId**. It also indicates which products have a trial available and don't require a payment method. If applicable, all other trials require a payment method. For the products that have trial without payment method enabled, you can enable the trial, while keeping the ability to purchase the product disabled. For sample commands, see View or set the status for **AllowSelfServicePurchase**.
103+
The following table lists the available products and their **ProductId**. It also indicates which products have a trial available and don't require a payment method. If applicable, all other trials require a payment method. For the products that have trial without payment method enabled, you can enable the trial, while keeping the ability to purchase the product disabled. For sample commands, see [View or set the status for AllowSelfServicePurchase for Microsoft products](#view-or-set-the-status-for-allowselfservicepurchase-for-microsoft-products).
96104

97105
| Product | ProductId | Is trial without payment method enabled? |
98106
|-----------------------------|--------------|--------------|
@@ -114,64 +122,83 @@ The following table lists the available products and their **ProductId**. It als
114122
| Visio Plan 2* | CFQ7TTC0HD32 | No |
115123
| Viva Goals (self-service trials only) | CFQ7TTC0PW0V | Yes |
116124

117-
*These IDs have changed. If you previously blocked products using the old IDs, they're automatically blocked using the new IDs. No other work is required.
125+
*These items are updated IDs. If you previously blocked products using the old IDs, they're automatically blocked using the new IDs. No other work is required.
118126

119-
## View a list of self-service purchase "third party offer types" and their status
127+
### View or set the status for AllowSelfServicePurchase for Microsoft products
120128

121-
To view a list of all available self-service purchase third-party offer types and the status of each, run the following command:
122-
123-
```powershell
124-
Get-MSCommerceProductPolicies -PolicyId AllowSelfServicePurchase -Scope OfferType
125-
```
126-
127-
The following table lists the available third-party offer types. These offer types can be enabled or disabled for self-service purchase.
128-
129-
| Offer Type| ID |
130-
|-----------------------------|--------------|
131-
| Software as a Service | SaaS |
132-
| Power BI Visuals | POWERBIVISUALS |
133-
| Dynamics 365 Dataverse Apps | DYNAMICSCE |
134-
| Dynamics 365 Business Central | DYNAMICSBC |
135-
136-
## View or set the status for AllowSelfServicePurchase
137-
138-
You can set the **Value** parameter for **AllowSelfServicePurchase** to allow or prevent users from making a self-service purchase. You can also use the **OnlyTrialsWithoutPaymentMethod** value to allow users to try products that have no payment required trials. Refer to the product list above to see which products have these trials enabled. Users can only buy the product after the trial is over if **AllowSelfServicePurchase** is enabled.
129+
You can set the **Value** parameter for **AllowSelfServicePurchase** to allow or prevent users from making a self-service purchase of a Microsoft product. You can also use the **OnlyTrialsWithoutPaymentMethod** value to allow users to try products that have no payment required trials. To see which products have these trials enabled, see the product list in [View a list of self-service purchase Microsoft products and their status](#view-a-list-of-self-service-purchase-microsoft-products-and-their-status). Users can only buy the product after the trial is over if **AllowSelfServicePurchase** is enabled.
139130

140131
> [!NOTE]
141132
> Changing the value for **AllowSelfServicePurchase** or **OnlyTrialsWithoutPaymentMethod** only impacts trials or purchases made for the specified product from that point forward. Existing trials or purchases for the specified product aren't affected.
142133
143134
The following table describes the settings for the **Value** parameter.
144135

145-
| Setting | Impact |
136+
| Setting | Outcome |
146137
|---|---|
147138
| Enabled | Users can make self-service purchases and acquire trials for the product. |
148139
| OnlyTrialsWithoutPaymentMethod | Users can't make self-service purchases but can acquire free trials for products that don't require them to add a payment method. After the trial expires, a user can't buy the paid version of the product. |
149140
| Disabled | Users can't make self-service purchases or acquire trials for the product. |
150141

142+
Use the following commands to get or set policy settings, where ```<ProductID>``` is the string associated with the product name.
143+
151144
To get the policy setting for a specific product, run the following command:
152145

153146
```powershell
154-
Get-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId CFQ7TTC0KP0N
147+
Get-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId ```<ProductID>```
155148
```
156149

157150
To enable the policy setting for a specific product, run the following command:
158151

159152
```powershell
160-
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId CFQ7TTC0KP0N -Value "Enabled"
153+
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId <ProductID> -Value "Enabled"
161154
```
162155

163156
To disable the policy setting for a specific product, run the following command:
164157

165158
```powershell
166-
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId CFQ7TTC0KP0N -Value "Disabled"
159+
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId <ProductID> -Value "Disabled"
167160
```
168161

169162
To allow users to try a specific product without a payment method, run the following command:
170163

171164
```powershell
172-
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId CFQ7TTC0KP0N -Value "OnlyTrialsWithoutPaymentMethod"
165+
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId <ProductID> -Value "OnlyTrialsWithoutPaymentMethod"
166+
```
167+
168+
## Use AllowSelfServicePurchase with third-party offer types
169+
170+
This section contains information about how to view a list of self-service purchase for third-party offer types and their status, and how to set the status.
171+
172+
### View a list of self-service purchase third-party offer types and their status
173+
174+
To view a list of all available self-service purchase third-party offer types and the status of each, run the following command:
175+
176+
```powershell
177+
Get-MSCommerceProductPolicies -PolicyId AllowSelfServicePurchase -Scope OfferType
173178
```
174179

180+
The following table lists the available third-party offer types. These offer types can be enabled or disabled for self-service purchase.
181+
182+
| Offer Type| ID |
183+
|-----------------------------|--------------|
184+
| Software as a Service | SaaS |
185+
| Power BI Visuals | POWERBIVISUALS |
186+
| Dynamics 365 Dataverse Apps | DYNAMICSCE |
187+
| Dynamics 365 Business Central | DYNAMICSBC |
188+
189+
### View or set the status for AllowSelfServicePurchase for third-party offer types
190+
191+
You can set the **Value** parameter for **AllowSelfServicePurchase** to allow or prevent users from making a self-service purchase of a third-party offer type.
192+
193+
The following table describes the settings for the **Value** parameter.
194+
195+
| Setting | Outcome |
196+
|---|---|
197+
| Enabled | Users can make self-service purchases and acquire trials for the product. |
198+
| Disabled | Users can't make self-service purchases or acquire trials for the product. |
199+
200+
Use the following commands to get or set policy settings, where `<ID>` is the string associated with the offer type.
201+
175202
To get the policy setting for a specific third-party offer type, run the following command:
176203

177204
```powershell
@@ -204,24 +231,20 @@ Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId $pr
204231
If there are multiple values for the product, you can run the command individually for each value as shown in the following example:
205232

206233
```powershell
207-
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId $product[0].ProductID -Value "Disabled"
234+
foreach ($id in $product.ProductID) {UpdateUpdate-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId $product[0].ProductID -Value "Disabled"
208235
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId $product[1].ProductID -Value "Disabled"
209-
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -OfferType SaaS -Value "Disabled"
236+
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -OfferType SaaS -Value "Disabled"}
210237
```
211238

212-
## Troubleshooting
213-
214-
### Problem
239+
## Troubleshoot HandleError: Failed to retrieve policy with PolicyId 'AllowSelfServicePurchase'
215240

216-
You see the following error message:
241+
In some cases, you might see the following error message:
217242

218243
> HandleError : Failed to retrieve policy with PolicyId 'AllowSelfServicePurchase', ErrorMessage - The underlying connection was closed: An unexpected error occurred on a send.
219244
220-
This error might be due to an older version of Transport Layer Security (TLS). When you connect to this service, you must use TLS 1.2 or greater
221-
222-
### Solution
245+
This error might be due to an older version of Transport Layer Security (TLS). When you connect to this service, you must use TLS 1.2 or greater.
223246

224-
Upgrade to TLS 1.2. The following syntax updates the ServicePointManager Security Protocol to allow TLS1.2:
247+
To resolve this error, upgrade to TLS 1.2. The following syntax updates the ServicePointManager Security Protocol to allow TLS1.2:
225248

226249
```powershell
227250
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12

microsoft-365/commerce/subscriptions/manage-self-service-purchases-admins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ You can use the Microsoft 365 admin center to manage self-service purchases and
121121
The **MSCommerce** PowerShell module includes a **PolicyID** parameter value for **AllowSelfServicePurchase**. This parameter lets you control whether users in your organization can make purchases or start trials, and for which products. The module lets you do the same tasks available in the Microsoft 365 admin center, only from the command line. In addition, the module lets you view the default state of the **AllowSelfServicePurchase** parameter value for each product.
122122

123123
> [!IMPORTANT]
124-
> When you use the **AllowSelfServicePurchase** policy, it controls both purchases and trials. For a list of the products available, see [View a list of self-service purchase products and their status](allowselfservicepurchase-powershell.md#view-a-list-of-self-service-purchase-products-and-their-status).
124+
> When you use the **AllowSelfServicePurchase** policy, it controls both purchases and trials. For a list of the products available, see [View a list of self-service purchase Microsoft products and their status](allowselfservicepurchase-powershell.md#view-a-list-of-self-service-purchase-microsoft-products-and-their-status).
125125
126126
For more information, see [Use AllowSelfServicePurchase for the MSCommerce PowerShell module](allowselfservicepurchase-powershell.md).
127127

microsoft-365/syntex/syntex-licensing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ More Syntex services will be added as they become available.
5454

5555
### Feature limited preview
5656

57-
Pay-as-you-go licensing includes access to additional Syntex features for a limited time as a preview. The feature limited preview ends September 20, 2024. You won't be charged on a pay-as-you-go basis during the preview. These features include:
57+
Pay-as-you-go licensing includes access to additional Syntex features for a limited time as a preview. The feature limited preview ends December 31, 2024. You won't be charged on a pay-as-you-go basis during the preview. These features include:
5858

5959
- Content query
6060
- Universal annotations

0 commit comments

Comments
 (0)