Errors in the ConfigMgr cloudusersync.log

Are you getting similar errors in the cloudusersync.log to this below:

ERROR: SetLicensedUsers exception System.ServiceModel.FaultException: Fault occurred~~~~Server stack trace: ~~ at System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout)~~ at System.ServiceModel.Security.IssuanceTokenProviderBase`1.GetTokenCore(TimeSpan timeout)~~ at System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan timeout)~~ at System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan timeout)~~ at System.ServiceModel.Security.SecurityProtocol.TryGetSupportingTokens(SecurityProtocolFactory factory, EndpointAddress target, Uri via, Message message, TimeSpan timeout, Boolean isBlockingCall, IList`1& supportingTokens)~~ at System.ServiceModel.Security.TransportSecurityProtocol.SecureOutgoingMessageAtInitiator(Message& message, String actor, TimeSpan timeout)~~ at System.ServiceModel.Security.TransportSecurityProtocol.SecureOutgoingMessage(Message& message, TimeSpan timeout)~~ at System.ServiceModel.Security.SecurityProtocol.SecureOutgoingMessage(Message& message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState)~~ at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)~~ at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)~~ at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)~~ at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)~~~~Exception rethrown at [0]: ~~ at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)~~ at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)~~ at Microsoft.WindowsIntune.SccmIdsUserSync.Proxy.ISyncIdsUser.SetLicensedUsers(String[] principalNames)~~ at Microsoft.ConfigurationManager.DmpConnector.UserSync.UserSyncServiceClient.SetLicensedUsers(String[] principalNames)~~ $$<SMS_CLOUD_USERSYNC><03-20-2014 11:17:56.232-60><thread=4396 (0x112C)>
ERROR: User delta sync failed with exception: System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.~~Parameter name: length~~ at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)~~ at Microsoft.ConfigurationManager.DmpConnector.UserSync.UserSyncServiceClient.SetLicensedUsers(String[] principalNames)~~ at Microsoft.ConfigurationManager.DmpConnector.UserSync.CloudUserUpload.AddLicensedUsers(List`1 userPrincipalNames, List`1& notFoundUsers)~~ at Microsoft.ConfigurationManager.DmpConnector.UserSync.ConnectorUserSync.NotifyAccountAddition(DatabaseOperation dbOperations, Dictionary`2 receivedUsers, Boolean sendStatusMessages, Boolean& statusMessagesSent)~~ at Microsoft.ConfigurationManager.DmpConnector.UserSync.ConnectorUserSync.PerformDeltaSync(Boolean sendStatusMessages)~~ $$<SMS_CLOUD_USERSYNC><03-20-2014 11:17:56.239-60><thread=4396 (0x112C)>

Follow these steps:

  • Make sure you have good connectivity to outbound 443 TCP
  • You can test this by opening the LSU URL in Internet Explorer.
  • If a proxy is required, configure that in ConfigMgr 2012.
  • Remove the Intune Connector in ConfigMgr and re-add.

Restart the SMS_EXECUTIVE service afterwards.

Comments

  • Anonymous
    December 04, 2014
    Hi there, first at all... I'm sorry if my English is not good enough ..

    I want to know .. what are the LSU URL addresses that you are refering here?

    Thanks in advance.. ;)
  • Anonymous
    December 04, 2014
    Hi Greising. Check the log for any HTTPS URL and past that in your browser. It's likely that ConfigMgr is having issue connecting to the Intune gateway (LSU)
  • Anonymous
    December 05, 2014
    Thanks a lot Pwigle ;)