Group: Unable to add Different forest User to Local Group #750
Labels
enhancement
The issue is an enhancement request.
help wanted
The issue is up for grabs for anyone in the community.
Problem description
There are two forests with a single domain each, Computer1 is in domainA and user1 is in domainB. There is a full trust relationship between domains, it should be noted that NETBIOS name is not the same as FQDN on either forest.
I am attempting to add User1 to the local administrators group on Computer1. It should be noted that a number of additional users from domainA are already added into the Computer1 administrative user group via Group Policy.
The issue can be replicated when using Credential property and PsDscRunAsCredential.
The credential used for the resource is for a user which is present in DomainB and has local admin on the computer in domain A.
Same issue was reported in PSDesiredStateConfiguration repository and also the fix with PR was provided.
Issue -> PowerShell/PSDscResources#82
PR for FIX -> PowerShell/PSDscResources#198
Verbose logs
DSC configuration
Suggested solution
This fix was tested also on our environment and worked PowerShell/PSDscResources#198
Operating system the target node is running
PowerShell version and build the target node is running
xPSDesiredStateConfiguration version
The text was updated successfully, but these errors were encountered: