brianlala / AutoSPInstaller

Automated SharePoint 2010/2013/2016/2019/SE PowerShell-based installation script.
https://autospinstaller.com
MIT License
170 stars 80 forks source link

Function ConfigureDistributedCacheService adds wrong managed account #70

Closed aaronhamilton closed 3 years ago

aaronhamilton commented 3 years ago

I noticed my DCache was being assigned a different service account than I intended... and I think this is why...

2020-10-09_23-47-44

brianlala commented 3 years ago

Not sure why you'd want or need to run it as any other account, but of course you're welcome to use your own mods here! Are you just making a note of this or are you requesting a modification to the shared codebase?

aaronhamilton commented 3 years ago

Hi Brian! I think I'm suggesting a change to the shared codebase. Since the XML config file has a specific property for spDCache service account, doesn't it make sense that the function honor it? Thanks Aaron

brianlala commented 3 years ago

Wait, where does the XML have a specific property for spDCache account...?

aaronhamilton commented 3 years ago

Good question....... checking..... okay so this is what happened.

I was given a list of service accounts for my new farm (as specified by a consultant). DCache was on the list of accounts. So I created a managed account in the AutoSP config called spDCache. Then I assumed AutoSPInstaller would ... ahem ... magically figure out my intention and use it when provisioning distributed cache.

mea culpa!!! ... I'm sorry for wasting your time.... and the learning continues...

brianlala commented 3 years ago

Hehe no worries. Had me second guessing there!