Get-HVEAccountBillingPolicy
This cmdlet is available only in the cloud-based service.
Use the Get-HVEAccountBillingPolicy cmdlet to view the billing policy mapping for a specified High Volume Email (HVE) account.
For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.
Syntax
Default (Default)
Get-HVEAccountBillingPolicy
[-Identity] <MailUserIdParameter>
[<CommonParameters>]
Description
An HVE account is a special type of mail user (also known as a mail-enabled user) used to send large amounts of email. For more information, see High Volume Email.
In the output of this cmdlet, the BillingPolicyStatus property indicates whether the billing configuration allows the HVE account to send email. Common values include:
- BillingPolicyValid: A valid billing policy is assigned and the subscription is active.
- NoProperBillingPolicyStored: No billing policy is assigned to the account.
- BillingPolicyNotFound: The assigned billing policy no longer exists.
- BillingPolicyMismatched: The billing policy retrieved doesn't match the expected tenant or policy identity. This scenario is uncommon.
- NoConnectedBillingPolicyFound: The billing policy isn't connected to High Volume Email.
- SubscriptionIsNotActive: The subscription linked to the billing policy isn't active.
- NoSPOLicenseFound: No SharePoint Online license is available for the tenant, preventing billing policy validation.
You need to be assigned permissions before you can run this cmdlet. Although this article lists all parameters for the cmdlet, you might not have access to some parameters if they aren't included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.
Examples
Example 1
Get-HVEAccountBillingPolicy -Identity HVEAccount01@tailspintoys.com
This example retrieves the billing policy and subscription details associated with the specified HVE account.
Parameters
-Identity
Applicable: Exchange Online, Built-in security add-on for on-premises mailboxes
The Identity parameter specifies the email address of the HVE account you want to view.
Parameter properties
| Type: | MailUserIdParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| 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.