Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Get-MsolPartnerContract

Published: March 22, 2013

Updated: January 21, 2014

Applies To: Office 365, Windows Azure, Windows Intune

noteNote
  • This topic provides online help content for cloud services, such as Windows Intune and Office 365, which rely on Windows Azure Active Directory for identity and directory services.

  • The Windows Azure Active Directory Module for Windows PowerShell cmdlets were previously known as the Microsoft Online Services Module for Windows PowerShell cmdlets.

The Get-MsolPartnerContract cmdlet should only be used by partners, as it is used to retrieve a list of contracts for a partner. The input to this cmdlet should be a domain to look up, which must be verified for the tenant. If the company exists and the partner has access to this company, then the corresponding contract will be returned.

Get-MsolPartnerContract [-DomainName <string>] [-TenantId <Guid>] [<CommonParameters>]
    -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

The following command returns the contracts for all the tenants.

Get-MsolPartnerContract

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.