Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group Managed Service Account #317

Closed
devbot920 opened this issue Sep 15, 2017 · 2 comments
Closed

Group Managed Service Account #317

devbot920 opened this issue Sep 15, 2017 · 2 comments

Comments

@devbot920
Copy link

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

@steveapalooza
Copy link

How are you creating the $Cred variable?

@johlju
Copy link
Member

johlju commented Apr 26, 2018

Lets track this problem in issue #80. Closing this issue.

@johlju johlju closed this as completed Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants