-
Notifications
You must be signed in to change notification settings - Fork 107
SPAppDomain
dscbot edited this page Mar 17, 2023
·
18 revisions
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
AppDomain | Key | String | The domain name for apps to use in this farm | |
Prefix | Required | String | The prefix to go on to app URLs |
Type: Distributed Requires CredSSP: No
This resource will set the value for the app domain settings at the farm level. You can set the domain name and the prefix that is to be used for app URLs.
This example shows how to apply app URLs to the current farm.
Configuration Example
{
param
(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -ModuleName SharePointDsc
node localhost
{
SPAppDomain LocalFarmAppUrls
{
AppDomain = "contosointranetapps.com"
Prefix = "app"
PsDscRunAsCredential = $SetupAccount
}
}
}
- Home
- Getting Started
- Pre-requisites
- Installing the module
- Exporting SharePoint Configuration
- Creating Configuration Files
- Pre-created Examples
- Creating an Azure development environment
- Understanding Resources & Syntax
- Remote PowerShell Authentication
- Contributing to SharePointDsc
- Other useful modules for SharePoint DSC configurations