> ## Documentation Index
> Fetch the complete documentation index at: https://ps365.clidsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enable MSSelfServicePurchase

## SYNOPSIS

Enables self-service purchase for all products in Microsoft 365.

## SYNTAX

```powershell theme={null}
Enable-MSSelfServicePurchase [-Force] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm]
 [<CommonParameters>]
```

## DESCRIPTION

This function connects to the Microsoft Commerce service and enables the self-service purchase
option for all products that currently have it disabled.
This is useful for organizations that
want to allow users to purchase additional services or products on their own.

## EXAMPLES

### EXAMPLE 1

```powershell theme={null}
Enable-MSSelfServicePurchase
```

Enables self-service purchase for all products in the Microsoft 365 tenant, prompting for confirmation for each product.

### EXAMPLE 2

```powershell theme={null}
Enable-MSSelfServicePurchase -Force
```

Enables self-service purchase for all products without prompting for confirmation.

## PARAMETERS

### -Force

Skips confirmation prompts and enables self-service purchase for all products without asking.

```yaml theme={null}
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -WhatIf

Shows what would happen if the cmdlet runs.
The cmdlet is not run.

```yaml theme={null}
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Confirm

Prompts you for confirmation before running the cmdlet.

```yaml theme={null}
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about\_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

## OUTPUTS

## NOTES

## RELATED LINKS

[https://ps365.clidsys.com/docs/commands/Enable-MSSelfServicePurchase](https://ps365.clidsys.com/docs/commands/Enable-MSSelfServicePurchase)
