Commands › Exchange Online
Set-PartnerApplication
This cmdlet is functional only in on-premises Exchange. Use the Set-PartnerApplication cmdlet to configure partner application configurations in on-premises Exchange organizations.
Quick start script
# Set-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)
Set-PartnerApplication -Identity <PartnerApplicationIdParameter> -WhatIf
Set-PartnerApplication -Identity <PartnerApplicationIdParameter>
# 4. Verify and diff
$after = Get-PartnerApplication
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax — 3 parameter sets
ACSTrustApplication
Set-PartnerApplication [-Identity] <PartnerApplicationIdParameter>
[-ApplicationIdentifier <String>]
[-Realm <String>]
[-AcceptSecurityIdentifierInformation <Boolean>]
[-AccountType <SupportedAccountType>]
[-ActAsPermissions <String[]>]
[-AppOnlyPermissions <String[]>]
[-Confirm]
[-DomainController <Fqdn>]
[-Enabled <Boolean>]
[-IssuerIdentifier <String>]
[-LinkedAccount <UserIdParameter>]
[-Name <String>]
[-WhatIf]
[<CommonParameters>]
AuthMetadataUrl
Set-PartnerApplication [-Identity] <PartnerApplicationIdParameter>
[-AuthMetadataUrl <String>]
[-TrustAnySSLCertificate]
[-AcceptSecurityIdentifierInformation <Boolean>]
[-AccountType <SupportedAccountType>]
[-ActAsPermissions <String[]>]
[-AppOnlyPermissions <String[]>]
[-Confirm]
[-DomainController <Fqdn>]
[-Enabled <Boolean>]
[-IssuerIdentifier <String>]
[-LinkedAccount <UserIdParameter>]
[-Name <String>]
[-WhatIf]
[<CommonParameters>]
RefreshAuthMetadata
Set-PartnerApplication [-Identity] <PartnerApplicationIdParameter>
[-RefreshAuthMetadata]
[-AcceptSecurityIdentifierInformation <Boolean>]
[-AccountType <SupportedAccountType>]
[-ActAsPermissions <String[]>]
[-AppOnlyPermissions <String[]>]
[-Confirm]
[-DomainController <Fqdn>]
[-Enabled <Boolean>]
[-IssuerIdentifier <String>]
[-LinkedAccount <UserIdParameter>]
[-Name <String>]
[-WhatIf]
[<CommonParameters>]
Parameters (17)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.