編輯

共用方式為


Get-SPOAppBillingPolicies

Returns billing policies that are owned by the tenant.

Syntax

Get-SPOAppBillingPolicies

Description

Get-SPOAppBillingPolicies returns a list of billing policies that are owned by the tenant. If the tenant has no billing policies associated, the cmdlet will produce no output.

The output of this cmdlet will include information related to the billing policy such as Application Id, Azure subscription ID, Resource Group, Region, State of the subscription and the usage charging model.

You must be a SharePoint Administrator to run this cmdlet.

Note

To use the Get-SPOAppBillingPolicies 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

Get-SPOAppBillingPolicies