Share via


Remove-SPOAppBillingPolicy

Removes billing policy asscoiated with the application.

Syntax

Default (Default)

Remove-SPOAppBillingPolicy
    -ApplicationId <Guid>
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

Remove-SPOAppBillingPolicy removes the billing policy associated with the application.

You must be a SharePoint Administrator to run this cmdlet.

Note

To use the Remove-SPOAppBillingPolicy cmdlet, an admin must authenticate to SharePoint Online using modern authentication.

Use the Connect-SPOService cmdlet shown below, which will prompt you to enter your credentials. If multi-factor authentication (MFA) is enabled, you will need to complete the MFA process (e.g., entering a verification code sent to your phone).

Connect-SPOService -Url https://(your-tenant)-admin.sharepoint.com

Replace (your-tenant) with your actual SharePoint Online domain, e.g. https://contoso-admin.sharepoint.com.

Examples

Example 1


Remove-SPOAppBillingPolicy -ApplicationId 1653hhd-87100luhw-786265gk-00asa00

Parameters

-ApplicationID

Applicable: SharePoint Online

This parameter specifies the ID of the application.

Parameter properties

Type:System.Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

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

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

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

None

Outputs

System.Object