Edit

Share via


Get-AzSubscriptionAcceptOwnershipStatus

Accept subscription ownership status.

Syntax

AcceptExpanded (Default)

Get-AzSubscriptionAcceptOwnershipStatus
    -SubscriptionId <String>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

AcceptViaIdentityExpanded

Get-AzSubscriptionAcceptOwnershipStatus
    -InputObject <ISubscriptionIdentity>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Description

Accept subscription ownership status.

Examples

Example 1: Accept subscription ownership status.

Get-AzSubscriptionAcceptOwnershipStatus -SubscriptionId XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
AcceptOwnershipState BillingOwner      ProvisioningState SubscriptionId                       SubscriptionTenantId
-------------------- ------------      ----------------- --------------                       --------------------
Completed            xxxxxxxx@xxxx.com Pending           XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

Accept subscription ownership status.

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

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

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Parameter properties

Type:ISubscriptionIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AcceptViaIdentityExpanded
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-SubscriptionId

Subscription Id.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AcceptExpanded
Position:Named
Mandatory:True
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

ISubscriptionIdentity

Outputs

IAcceptOwnershipStatusResponse