Hybrid Search not working from SharePoint 2013 Online to SharePoint On-premise

Hi,
I have setup a SharePoint 2013 Hybrid environment setup with the following –
Windows Server 2012 R2
SharePoint Server 2013 with April 2014 CU
SQL Server 2014
ADFS 3.0 using SSO with Web proxy and DirSync
SharePoint 2013 Online tenant on Office 365 Enterprise Subscription
I have configured the Hybrid following the article
http://technet.microsoft.com/en-us/library/jj838715(v=office.15).aspx and configured Hybrid Search. The hybrid environment was working fine including Search both ways initially
but after upgrade to April CU 2014 (along with upgrade to SQL 2014 from SQL 2012), now search from SharePoint online to SharePoint in-Premise is not working anymore.
I am still able login with the federated IDs in both the environments and get results from SharePoint Online in SharePoint in-Premise environment.
I have already tried most of the troubleshooting steps mentioned at
http://technet.microsoft.com/en-us/library/dn518363(v=office.15).aspx
Now every time, we perform a search in our SharePoint Online site, which is configured to show hybrid results from SharePoint in-premise, we don’t get results from in-premise and instead we see the following error logged in SharePoint
In-premise Web Server –
Error - An exception occurred when trying to issue security token: Exception of type 'System.ArgumentException' was thrown. Parameter name: value.
And ULS log shows the following – Even though the message seems apparent that there could be duplicate users in user profile Application, but that’s not the case. There are just 2 unique users added there.
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Portal Server     
        User Profiles                      ae0sx               
Unexpected       Error trying to search in the UPA. The exception message is 'System.ArgumentException: Exception of type 'System.ArgumentException' was thrown.  Parameter name: value     at Microsoft.SharePoint.Administration.Claims.SPIdentityProviders.GetIdentityProviderType(String
value)     at Microsoft.Office.Server.Security.UserProfileIdentityClaimMapper.SearchUsingNameIdOrThrow(UserProfileManager upManager, String nameId, String nameIdIssuer)     at Microsoft.Office.Server.Security.UserProfileIdentityClaimMapper.GetSingleUserProfileFromClaimsList(UserProfileManager
upManager, IEnumerable`1 identityClaims)'  4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         b4ly        Verbose                
Leaving Monitored Scope (Executing the user mapping operation in GetMappedIdentityClaim()). Execution Time=1.4449                4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Portal Server     
        User Profiles                      ae0su    High       The set of claims
could not be mapped to a single user identity. Exception Exception of type 'System.ArgumentException' was thrown.  Parameter name: value has occured.      4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation      
          Monitoring                         b4ly        Verbose
                Leaving Monitored Scope (Inside SPIdentityClaimMapperOperations.GetClaimFromExternalMapper(); calling the registered SPIdentityClaimMapper). Execution Time=1.5596            
4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation       
         Claims Authentication                    ae0tc               
High       The registered mappered failed to resolve to one identity claim. Exception: System.InvalidOperationException: Exception of type 'System.ArgumentException' was thrown.  Parameter name: value ---> System.ArgumentException:
Exception of type 'System.ArgumentException' was thrown.  Parameter name: value     at Microsoft.SharePoint.Administration.Claims.SPIdentityProviders.GetIdentityProviderType(String value)     at Microsoft.Office.Server.Security.UserProfileIdentityClaimMapper.SearchUsingNameIdOrThrow(UserProfileManager
upManager, String nameId, String nameIdIssuer)     at Microsoft.Office.Server.Security.UserProfileIdentityClaimMapper.GetSingleUserProfileFromClaimsList(UserProfileManager upManager, IEnumerable`1 identityClaims)    
--- End of inner exception stack trace ---     at Microsoft...            4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59*               w3wp.exe (0x1C88)                      
0x2494  SharePoint Foundation                 Claims Authentication                        
ae0tc     High                    ....Office.Server.Security.UserProfileIdentityClaimMapper.GetSingleUserProfileFromClaimsList(UserProfileManager
upManager, IEnumerable`1 identityClaims)     at Microsoft.Office.Server.Security.UserProfileIdentityClaimMapper.<>c__DisplayClass2.<GetMappedIdentityClaim>b__0()     at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()    
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated
secureCode)     at Microsoft.Office.Server.Security.UserProfileIdentityClaimMapper.GetMappedIdentityClaim(Uri context, IEnumerable`1 identityClaims)     ...           
4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Claims Authentication                    af3zp               
Unexpected       STS Call Claims Saml: Problem getting output claims identity. Exception: 'System.InvalidOperationException: Exception of type 'System.ArgumentException' was thrown.  Parameter name: value ---> System.ArgumentException:
Exception of type 'System.ArgumentException' was thrown.  Parameter name: value     at Microsoft.SharePoint.Administration.Claims.SPIdentityProviders.GetIdentityProviderType(String value)     at Microsoft.Office.Server.Security.UserProfileIdentityClaimMapper.SearchUsingNameIdOrThrow(UserProfileManager
upManager, String nameId, String nameIdIssuer)     at Microsoft.Office.Server.Security.UserProfileIdentityClaimMapper.GetSingleUserProfileFromClaimsList(UserProfileManager upManager, IEnumerable`1 identityClaims)     ---
End of inner exception stack trace ---     at Microsoft.O...       4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint
Foundation                 Claims Authentication                    fo1t               
Monitorable       STS Call: Failed to issue new security token. Exception: System.InvalidOperationException: Exception of type 'System.ArgumentException' was thrown.  Parameter name: value ---> System.ArgumentException:
Exception of type 'System.ArgumentException' was thrown.  Parameter name: value     at Microsoft.SharePoint.Administration.Claims.SPIdentityProviders.GetIdentityProviderType(String value)     at Microsoft.Office.Server.Security.UserProfileIdentityClaimMapper.SearchUsingNameIdOrThrow(UserProfileManager
upManager, String nameId, String nameIdIssuer)     at Microsoft.Office.Server.Security.UserProfileIdentityClaimMapper.GetSingleUserProfileFromClaimsList(UserProfileManager upManager, IEnumerable`1 identityClaims)    
--- End of inner exception stack trace ---     at Microsoft.Office.Server.Secu...    4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59*               w3wp.exe (0x1C88)                      
0x2494  SharePoint Foundation                 Claims Authentication                   
fo1t                Monitorable       ...rity.UserProfileIdentityClaimMapper.GetSingleUserProfileFromClaimsList(UserProfileManager upManager, IEnumerable`1
identityClaims)     at Microsoft.Office.Server.Security.UserProfileIdentityClaimMapper.<>c__DisplayClass2.<GetMappedIdentityClaim>b__0()     at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()    
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated
secureCode)     at Microsoft.Office.Server.Security.UserProfileIdentityClaimMapper.GetMappedIdentityClaim(Uri context, IEnumerable`1 identityClaims)     at Microsoft.ShareP...    4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59*               w3wp.exe (0x1C88)                      
0x2494  SharePoint Foundation                 Claims Authentication                   
fo1t                Monitorable       ...oint.IdentityModel.SPIdentityClaimMapperOperations.GetClaimFromExternalMapper(Uri contextUri, List`1 claims)    
at Microsoft.SharePoint.IdentityModel.SPIdentityClaimMapperOperations.ResolveUserIdentityClaim(Uri contextUri, ClaimCollection inputClaims)     at Microsoft.SharePoint.IdentityModel.SPIdentityClaimMapperOperations.GetIdentityClaim(Uri contextUri,
ClaimCollection inputClaims, SPCallingIdentityType callerType)     at Microsoft.SharePoint.IdentityModel.SPSecurityTokenService.GetLogonIdentityClaim(SPRequestInfo requestInfo, IClaimsIdentity inputIdentity, IClaimsIdentity outputIdentity,
SPCallingIdentityType callerType)     at Microsoft.SharePoint.IdentityModel.SPSecurityTokenService.EnsureSharePointClaims(SPRequestInfo requestInfo, IClaimsIdentity outputIdentity, SPCallingIdentityTy...     4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59*               w3wp.exe (0x1C88)                      
0x2494  SharePoint Foundation                 Claims Authentication                   
fo1t                Monitorable       ...pe callerType)     at Microsoft.SharePoint.IdentityModel.SPSecurityTokenService.AugmentOutputIdentityForRequest(SPRequestInfo
requestInfo, IClaimsIdentity outputIdentity)     at Microsoft.SharePoint.IdentityModel.SPSecurityTokenService.GetOutputClaimsIdentity(IClaimsPrincipal principal, RequestSecurityToken request, Scope scope)     at Microsoft.IdentityModel.SecurityTokenService.SecurityTokenService.Issue(IClaimsPrincipal
principal, RequestSecurityToken request)     at Microsoft.SharePoint.IdentityModel.SPSecurityTokenService.Issue(IClaimsPrincipal principal, RequestSecurityToken request)              
4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         b4ly        Verbose                
Leaving Monitored Scope (SPSecurityTokenService.Issue). Execution Time=6.3185          4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____CPU Cycles=12774004          4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____Execution Time=6.3185       4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         nasq      Verbose                
Entering monitored scope (CleanUpSecurityTokenServiceOperation). Parent ExecuteSecurityTokenServiceOperationServer                4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         b4ly        Verbose                
Leaving Monitored Scope (CleanUpSecurityTokenServiceOperation). Execution Time=0.0282     4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____CPU Cycles=14832078          4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____Execution Time=0.0282       4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         b4ly        Medium                 
Leaving Monitored Scope (ExecuteSecurityTokenServiceOperationServer). Execution Time=7.2841         4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____WebPart Events Offsets=0                4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                        0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____User Address=       4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation     
           Monitoring                         nass       Verbose
                ____=00000000-0000-0000-0000-000000000000 4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____Log Correlation Id=4c8b979c-f112-d050-9764-c445282f9184               4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____Service Calls=0        4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____Claims Counter=0  4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____Critical Events=0    4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____ULS Large Gap=      4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____Execution Time=7.2841       4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____CPU Cycles=0          4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____Current SharePoint Operations=0  4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____SPRequest Objects=2          4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____Distributed Cache=0            4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                        0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____SQL Query Count=0              4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____Current User=        4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____Request Management=     4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                        0x2494  SharePoint Foundation        
        Monitoring                         nass       Verbose                
____Page Checkout Level=Published     4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Logging Correlation Data               77a3                Verbose              
Ending correlation. Transfer to 4c8b979c-f112-d050-9764-c834ee4cf36d 4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Unified Logging Service                 cn4g                Verbose
              Trace level override is turned off.             4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1C88)                       0x2494  SharePoint Foundation        
        Logging Correlation Data               77a3                Verbose              
Ending correlation.          4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1EEC)                       0x26BC SharePoint Foundation        
        Monitoring                         nasq      Verbose                
Entering monitored scope (CleanUpSecurityTokenServiceOperation). Parent ExecuteSecurityTokenServiceOperationCaller:http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue     4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1EEC)                       0x26BC SharePoint Foundation        
        Monitoring                         b4ly        Verbose                
Leaving Monitored Scope (CleanUpSecurityTokenServiceOperation). Execution Time=0.0257     4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1EEC)                        0x26BC SharePoint Foundation        
        Monitoring                         nass       Verbose                
____Execution Time=0.0257       4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1EEC)                       0x26BC SharePoint Foundation     
           Monitoring                         nass       Verbose
                ____CPU Cycles=2377140            4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1EEC)                       0x26BC SharePoint Foundation        
        Monitoring                         b4ly        Verbose                
Leaving Monitored Scope (ExecuteSecurityTokenServiceOperationCaller:http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue). Execution Time=13.2855           4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1EEC)                       0x26BC SharePoint Foundation        
        Monitoring                         nass       Verbose                
____Execution Time=13.2855    4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1EEC)                       0x26BC SharePoint Foundation        
        Monitoring                         nass       Verbose                
____CPU Cycles=0          4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1EEC)                       0x26BC SharePoint Foundation        
        Claims Authentication                    fsq7               
High       SPSecurityContext: Request for security token failed with exception: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Exception of type 'System.ArgumentException' was thrown.  Parameter name:
value (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.InvalidOperationException: Exception of type 'System.ArgumentException' was thrown.  Parameter name: value ----> System.ArgumentException:
Exception of type 'System.ArgumentException' was thrown.  Parameter name: value    at Microsoft.SharePoint.Administration.Claims.SPIdentityProviders.GetIdentityProviderType(String value)     at Microsoft.Office.Server.Security.UserProfileIdentityClaimMapper.SearchUsingNameIdOrThrow(UserProfileManager
upManager, ...                4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59*               w3wp.exe (0x1EEC)                      
0x26BC SharePoint Foundation                 Claims Authentication                        
fsq7       High       ...String nameId, String nameIdIssuer)     at Microsoft.Office.Server.Security.UserProfileIdentityClaimMapper.GetSingleUserProfileFromClaimsList(UserProfileManager
upManager, IEnumerable`1 identityClaims)    --- End of inner ExceptionDetail stack trace ---    at Microsoft.Office.Server.Security.UserProfileIdentityClaimMapper.GetSingleUserProfileFromClaimsList(UserProfileManager upManager,
IEnumerable`1 identityClaims)     at Microsoft.Office.Server.Security.UserProfileI...).       4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1EEC)                        0x26BC SharePoint Foundation        
        Claims Authentication                    8306               
Critical   An exception occurred when trying to issue security token: Exception of type 'System.ArgumentException' was thrown.  Parameter name: value.               4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1EEC)                       0x26BC SharePoint Foundation        
        Monitoring                         b4ly        Verbose                
Leaving Monitored Scope ([S2S] Getting token from STS and setting Thread Identity). Execution Time=16.83       4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1EEC)                       0x26BC SharePoint Foundation        
        Monitoring                         nass       Verbose                
____Execution Time=16.83         4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1EEC)                       0x26BC SharePoint Foundation        
        Monitoring                         nass       Verbose                
____CPU Cycles=7084490            4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1EEC)                       0x26BC SharePoint Foundation        
        Monitoring                         b4ly        Medium                 
Leaving Monitored Scope (Application Authentication Pipeline). Execution Time=20.6415             4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1EEC)                       0x26BC SharePoint Foundation        
        Monitoring                         nass       Verbose                
____Execution Time=20.6415    4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1EEC)                       0x26BC SharePoint Foundation        
        Monitoring                         nass       Verbose                
____CPU Cycles=14789795          4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1EEC)                       0x26BC SharePoint Foundation        
        Application Authentication          ajezs                High       SPApplicationAuthenticationModule:
Error authenticating request, Error details { Header: {0}, Body: {1} }.  Available parameters: 3001000;reason="There has been an error authenticating the request.";category="invalid_client" {"error_description":"Exception
of type 'System.ArgumentException' was thrown.\u000d\u000aParameter name: value"} .       4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59 w3wp.exe (0x1EEC)                       0x26BC SharePoint Foundation    
            General                               
8nca       Medium                  Application error when access /_vti_bin/sites.asmx, Error=Exception of type 'System.ArgumentException' was thrown. 
Parameter name: value   at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.ReadResponse(Message response)     at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse&
rstr)     at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst)     at Microsoft.SharePoint.SPSecurityContext.SecurityTokenForContext(Uri context, Boolean bearerToken, SecurityToken
onBehalfOf, SecurityToken actAs, SecurityToken delegateTo, SPRequestSecurityTokenProperties properties)     at Microsoft.SharePoint.SPSecurityContext.SecurityTokenForApplicationAuthentication(Uri context, SecurityToken onBe...           
4c8b979c-f112-d050-9764-c834ee4cf36d
06/04/2014 12:58:41.59*               w3wp.exe (0x1EEC)                      
0x26BC SharePoint Foundation                 General                      
         8nca                Medium               ...halfOf)    
at Microsoft.SharePoint.IdentityModel.SPApplicationAuthenticationModule.<>c__DisplayClass4.<GetLocallyIssuedToken>b__3()     at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)    
at Microsoft.SharePoint.IdentityModel.SPApplicationAuthenticationModule.ConstructIClaimsPrincipalAndSetThreadIdentity(HttpApplication httpApplication, HttpContext httpContext, SPFederationAuthenticationModule fam)     at Microsoft.SharePoint.IdentityModel.SPApplicationAuthenticationModule.AuthenticateRequest(Object
sender, EventArgs e)     at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  
4c8b979c-f112-d050-9764-c834ee4cf36d
Any ideas?
Anupam Shrivastava

I am experiencing the same issue. Don't have the answer yet about what's wrong exactly. And my SSO works fine too.
I know precisely what makes the SharePoint throw the ArgumentException, but I can't yet figure out how to influence this behavior. I will respond back if I find out, but I hope the following will create an "aha moment" for someone.
So the SP Online issues an OAuth request to the on-prem SharePoint. If verbose logging is on for the Claims category, you may see how it reads these claims. One of them is this:
Claim['nii':'urn:federation:microsoftonline']
Using this claim and the nameid claim the profile mapping logic then reports the following immediately before the error (Set User Profiles to verbose to see this):
Creating encoded sid for nameid '100300008b29cb02' and nameidissuer 'urn:federation:microsoftonline'
Inspecting this logic with Reflector, I can see that it then attempts to infer the identity provider type from the nameidissuer, and throws the exception, because "federation" is not what it expects. It expects either "windows", "trusted" or "forms" for
the provider type.
So the user's actions to lead to this error were as follows:
1. I connect to the Office 365 portal, and get redirected to my ADFS server (same domain for the ADFS server, on-prem SharePoint, and the user accounts).
2. I log on, and from the SP Online portal I issue my search query using a result source configured as per the Hybrid TechNet guidance.
So thanks in advance for any suggestions, on what it could be.

Similar Messages

  • Windows Search not working for Outlook 2013

    Hello,
    I am running Outlook 2013 under Windows7 Pro. The search within Outlook works perfect, but I am used to also get Outlook results from the Windows Search under the "Start" menu: Office documents are beeing displayed but no Outlook Mails as it used
    to be under Outlook 2010.
    Can someone help ?
    Andreas
    <object height="0" id="plugin0" style=";z-index:1000;" type="application/x-dgnria" width="0"><param name="tabId" value="ff-tab-0" /><param name="counter"
    value="18" /></object>

    This is by design. We can find the deprecated features here -
    http://technet.microsoft.com/en-us/library/cc178954(v=office.15).aspx (outlook search from Windows shell is called out).
    Tony Chen
    TechNet Community Support

  • E-Recruiting: TREX--Search not working from TRM

    Dear experts,
    We have a strange problem in our implementation.We have configured TREX 7.0 with eRecruiting 603.The TREX is without SES.
    If i go to succession planning & do the search against a succession plan(requistion) by clicking cnadidate search, i get search results & i can assign them to the plan.
    If i go to Talent Relationship Management & try to do the search,it gives me an error"An internal error occured.Please try again later".
    If i go to SLG1 & check the logs, i can see the following:
    "Proficiency scale could not be read
    Message no. HRRCF0001127
    Diagnosis
    The proficiency scale could not be created. Possible reasons:
    Missing Customizing
    Missing authorization'
    "The error occurred in program CL_HRRCF_T77RCF_SCALES========CM002 line 42
    Message no. HRRCF0001010
    Diagnosis
    The system detects a technical inconsistency.
    System Response
    The operation will be terminated.
    Termination takes place in:
    Main program: CL_HRRCF_T77RCF_SCALES========CP
    Subroutine: CL_HRRCF_T77RCF_SCALES========CM002
    Line in source code: 42
    Can anyone please help us out with this?
    Thanks,
    Sowmya

    Hello Sowmya,
    I feel that the custominzing in the table T77RCF_SCALES aer not perfect.
    there may be missing entries here For example :
    - No entry in Customizing table T77RCF_SCALES for scale type [A]
    - No entry in Customizing table T77RCF_SCALES for scale type [C]
    - No entry in Customizing table T77RCF_SCALES for scale type [W]
    - Customizing table T77RCF_SM_ASME contains no corresponding entry for
      SMASK_ID =0002
    Please make the entries accordingly..
    Best Regards,
    Deepak...

  • Browse button not working in Windows Phone while tyring to upload an image to Pictures library in Sharepoint 2013 online site .

    Hi,
    I am trying to upload an image to SharePoint 2013 online site's Pictures Library from the Windows phone. When I click on  Browse button, nothing happens. Although the same browse button in working in the chrome and allowing to select an image from the
    phone library.
    Please let me know if this is the known issue or any work around is available to overcome this.
    Regards,
    Saurabh M

    Hi,
    Although the mobile version of Internet Explorer is supported by SharePoint 2013, however, for Office 365 SharePoint Online 2013 which keeps updating all the times, there may
    be some compatibility issues during the process.
    As this issue is more relate to SharePoint Online, it would be more appropriate to open a thread in Office 365 forum, you will get more help and confirmed answers from there:
    http://community.office365.com/en-us/forums/default.aspx
    Thanks for your understanding.    
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Image Preview in Sharepoint 2013 Online Search Results

    Hi i am using Sharepoint 2013  online Office 365. In my search page i can view the preview from picture library. But when i am searching document library i can only see the preview of pdf, excel, word etc... not image. Why image file not previewing from
    document library.How to solve this?
    Thanks in advance.

    Hi,
    Please refer links below:
    http://stevemannspath.blogspot.in/2013/02/sharepoint-2013-image-preview-in-search_22.html
    http://blogs.realdolmen.com/experts/2014/03/17/images-in-sharepoint-server-2013-search/
    Hope it helps!
    Thanks,
    Avni Bhatt
    If this helped you resolve your issue, please mark it Answered

  • How do I show/refresh data from an Access Web App in an Excel spreadsheet saved in a Document Library on Sharepoint 2013 online

    I have an Access 2013 Web App in my Sharepoint 2013 online website. It contains a query to report on its data (several, actually, but let's keep it simple). I want to connect an Excel spreadsheet to the query, visualise the data in pivot tables/graphs/whatever,
    save the spreadsheet in a Document Library, and let other team site Sharepoint users open the spreadsheet (preferably in Excel online, but with Excel client if it has to be) and see/copy the data, refreshed with the latest information from the Access Web App.
    Simple, surely!
    The way I'm doing it at the moment is to create an ODC file to connect to the cloud-based Access 2013 database, save that ODC in a Data Connection Library in the SP site, and use the saved ODC file as data source in the Excel spreadsheet. This works and
    successfully keeps everything 'in the cloud' but I can't get it to refresh in Excel Online, and if I open the spreadsheet in Excel Client I have to enter the database password every time to refresh it. I don't really want to issue this password to everyone
    who might want to view the data. There must be a better way than this ODC method, I suspect.
    Googlings on this have led down various blind alleys - Excel Services, PowerPivots, Web Parts - but I'm stuck on which to follow through. Please, someone, point me to an article/book/website that explains how to do this step-by-step in simple language..
    thanks
    Jonathan

    I don't see any quick way of achieving it - at least there's no such functionality exists in SharePoint. All you can do, develop an event receiver that will update the fields in the list item once the excel file is added/updated. You can use OpenXml API
    to manipulate the excel file.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • Migration from Hummingbird to SharePoint 2013 Online (office 365)

    Hi,
    Please suggest tools/approach for migration from Hummingbird to SharePoint 2013 Online.
    Already found tool Tzunami, Please suggest other tools.
    http://www.tzunami.com/
    Regards,
    Divyesh Lappawala

    This blog includes links to most, if not all, the common migration tools. Have a look through them to see which support Hummingbird as a source.
    http://blogs.technet.com/b/ptsblog/archive/2013/11/04/migrating-file-shares-to-sharepoint-online.aspx

  • Unable to search successfully on Company field in a Contact list - SharePoint 2013 online

    When searching for a company in a contact list, I get NO search results when the line items returned should be abundant.
    I am using SharePoint 2013 Online with an Office 365 E3 license. I am the global administrator as well as site collection owner.
    Since Company is an existing site collection column, I went to its managed property in the SharePoint Administration portal. I went to Search > Manage Search Schema > Managed properties and opened CompanyOWSTEXT in order to click the Searchable checkbox.
    All items were grayed out and unable to be edited. The Searchable check box was UNCHECKED.
    Why am I unable to edit that property?
    How can I ensure that the Company field is crawled and can return search results?
    Thank you

    Please post your question to below SharePoint Online Technet forum:
    http://social.technet.microsoft.com/Forums/msonline/en-us/home?forum=onlineservicessharepoint
    Please ensure that you mark a question as Answered once you receive a satisfactory response.

  • Archive folder missing from Mail & search not working

    I've been having trouble getting the Archive mailbox to appear in Mail. What's worse, often the search function is broken, and Mail doesn't turn up any search results. I've found some ways to get the Archive folder to reappear, but these only seem to help temporarily. For instance, clicking on the gear at the bottom left and selecting "Get Account Info" then selecting the Archive folder causes it to reappear, but this is only temporary and it disappears after another restart or sometimes after an hour or two. The search not working is the worst, as it sometimes is working and sometimes isn't. I don't have any idea what's causing this, but I am at my wit's end because I NEED Mail to be firing on all cylinders.

    Hello, and welcome to the Discussions.
    What are your selections in Mail Preferences/Accounts/Advanced for this Gmail account, if using IMAP, regarding keeping message for Offline use? The Mail search can only access the list of messages to search Subject, From, etc, but not the entire message unless copies of all messages are being kept on the computer. This would be true for any IMAP account, btw.
    More info, please.
    Ernie

  • Accesing CRM Online from SharePoint 2013 Online

    I am contemplating adding some Dynamics CRM data to display, and possibly enter/update in our instance of SharePoint 2013 online in Office 365.  So basically the user would be in SharePoint looking at CRM data and could interact with it.
    Any resources / blogs / books out there that might cover this topic?  I'm a newbie to SP development, but have done extensive development (C# Plugins, JS, etc.) in CRM.
    Thanks!

    Hi Chris,
    Following url provides the steps for integration
    http://community.dynamics.com/crm/b/salimadamondynamicscrm/archive/2013/07/23/crm-online-amp-sharepoint-online-integration.aspx
    http://community.dynamics.com/crm/b/crminogic/archive/2013/04/19/how-to-integrate-sharepoint-online-with-crm-online-part-2-gt-integration-of-crm-and-sharepoint-online.aspx
    Regards  Roy Joyson
    Please remember to mark your question as "answered"/"Vote helpful" if this solves/helps your problem.
    Roy Joyson
     isn't this the other way round?  If i understand what Chris is asking for correctly, he's looking for the same as me, how to display some CRM data from within SharePoint, as opposed to displaying SharePoint data from within CRM.

  • Navigation Link not working from save search result

    Hello Experts,
    We have a requirement in our application which is created from scratch, I have implemenetd save search  and its working fine, we have some navigation links in result. these links does not work from save search results moreover it works with normal search.
    Can anybody help me out to achieve it.
    Thanks in advance,
    Madhu Omer

    Hi Madhu,
    If you want to trigger cross-component navigation to an overview page, then the following conditions should be satisfied:
    1. Your last outbound plug calls method fire_outbound_plug( ).
    2. The collection passed in fire_outbound_plug( ) contains two entities - a navigation descriptor as the first entity and a root object of the object you want to navigate to as the second entity.
    In your case, is condition 2 satisfied? You can create a navigation descriptor by calling the following method passing its two mandatory importing parameters as indicated:
    CL_CRM_UI_DESCRIPTOR_OBJ_SRV=>CREATE_UI_OBJECT_BASED(
        EXPORTING
            IV_UI_OBJECT_TYPE = * UI object type of object to which you want to navigate *
            IV_UI_OBJECT_ACTION = 'B'            "for Display
    If you keep debugging the standard outbound plugs, then you will see that at some location, SAP will surely be inserting this navigation descriptor object in the collection as first object in the collection when calling fire_outbound_plug( ).
    If you still can't trigger navigation, please mention the BOL objects you are working with, the component you have created and where you have used it.
    Regards,
    Shiromani

  • Integrate Workday and ServiceNow applications with SharePoint 2013 online

    Hello, we have to integrate Workday and ServiceNow applications with SharePoint 2013 online and need to display data from these applications
    to SharePoint 2013 intranet site. 
    Any information about the integration of Workday and ServiceNow applications with SharePoint 2013 would be greatly appreciated. Thanks!
    Regards,
    Shailendra 

    Hi Shailendra,
    I searched a lot, there seems very few information from internet and internal about this topic, I'm not familiar with Workday and ServiceNow applicaitons, I would recommend you may post in the following community sites(which should be offcial
    sites) for a better assistance regarding the integration questions between Workday and ServiceNow and SharePoint Online(O365).
    https://community.servicenow.com/thread/174050
    https://community.workday.com/
    http://community.office365.com/en-us/f/154.aspx
    Thanks
    Daniel Yang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Sharepoint 2013 Online - error while setting up CRM integration

    Hi,
    we use Dynamics CRM 2011 on-premise and Sharepoint 2013 online and since last week CRM integration with Sharepoint stopped working. When I want to set up "Document Management Settings" in CRM administration I got an error
    "An error occured while loading the page. The url may not have been mapped in the Sharepoint server. Ask your system administrator to check the Configure alternate access mappings settings in Sharepoint central administration."
    But we use Sharepoint online, so I can't configure it.
    I think it is common issue after some Sharepoint update in last month, because I tested 2 instances of Sharepoint online with 4 instances of CRM on-premise (3 different versions of CRM 2011 and one last updated CRM 2013).

    Hi  ,
    According to your description, my understanding is that you encountered the error "An error occurred while loading the page. The URL may not have been mapped in the SharePoint server. Ask your system administrator
    to check the Configure alternate access mappings settings in SharePoint central administration" when you want to set up "Document Management Settings" in CRM administration.
    For your issue, please re-install the Microsoft Dynamics CRM 2011 List Component for Microsoft SharePoint Server 2010 and Microsoft SharePoint Server 2013:
    http://www.microsoft.com/en-us/download/details.aspx?id=5283
    Also you can follow the thread:
    http://social.microsoft.com/Forums/en-US/2430e529-1eaa-43c6-8958-f109abe86270/crm-2011-documents-on-sharepoint-online-an-error-occurred-while-loading-the-page?forum=crm
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Anonymous User forms in Sharepoint 2013 Online (Office 365)

    I'm using Sharepoint 2013 online with Office 365.
    Is there any way for an anonymous user to communicate with the site using forms (preferably Infopath)?
    There are many, many versions of this question on the web, but most answers seem to talk about features I just don't have in Office 365 Sharepoint - such as Application Management in Central Administration, which just isn't there.
    The only feature I can find is the Excel Survey in Form Templates. This is at least a start, but what I really want is the ability for an anonymous user (a customer) to submit information into a Custom List using a form; or, second best, in an email (WITHOUT
    having to have Infopath Filler installed). this is all do-able for a fully-subscribed user of the intranet site, but I can't afford to buy individual subscriptions for all my customers. Nor do I want them seeing each other's data, or accessing my intranet!
    I have spent so long researching this and getting nowhere, and really need to know if it's just a straight 'no, it's impossible', or keep trying.
    Thanks
    Jonathan

    Hi Jonathan,
    According to your description, my understanding is that you want to enable anonymous user with forms in SharePoint 2013 Online.
    There is a Sandbox solution from CodePlex, it manages anonymous access on Office 365 / SharePoint 2013. Please have a try.
    https://anonymous365.codeplex.com/
    In addition, I am not an expert for SharePoint 2013 Online, I suggest you create a new thread on SharePoint Online forum, more experts will assist you with SharePoint Online.
    SharePoint Online forum:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=onlineservicessharepoint
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Anonymous User forms in Sharepoint 2013 Online

    I'm using Sharepoint 2013 online with Office 365.
    Is there any way for an anonymous user to communicate with the site using forms (preferably Infopath)?
    There are many, many versions of this question on the web. Several lead to
    http://claytoncobb.wordpress.com/2011/06/03/infopath-allowing-anonymous-users-to-submit-forms-in-sharepoint-2010/, but this is about Sharepoint 2010, not 2013. Other answers talk about features that are not in Sharepoint online 2013, such as Application
    Management in Central Administration. There is also a Sandbox solution from CodePlex that gets touted,
    https://anonymous365.codeplex.com/, but this fails in Sharepoint Online 2013.
    The only feature I can find is the Excel Survey in Form Templates. This is at least a start, but what I really want is the ability for an anonymous user (a customer) to submit information into a Custom List using a form; or, second best, in an email (WITHOUT
    having to have Infopath Filler installed). Seems a pretty basic need, really - letting your customers place orders. This is all do-able for a fully-subscribed user of the intranet site, but I can't afford to buy individual subscriptions for all my customers.
    Nor do I want them seeing each other's data, or accessing my intranet!
    I have spent so long researching this and getting nowhere, and really need to know if it's just a straight 'no, it's impossible', or keep trying.
    Thanks
    Jonathan

    Thanks pramod7
    Yes, I am using the public site. But unless I'm missing something, Custom Lists (and associated forms) cannot be exposed to anonymous users. They are just not in the permissions list.
    I can create a page in the public site and add a Form Templates web part. The options I then get for creating a new form in the Form Templates library are Word Document, Excel Workbook, Powerpoint Presentation, One Note Notebook or Excel Survey. An
    InfoPath form is not an option. None of these (as far as I can see) allow for any data entered in the 'form' by a user to be stored in a Custom List for further processing. Most require the user to have Word/Excel/whatever on their machine, rather than
    just use the browser. The nearest you get is the Excel Survey, which at least regularises the data entered by an anonymous user into columns in a spreadsheet, but this is not sophisticated enough for, say, an online ordering system in which you would not want
    customers seeing each other's orders.

Maybe you are looking for

  • Free transform not working in CC [was:PLEASE HELP ME!!!]

    Hello! Please, Please Help me! I installed Photoshop CC to edit my photo and when I use  free transformation it is not working. I need just to transform one litte area in the photo. I have windows 7 64 bits. Thank you!

  • White lines in table

    I am new to using Dreamweaver and I was trying to make a website composed of images. I created the template on Photosho CS2 and then I cut them into slices and I'm trying to make my website on Dreamweaver using tables. I started out making 1 row and

  • User accounts on the Mac

    I have several user accounts on the mac, I would suspect that when I open a terminal window I can drill down to /usr/bin/passwd. I tried cat passwd, I saw a lot of gibberish, I tried emacs same results, Does mac os 10.6 store it's user accounts in th

  • Semaphore release error

    I am making my first attempt at using semaphores,and am getting error 1111 when I go to release the semaphore.  I have read several posts on this error, but saw none that seem to offer a solution.  As you can see, I created a semaphore with a size of

  • Disk Util shows "decrptedFile.dmg" and below Flash Player - Is this a virus?

    While doing some routine maintenance with Disk Utility I see a disk image showing but it is hidden. I have nothing  connected by usb except an external HD which is listed separately. I am worried about this because it shows up as a disk image but I c