Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Access Denied with Domain Controller endpoint #60

Open
jmesa772 opened this issue May 8, 2019 · 2 comments
Open

Access Denied with Domain Controller endpoint #60

jmesa772 opened this issue May 8, 2019 · 2 comments

Comments

@jmesa772
Copy link

jmesa772 commented May 8, 2019

Whether I explicitly add Domain Admins group in the RunAsVirtualAccountsGroups parameter or not it seems that I am not being given domain access right when running cmdlets like New-ADusers or New-ADComputer

Whether to run this session configuration as the machine's (virtual) administrator account

RunAsVirtualAccount = $true

RunAsVirtualAccountGroups = 'mesa\Domain Admins'

Access is denied
+ CategoryInfo : PermissionDenied: (CN=jeauser2,CN=Users,DC=mesa,DC=internal:String) [New-ADUser], Unauth
orizedAccessException
+ FullyQualifiedErrorId : ActiveDirectoryCmdlet:System.UnauthorizedAccessException,Microsoft.ActiveDirectory.Manag
ement.Commands.NewADUser

@rpsqrd
Copy link
Collaborator

rpsqrd commented May 8, 2019

Hi @jmesa772 -- can you confirm the OS and patch level of your DC?

@jmesa772
Copy link
Author

jmesa772 commented May 8, 2019

Major Minor Build Revision


10 0 14393 0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants