Published: March 22, 2013
Updated: May 11, 2015
Applies To: Azure, Office 365, Windows Intune
-DomainName <string> The domain to search for. This must be the full name of a verified domain. Required? false Position? named Default value Accept pipeline input? false Accept wildcard characters? false -TenantId <Guid> The tenant of the partner to retrieve contracts for. If this is not provided, then the value will default to the tenant of the current user. If this parameter is provided, the tenant ID must correspond to a partner company. Required? false Position? named Default value Accept pipeline input? true (ByPropertyName) Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, type, "get-help about_commonparameters".
Command output is provided by Microsoft.Online.Administration.PartnerContract.
The following command returns the contract for the tenant owning the domain consoso.com. The user must have privileges to act on behalf of contoso.com.
Get-MsolPartnerContract -DomainName contoso.com
Other ResourcesManage Azure Active Directory by using Windows PowerShell