Skip to main content

SYNOPSIS

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

SYNTAX

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

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

EXAMPLE 2

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

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

-Force

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

-WhatIf

Runs the command in a mode that only reports what would happen without performing the actions.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES