Commands › Exchange Online
New-PartnerApplication
This cmdlet is functional only in on-premises Exchange. Use the New-PartnerApplication cmdlet to create partner application configurations in on-premises Exchange organizations.
Quick start script
# New-PartnerApplication — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org
# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-PartnerApplication
$before | Format-List
# 3. Make the change (dry run first)
New-PartnerApplication -Name <String> -ApplicationIdentifier <String> -AuthMetadataUrl <String> -WhatIf
New-PartnerApplication -Name <String> -ApplicationIdentifier <String> -AuthMetadataUrl <String>
# 4. Verify and diff
$after = Get-PartnerApplication
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax — 2 parameter sets
ACSTrustApplication
New-PartnerApplication [-Name] <String> -ApplicationIdentifier <String>
[-Realm <String>]
[-AcceptSecurityIdentifierInformation <Boolean>]
[-AccountType <SupportedAccountType>]
[-ActAsPermissions <String[]>]
[-AppOnlyPermissions <String[]>]
[-Confirm]
[-DomainController <Fqdn>]
[-Enabled <Boolean>]
[-IssuerIdentifier <String>]
[-LinkedAccount <UserIdParameter>]
[-WhatIf]
[<CommonParameters>]
AuthMetadataUrl
New-PartnerApplication [-Name] <String> -AuthMetadataUrl <String>
[-TrustAnySSLCertificate]
[-AcceptSecurityIdentifierInformation <Boolean>]
[-AccountType <SupportedAccountType>]
[-ActAsPermissions <String[]>]
[-AppOnlyPermissions <String[]>]
[-Confirm]
[-DomainController <Fqdn>]
[-Enabled <Boolean>]
[-IssuerIdentifier <String>]
[-LinkedAccount <UserIdParameter>]
[-WhatIf]
[<CommonParameters>]
Parameters (15)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.