Passwords are not set on Google account creation
When a new account is created an error is generated in the IdB log and the user is created in Google, however the password has not been set.
Packet Trace: UserCreate.pcap
Log: UnifyLog20170117.csv
Answer
Hi Boyd,
I believe I've identified the problem and have created a patch which should address this.
Please unzip the archive and place the DLLs into the Services directory and restart the service. I believe the issue will only occur when setting a password immediately after adding the user, so since the users have now already been created you will need to create new users to test the fix. Also note that this patch includes the fix from Password Synchronization not working for Google Apps.
Identity Broker will not start after copying these files, the following error is in the logs.
Activation context generation failed for "P:\Program Files\UNIFY Solutions\Identity Broker\Services\Unify.Service.Connect.Debug.exe".Error in manifest or policy file "P:\Program Files\UNIFY Solutions\Identity Broker\Services\Unify.Service.Connect.Debug.exe.Config" on line 81. Invalid Xml syntax.
There is an duplicate tag which I removed and now get this error:
Service cannot be started. Unify.Framework.UnifyServiceInitializeException: Method not found: 'Void Unify.Product.IdentityBroker.Adapter..ctor(Unify.Product.IdentityBroker.IEntityPartitionUpdatableContextFactory, Unify.Product.IdentityBroker.IConnectorRepository, Unify.Framework.Notification.INotificationMessageService, Unify.Product.IdentityBroker.IIdentityBrokerBranding, System.Func`1<Unify.Product.IdentityBroker.IEntitySequentialAdapterFactory>, System.Guid, System.Guid, Unify.Product.IdentityBroker.IChangesRegisterContextFactory, Unify.Product.IdentityBroker.IChangeLogContextFactory, Unify.Product.IdentityBroker.IAdapterEntityChangeDetectorCollator, Unify.Product.IdentityBroker.IAdapterEntityPartitionUpdatableContextFactory, Unify.Product.IdentityBroker.IConnectorSchemaAdaption, System.String, System.Xml.Linq.XElement, System.String, System.String)'. ---> System.MissingMethodException: Method not found: 'Void Unify.Product.IdentityBroker.Adapter..ctor(Unify.Product.IdentityBroker.IEntityPartitionUpdatableContextFactory, Unify.Pr...
Apologies Boyd, I left out a couple of extra DLLs. I just dropped this patch onto a fresh v5.0.5 install to check and the service starts and I'm able to create adapters fine, so hopefully this resolves it for you.
The service now starts however the account is still created without setting the password. The current error is below:
20170118,03:26:41,UNIFY Identity Broker,LDAP Engine,Information,A client has connected to the LDAP endpoint from address: 127.0.0.1:61232.,Normal20170118,03:26:41,UNIFY Identity Broker,LDAP engine,Information,"Handling of LDAP bind request. Handling of LDAP bind request received on connection 127.0.0.1:61232 to connect as user IdBLDAP completed successfully. The bind was successful. Duration: 00:00:00.0935916.",Normal 20170118,03:26:41,UNIFY Identity Broker,Adapter,Information,"Adapter request to set password for entity from adapter space. Adapter request to set password for entity b59950c8-ed37-498c-81a6-b80aa8dbd7da from adapter space fe4d7fbd-d786-493c-9de4-c3a0c8933a9b.",Normal 20170118,03:26:41,UNIFY Identity Broker,Connector,Information,"Request to set password for entity from connector. Request to set password for entity <null> from connector Google Users (Staff) Connector.",Normal 20170118,03:26:41,UNIFY Identity Broker,Connector,Warning,"Set password for entity from connector failed. Set password for entity <null> from connector Google Users (Staff) Connector failed with reason Object reference not set to an instance of an object.. Duration: 00:00:00 Error details: System.NullReferenceException: Object reference not set to an instance of an object. at Unify.Product.IdentityBroker.GoogleAgent.SetUserPassword(MultiKeyValue`1 key, String password) at Unify.Product.IdentityBroker.GoogleUserConnector.SetPassword(MultiKeyValue`1 entityId, String newPassword) at Unify.Product.IdentityBroker.EventNotifierPasswordSynchronisationConnectorDecorator.SetPassword(MultiKeyValue`1 entityId, String newPassword) at Unify.Product.IdentityBroker.Adapter.<SetPasswordAsync>d__89.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.Adapter.<SetPasswordAsync>d__88.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.AdapterNotifierDecorator.<SetPasswordAsync>d__58.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.PasswordModifyExtendedRequestHandler.<HandleRequest>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at Unify.Product.IdentityBroker.LDAPConnection.<RespondToMessageAsync>d__35.MoveNext()",Normal 20170118,03:26:41,UNIFY Identity Broker,Adapter,Warning,"Adapter set password for entity {0} from adapter space {1} failed with reason {2}. Duration: {3} Adapter set password for entity b59950c8-ed37-498c-81a6-b80aa8dbd7da from adapter space fe4d7fbd-d786-493c-9de4-c3a0c8933a9b failed with reason Object reference not set to an instance of an object.. Duration: 00:00:00 Error details: System.NullReferenceException: Object reference not set to an instance of an object. at Unify.Product.IdentityBroker.GoogleAgent.SetUserPassword(MultiKeyValue`1 key, String password) at Unify.Product.IdentityBroker.GoogleUserConnector.SetPassword(MultiKeyValue`1 entityId, String newPassword) at Unify.Product.IdentityBroker.EventNotifierPasswordSynchronisationConnectorDecorator.SetPassword(MultiKeyValue`1 entityId, String newPassword) at Unify.Product.IdentityBroker.Adapter.<SetPasswordAsync>d__89.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.Adapter.<SetPasswordAsync>d__88.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.AdapterNotifierDecorator.<SetPasswordAsync>d__58.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.PasswordModifyExtendedRequestHandler.<HandleRequest>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at Unify.Product.IdentityBroker.LDAPConnection.<RespondToMessageAsync>d__35.MoveNext()",Normal 20170118,03:26:41,UNIFY Identity Broker,LDAP engine,Error,"Handling of LDAP extended request. Handling of LDAP extended request from user IdBLDAP on connection 127.0.0.1:61232 failed with error ""Object reference not set to an instance of an object."". Duration: 00:00:00.",Normal 20170118,03:26:41,UNIFY Identity Broker,LDAP Engine,Error,"An error occurred on client from 127.0.0.1:61232. More details: Internal Server Error #11: System.NullReferenceException: Object reference not set to an instance of an object. at Unify.Product.IdentityBroker.GoogleAgent.SetUserPassword(MultiKeyValue`1 key, String password) at Unify.Product.IdentityBroker.GoogleUserConnector.SetPassword(MultiKeyValue`1 entityId, String newPassword) at Unify.Product.IdentityBroker.EventNotifierPasswordSynchronisationConnectorDecorator.SetPassword(MultiKeyValue`1 entityId, String newPassword) at Unify.Product.IdentityBroker.Adapter.<SetPasswordAsync>d__89.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.Adapter.<SetPasswordAsync>d__88.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.AdapterNotifierDecorator.<SetPasswordAsync>d__58.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.PasswordModifyExtendedRequestHandler.<HandleRequest>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at Unify.Product.IdentityBroker.LDAPConnection.<RespondToMessageAsync>d__35.MoveNext()",Normal 20170118,03:26:42,UNIFY Identity Broker,LDAP engine,Information,"Handling of LDAP unbind request. Handling of LDAP unbind request received on connection 127.0.0.1:61232 to connect as user IdBLDAP completed successfully. Duration: 00:00:00.",Normal 20170118,03:26:42,UNIFY Identity Broker,LDAP engine,Information,"Handling of LDAP unbind request. Handling of LDAP unbind request received on connection 127.0.0.1:61229 to connect as user IdBLDAP completed successfully. Duration: 00:00:00.",Normal 20170118,03:26:45,UNIFY Identity Broker,Change detection engine,Information,"Change detection engine unscheduled started. Change detection engine unscheduled for connector Google Users (Staff) Connector started.",Normal 20170118,03:26:45,UNIFY Identity Broker,Change detection engine,Information,"Change detection engine unscheduled completed. Change detection engine unscheduled for connector Google Users (Staff) Connector completed. Duration: 00:00:00.1092061",Normal 20170118,03:26:50,UNIFY Identity Broker,Change detection engine,Information,"Started processing changes register items. Started processing changes register items for connector Google Users (Staff) Connector.",Normal 20170118,03:26:50,UNIFY Identity Broker,Change detection engine,Information,"Changes register item processing completed. Changes register item processing on connector Google Users (Staff) Connector completed. Duration: 00:00:00.0155848",Normal 20170118,03:26:50,UNIFY Identity Broker,Adapter,Information,"Request to reflect change entities of the adapter. Request to reflect change entities of the Google Users (Staff) Adapter (fe4d7fbd-d786-493c-9de4-c3a0c8933a9b) adapter completed with 1 adds, 0 updates and 0 deletes across 1 pages. Duration: 00:00:00.2028129",Normal
Hi Boyd,
Is the connector key present in the add request, or is it computed in the target system? It looks like Identity Broker is unable to retrieve the connector key for the entity, which is required to trigger a password set in the target system. This would most likely be the case if the key is computed, as it wouldn't have had a chance to come back in so quickly after the add request.
Hi Curtis
I changed the Key to use the email instead of the ID which is automatically generated. This does seem to allow the password to be set however introduces an error when an email address needs to be changed. From the log entries below it appears to be trying to update the entity using the new key rather than the existing key.
Existing Key: adallatorr@cnsstu.catholic.edu.au
New Key: ldallatorr@cnsstu.catholic.edu.au
20170118,22:14:41,UNIFY Identity Broker,Connector,Information,"Request to modify anchor for entity.Request to modify anchor for entity adallatorr@cnsstu.catholic.edu.au to ldallatorr@cnsstu.catholic.edu.au from connector Google Users (Student) Connector.",Normal 20170118,22:14:41,UNIFY Identity Broker,Google Agent,Information,"Request to update users. Request to update 1 user(s) failed with message One or more errors occurred.. Matching repository items: 1. Duration: 00:00:00.0156058 Error details: System.AggregateException: One or more errors occurred. ---> System.Exception: An error occurred whilst performing the task. See inner exception for details. ---> System.Exception: Whilst performing an update an existing entity with key ldallatorr@cnsstu.catholic.edu.au could not be found. Perform an import and attempt the operation again. at Unify.Product.IdentityBroker.GoogleAgent.<>c__DisplayClassc1.<UserUpdate>b__be(IConnectorEntity loopEntity) --- End of inner exception stack trace --- at Unify.Product.IdentityBroker.ExceptionForwardingResults.SetFailed(IConnectorEntity entity, Exception exception) at Unify.Product.IdentityBroker.GoogleAgent.<>c__DisplayClassc1.<UserUpdate>b__be(IConnectorEntity loopEntity) at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) at System.Threading.Tasks.Task.<>c__DisplayClass11.<ExecuteSelfReplicating>b__10(Object param0) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally) at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally) at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body) at Unify.Product.IdentityBroker.GoogleAgent.UserUpdate(IConnectorEntity[] entities, IEntitySchema schema, IDictionary`2 matchingEntities, ISaveEntityResults`2 results) at Unify.Product.IdentityBroker.GoogleAgentNotificationDecorator.UserUpdate(IConnectorEntity[] entities, IEntitySchema schema, IDictionary`2 matchingEntities, ISaveEntityResults`2 results) at Unify.Product.IdentityBroker.GoogleUserConnector.ModifyAnchor(MultiKeyValue`1 oldKey, MultiKeyValue`1 newKey) at Unify.Product.IdentityBroker.EventNotifierModifyAnchorConnectorDecorator.ModifyAnchor(MultiKeyValue`1 oldKey, MultiKeyValue`1 newKey) at Unify.Product.IdentityBroker.Adapter.<>c__DisplayClass106_0.<PrivateUpdateEntities>b__2(IEntity providedEntity) at Unify.Framework.Visitor.Visit[T](IEnumerable`1 visitCollection, Action`2 visitor) at Unify.Product.IdentityBroker.Adapter.<PrivateUpdateEntities>d__106.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.Adapter.<SaveEntitiesAndUpdateContainers>d__105.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.Adapter.<UpdateEntitiesAsync>d__62.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.Adapter.<UpdateEntitiesAsync>d__61.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.AdapterNotifierDecorator.<UpdateEntitiesAsync>d__38.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.RequestHandlers.BulkRequestEntityGroupProcessor.<ProcessGroupedMods>d__18.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.RequestHandlers.BulkRequestEntityGroupProcessor.<ProcessGroup>d__12.MoveNext() ---> (Inner Exception #0) System.Exception: An error occurred whilst performing the task. See inner exception for details. ---> System.Exception: Whilst performing an update an existing entity with key ldallatorr@cnsstu.catholic.edu.au could not be found. Perform an import and attempt the operation again. at Unify.Product.IdentityBroker.GoogleAgent.<>c__DisplayClassc1.<UserUpdate>b__be(IConnectorEntity loopEntity) --- End of inner exception stack trace --- at Unify.Product.IdentityBroker.ExceptionForwardingResults.SetFailed(IConnectorEntity entity, Exception exception) at Unify.Product.IdentityBroker.GoogleAgent.<>c__DisplayClassc1.<UserUpdate>b__be(IConnectorEntity loopEntity) at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) at System.Threading.Tasks.Task.<>c__DisplayClass11.<ExecuteSelfReplicating>b__10(Object param0)<--- ",Normal 20170118,22:14:41,UNIFY Identity Broker,Connector,Warning,"Modify anchor for entity failed. Modify anchor for entity adallatorr@cnsstu.catholic.edu.au to ldallatorr@cnsstu.catholic.edu.au from connector Google Users (Student) Connector failed with reason One or more errors occurred.. Duration: 00:00:00.1092004 Error details: System.AggregateException: One or more errors occurred. ---> System.Exception: An error occurred whilst performing the task. See inner exception for details. ---> System.Exception: Whilst performing an update an existing entity with key ldallatorr@cnsstu.catholic.edu.au could not be found. Perform an import and attempt the operation again. at Unify.Product.IdentityBroker.GoogleAgent.<>c__DisplayClassc1.<UserUpdate>b__be(IConnectorEntity loopEntity) --- End of inner exception stack trace --- at Unify.Product.IdentityBroker.ExceptionForwardingResults.SetFailed(IConnectorEntity entity, Exception exception) at Unify.Product.IdentityBroker.GoogleAgent.<>c__DisplayClassc1.<UserUpdate>b__be(IConnectorEntity loopEntity) at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) at System.Threading.Tasks.Task.<>c__DisplayClass11.<ExecuteSelfReplicating>b__10(Object param0) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally) at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally) at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body) at Unify.Product.IdentityBroker.GoogleAgent.UserUpdate(IConnectorEntity[] entities, IEntitySchema schema, IDictionary`2 matchingEntities, ISaveEntityResults`2 results) at Unify.Product.IdentityBroker.GoogleAgentNotificationDecorator.UserUpdate(IConnectorEntity[] entities, IEntitySchema schema, IDictionary`2 matchingEntities, ISaveEntityResults`2 results) at Unify.Product.IdentityBroker.GoogleUserConnector.ModifyAnchor(MultiKeyValue`1 oldKey, MultiKeyValue`1 newKey) at Unify.Product.IdentityBroker.EventNotifierModifyAnchorConnectorDecorator.ModifyAnchor(MultiKeyValue`1 oldKey, MultiKeyValue`1 newKey) at Unify.Product.IdentityBroker.Adapter.<>c__DisplayClass106_0.<PrivateUpdateEntities>b__2(IEntity providedEntity) at Unify.Framework.Visitor.Visit[T](IEnumerable`1 visitCollection, Action`2 visitor) at Unify.Product.IdentityBroker.Adapter.<PrivateUpdateEntities>d__106.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.Adapter.<SaveEntitiesAndUpdateContainers>d__105.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.Adapter.<UpdateEntitiesAsync>d__62.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.Adapter.<UpdateEntitiesAsync>d__61.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.AdapterNotifierDecorator.<UpdateEntitiesAsync>d__38.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.RequestHandlers.BulkRequestEntityGroupProcessor.<ProcessGroupedMods>d__18.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Unify.Product.IdentityBroker.RequestHandlers.BulkRequestEntityGroupProcessor.<ProcessGroup>d__12.MoveNext() ---> (Inner Exception #0) System.Exception: An error occurred whilst performing the task. See inner exception for details. ---> System.Exception: Whilst performing an update an existing entity with key ldallatorr@cnsstu.catholic.edu.au could not be found. Perform an import and attempt the operation again. at Unify.Product.IdentityBroker.GoogleAgent.<>c__DisplayClassc1.<UserUpdate>b__be(IConnectorEntity loopEntity) --- End of inner exception stack trace --- at Unify.Product.IdentityBroker.ExceptionForwardingResults.SetFailed(IConnectorEntity entity, Exception exception) at Unify.Product.IdentityBroker.GoogleAgent.<>c__DisplayClassc1.<UserUpdate>b__be(IConnectorEntity loopEntity) at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c() at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) at System.Threading.Tasks.Task.<>c__DisplayClass11.<ExecuteSelfReplicating>b__10(Object param0)<--- ",Normal 20170118,22:14:41,UNIFY Identity Broker,LDAP engine,Information,"Handling of LDAP Bulk Update request. Handling of LDAP Bulk Update request received from user IdBLDAP on connection 127.0.0.1:51062 completed successfully without results available for logging. Duration 00:00:00.1559940.",Normal 20170118,22:14:41,UNIFY Identity Broker,LDAP engine,Information,"Handling of LDAP Bulk End request. Handling of LDAP Bulk End request received from user IdBLDAP on connection 127.0.0.1:51062 completed successfully without results available for logging. Duration 00:00:00.",Normal 20170118,22:14:41,UNIFY Identity Broker,LDAP engine,Information,"Handling of LDAP unbind request. Handling of LDAP unbind request received on connection 127.0.0.1:51062 to connect as user IdBLDAP completed successfully. Duration: 00:00:00.",Normal
Hi Boyd,
The connector key should reflect the key that's used in Google Apps, which in your case appears to be the ID. For setting initial passwords, it's advised to use the connector's Password Script rather than triggering password changes upstream via PCNS or similar. For the case of Google Apps, see the Password Script documentation in Google Apps User Connector.
Customer support service by UserEcho
Apologies Boyd, I left out a couple of extra DLLs. I just dropped this patch onto a fresh v5.0.5 install to check and the service starts and I'm able to create adapters fine, so hopefully this resolves it for you.
UE2816 Patch 2.zip