From a7517cc077e3574d0e63c68d3438ff2803aa41bc Mon Sep 17 00:00:00 2001 From: Jason Soto Date: Mon, 10 Dec 2018 20:21:07 -0700 Subject: [PATCH] Give virtual app pool account proper read permissions --- Fabric.Identity.API/scripts/Install-Identity-Utilities.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fabric.Identity.API/scripts/Install-Identity-Utilities.psm1 b/Fabric.Identity.API/scripts/Install-Identity-Utilities.psm1 index 61c4e3c7..f00de60a 100644 --- a/Fabric.Identity.API/scripts/Install-Identity-Utilities.psm1 +++ b/Fabric.Identity.API/scripts/Install-Identity-Utilities.psm1 @@ -1041,7 +1041,7 @@ function Find-IISAppPoolUser { $appPool = (Get-Item (Join-Path 'IIS:\AppPools\' $appPoolName)) if($appPool.processModel.identityType -eq 'ApplicationPoolIdentity') { - Write-DosMessage -Level "Error" -Message "Application Pool users of identity type `"ApplicationPoolIdentity`" are not allowed." + return "IIS AppPool\$appPoolName" } $username = $appPool.processModel.username