HI
Rollup 5 installed.
Using Network Service Account
I have the following senario.
About two weeks ago we suddenly couldn't add new users to the crm system.
I can update a existing user and save it.
When entering the new user's domain name the system populates all the enetred data from the AD.
Just as I save it i get the normal crm error "contact your administrator"
please assist
>MSCRM Error Report:
--------------------------------------------------------------------------------------------------------
Error:
Exception has been thrown by the target of an invocation.
Error Message: Exception has been thrown by the target of an invocation.
Source File: Not available
Line Number: Not available
Request URL: http://crm/xxxxxx/biz/users/edit.aspx?
_CreateFromType=10&_CreateFromId={2141BBBE-C1A2-4163-923F-E5FBB956686B}
Stack Trace Info: [UnauthorizedAccessException: Access is
denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))]
[TargetInvocationException: Exception has been thrown by the target
of an invocation.]
at System.DirectoryServices.DirectoryEntry.Invoke(String methodName, Object[] args)
at Microsoft.Crm.BusinessEntities.SecurityUtils.AddPrincipalToGroup(SecurityIdentifier sid, DirectoryEntry groupEntry)
at Microsoft.Crm.BusinessEntities.SecurityUtils.AddPrincipalToGroup(Guid principalId, SecurityIdentifier sid, Guid groupId)
at Microsoft.Crm.BusinessEntities.SecurityLibrary.AddPrincipalToGroup(Guid principalId, SecurityIdentifier sid, Guid groupId)
at Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.ManageGroupsHelper(Guid activeDirectoryGuid, SecurityIdentifier
identifier, Boolean remove, ExecutionContext context)
at Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.CreateInternal(Guid organizationId, IBusinessEntity systemuser,
ExecutionContext context)
at Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.Create(IBusinessEntity systemuser, ExecutionContext context)
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
at
I added the Network service acccount with full control on the ou properties aswell as the group within the ou
Tiaan van Niekerk
http://crmdelacreme.blogspot.com
Skype:tiaan.van.niekerk1