-
Notifications
You must be signed in to change notification settings - Fork 112
Enable D365IISPreload
Enables IIS Preload for the AOSService application pool and website.
Enable-D365IISPreload [[-BaseUrl] <String>] [<CommonParameters>]
Configures IIS to preload the AOSService application, improving startup time after X++ compile.
- Sets Application Pool Start Mode to AlwaysRunning
- Sets Idle Time-out to 0
- Enables Preload on the AOSService website
- Sets doAppInitAfterRestart to true (if Application Initialization is installed)
- Optionally sets the initializationPage to a custom base URL
Enable-D365IISPreload
This will enable IIS Preload and set the initializationPage using the automatically detected base URL.
Enable-D365IISPreload -BaseUrl "https://usnconeboxax1aos.cloud.onebox.dynamics.com"
This will enable IIS Preload and set the initializationPage to https://usnconeboxax1aos.cloud.onebox.dynamics.com/?mi=DefaultDashboard
The base URL to use for the initializationPage setting in IIS Application Initialization. If not provided, the function will attempt to determine the base URL automatically using Get-D365Url. Example: https://usnconeboxax1aos.cloud.onebox.dynamics.com
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Florian Hopfner (FH-Inway) Based on Denis Trunin's article "Enable IIS Preload to Speed Up Restart After X++ Compile" (https://www.linkedin.com/pulse/enable-iis-preload-speed-up-restart-after-x-compile-denis-trunin-86j5c) Written with GitHub Copilot GPT-4.1, mostly in agent mode. See commits for prompts.
- Install as a non-Administrator
- Install as a Administrator
- Import d365fo.tools module
- List available commands from d365fo.tools module
- Get help content for a command
- Start, Stop and List services
- Import users into the D365FO environment
- Import external users into the D365FO environment
- Enable users in the D365FO environment
- Update users in the D365FO environment
- Provision D365FO environment to new Azure AD tenant
- Import a bacpac file into a Tier1 environment
- List modules / models
- Compile module
- Install AzCopy
- Install SqlPackage
- Install Nuget
- Speed up LCS download via AzCopy
- Download latest bacpac from LCS via AzCopy
- Register NuGet source
- Configure Azure Logic App
- Fix AzureStorageConfig
- Run a runnable class
- Update users in environment
- Work with Azure Storage Account
- Work with packages, resource label files, language and lables
- Working with the different D365 services