You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to configure IIS using a Group Managed Service Account. I attempting using the configuration:
IdentityType = "SpecificUser"
Credential = $Cred
But I am getting an error stating:
The password supplied to the Desired State Configuration resource MSFT_xWebAppPool is not valid. The password cannot be null or empty.
+ CategoryInfo : InvalidResult: (:) [], CimException
+ FullyQualifiedErrorId : InvalidPassword
The standard powershell to do this is:
Import-Module WebAdministration
$pool = Get-Item IIS:\AppPools\DefaultAppPool
$pool.processModel.identityType = 3
$pool.processModel.userName = "$env:USERDOMAIN$gMSA_Name$"
$pool.processModel.password = ''
$pool | Set-Item
Can you provide any insight into this issue?
Thanks
The text was updated successfully, but these errors were encountered:
I am attempting to configure IIS using a Group Managed Service Account. I attempting using the configuration:
IdentityType = "SpecificUser"
Credential = $Cred
But I am getting an error stating:
The password supplied to the Desired State Configuration resource MSFT_xWebAppPool is not valid. The password cannot be null or empty.
+ CategoryInfo : InvalidResult: (:) [], CimException
+ FullyQualifiedErrorId : InvalidPassword
The standard powershell to do this is:
Import-Module WebAdministration
$pool = Get-Item IIS:\AppPools\DefaultAppPool
$pool.processModel.identityType = 3
$pool.processModel.userName = "$env:USERDOMAIN$gMSA_Name$"
$pool.processModel.password = ''
$pool | Set-Item
Can you provide any insight into this issue?
Thanks
The text was updated successfully, but these errors were encountered: