Applies to: Exchange Server 2013, Exchange Online
Topic Last Modified: 2013-02-21
Use the Set-App cmdlet to set configuration properties on an app object.
For information about the parameter sets in the Syntax section below, see Syntax.
Syntax
Set-App -Identity <AppIdParameter> [-Confirm
[<SwitchParameter>]] [-DefaultStateForUser <Enabled |
Disabled | AlwaysEnabled>] [-DomainController <Fqdn>]
[-Enabled <$true | $false>] [-Organization
<OrganizationIdParameter>] [-OrganizationApp
<SwitchParameter>] [-ProvidedTo <Everyone |
SpecificUsers>] [-UserList <MultiValuedProperty>] [-WhatIf
[<SwitchParameter>]]
|
Examples
EXAMPLE 1
This example changes the organization app FinanceTestApp, which was installed to everyone in the organization, to be provided to specific users on the finance team and to be enabled by default.
Copy Code | |
---|---|
$a= Get-DistributionGroupMember FinanceTeam |
Copy Code | |
---|---|
Set-App -OrganizationApp -Identity 7a774f0c-7a6f-11e0-85ad-07fb4824019b -ProvidedTo SpecificUsers -UserList $a -DefaultStateForUser Enabled |
For more information, see Manage User Access to Apps for Outlook.
EXAMPLE 2
This example disables the organization app FinanceTestApp across the organization and hides it from end user view.
Copy Code | |
---|---|
Set-App -OrganizationApp -Identity 7a774f0c-7a6f-11e0-85ad-07fb4824019b -Enabled:$false |
For more information, see Manage User Access to Apps for Outlook.
Detailed Description
The Set-App cmdlet can only be used when configuring the availability of an organization app. This task requires that the specified app has already been installed (for example, that the app has been installed with the New-App cmdlet, or that it's a default app for Microsoft Outlook).
Default apps in Microsoft Office Outlook Web App and apps that you've installed for use by users in your organization are known as organization apps. Organization apps can't be removed by end users, but can be enabled or disabled. If an app is an organization app (scope default or organization), the delete control on the toolbar is disabled for end users. Administrators are able to remove organization apps. Administrators can't remove default apps, but they can disable them for the entire organization.
You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Apps for Outlook" entry in the Recipients Permissions topic.
Parameters
Parameter | Required | Type | Description | ||
---|---|---|---|---|---|
Identity |
Required |
Microsoft.Exchange.Configuration.Tasks.AppIdParameter |
The Identity parameter specifies the GUID of the app. |
||
Confirm |
Optional |
System.Management.Automation.SwitchParameter |
The Confirm switch causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You don't have to specify a value with the Confirm switch. |
||
DefaultStateForUser |
Optional |
Microsoft.Exchange.Management.Extension.DefaultStateForUser |
The DefaultStateForUser parameter specifies the default
initial state of the organization app for the provided users. This
parameter is set to The possible values are:
|
||
DomainController |
Optional |
Microsoft.Exchange.Data.Fqdn |
The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory. |
||
Enabled |
Optional |
System.Boolean |
The Enabled parameter specifies whether the app is made
available to users in the organization. By default, this is set to
|
||
Organization |
Optional |
Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter |
This parameter is reserved for internal Microsoft use. |
||
OrganizationApp |
Optional |
System.Management.Automation.SwitchParameter |
The OrganizationApp parameter specifies that the scope of
the app is organizational. This is set to |
||
ProvidedTo |
Optional |
Microsoft.Exchange.Data.ApplicationLogic.Extension.ClientExtensionProvidedTo |
The ProvidedTo parameter specifies the availability of an app in your organization. By default, new apps are available to all users in your organization. You must use the OrganizationApp parameter when you use this parameter. The following are the possible values:
|
||
UserList |
Optional |
Microsoft.Exchange.Data.MultiValuedProperty |
The UserList parameter specifies the list of users granted access to the organizational app. Use the UserList parameter to specify the users that you want to use the app.You must use the OrganizationApp parameter when you use this parameter. You can use the following values:
|
||
WhatIf |
Optional |
System.Management.Automation.SwitchParameter |
The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf switch. |
Input Types
To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.
Return Types
To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.