Commands › Exchange Online
New-App
Install apps for Outlook.
Quick start script
# New-App — 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-App
$before | Format-List
# 3. Make the change (dry run first)
New-App -WhatIf
New-App
# 4. Verify and diff
$after = Get-App
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax — 4 parameter sets
ExtensionOfficeMarketplace
New-App [-Etoken <String>] [-MarketplaceCorrelationID <String>] [-MarketplaceAssetID <String>] [-MarketplaceQueryMarket <String>] [-MarketplaceServicesUrl <String>] [-MarketplaceUserProfileType <String>]
[-AddInOverrides <AddInOverrides>]
[-AllowReadWriteMailbox]
[-AllowSetting <AllowSetting>]
[-AppState <String>]
[-AppType <String>]
[-Confirm]
[-DefaultStateForUser <DefaultStateForUser>]
[-DomainController <Fqdn>]
[-DownloadOnly]
[-Enabled <Boolean>]
[-Identity <String>]
[-Mailbox <MailboxIdParameter>]
[-OrganizationApp]
[-PrivateCatalog]
[-ProvidedTo <ClientExtensionProvidedTo>]
[-UpdateAppState]
[-UserList <MultiValuedProperty>]
[-Version <String>]
[-WhatIf]
[<CommonParameters>]
ExtensionFileData
New-App [-FileData <Byte[]>]
[-AddInOverrides <AddInOverrides>]
[-AllowReadWriteMailbox]
[-AllowSetting <AllowSetting>]
[-AppState <String>]
[-AppType <String>]
[-Confirm]
[-DefaultStateForUser <DefaultStateForUser>]
[-DomainController <Fqdn>]
[-DownloadOnly]
[-Enabled <Boolean>]
[-Identity <String>]
[-Mailbox <MailboxIdParameter>]
[-OrganizationApp]
[-PrivateCatalog]
[-ProvidedTo <ClientExtensionProvidedTo>]
[-UpdateAppState]
[-UserList <MultiValuedProperty>]
[-Version <String>]
[-WhatIf]
[<CommonParameters>]
ExtensionFileStream
New-App [-FileStream <Stream>]
[-AddInOverrides <AddInOverrides>]
[-AllowReadWriteMailbox]
[-AllowSetting <AllowSetting>]
[-AppState <String>]
[-AppType <String>]
[-Confirm]
[-DefaultStateForUser <DefaultStateForUser>]
[-DomainController <Fqdn>]
[-DownloadOnly]
[-Enabled <Boolean>]
[-Identity <String>]
[-Mailbox <MailboxIdParameter>]
[-OrganizationApp]
[-PrivateCatalog]
[-ProvidedTo <ClientExtensionProvidedTo>]
[-UpdateAppState]
[-UserList <MultiValuedProperty>]
[-Version <String>]
[-WhatIf]
[<CommonParameters>]
ExtensionPrivateURL
New-App [-Url <Uri>]
[-AddInOverrides <AddInOverrides>]
[-AllowReadWriteMailbox]
[-AllowSetting <AllowSetting>]
[-AppState <String>]
[-AppType <String>]
[-Confirm]
[-DefaultStateForUser <DefaultStateForUser>]
[-DomainController <Fqdn>]
[-DownloadOnly]
[-Enabled <Boolean>]
[-Identity <String>]
[-Mailbox <MailboxIdParameter>]
[-OrganizationApp]
[-PrivateCatalog]
[-ProvidedTo <ClientExtensionProvidedTo>]
[-UpdateAppState]
[-UserList <MultiValuedProperty>]
[-Version <String>]
[-WhatIf]
[<CommonParameters>]
Parameters (28)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.