Issue:error when clicking new
subiste option in SharePoint App environment we ran into below Issue with several Provider Hosted Apps.
Solution :
After adding a "CustomAppRedirect" property to the Farms property bag all Apps work fine
(Get-SPFarm).properties["CustomAppRedirect"] = $true
(Get-SPFarm).Update()
(Get-SPFarm).Update()