I am trying to set a windows domain user account to the local administrators group that according the puppet documentation is possible.
user { 'DOMAIN\user':
groups => ['Administrators'],
}
I tried using the SID with no results. I am using the latest Puppet 2.7.19
err: /Stage[main]/Teamcity_base/User[S-1-5-21-1759977473-2015113658-625696398-26
038]/ensure: change from absent to present failed: User update failed: SetInfo
OLE error code:8007089A in Active Directory
The specified username is invalid.
HRESULT error code:0x80020009
Exception occurred.