KNOWLEDGE BASE

Error "SAML protocol parameter 'RelayState' was not found or not valid" Using ADFS SAML with iOS


Published: 10 Oct 2014
Last Modified Date: 21 Nov 2016

Issue

When using Tableau App for iPad or Safari to log in to Tableau Server using ADFS SAML authentication, the following errors might occur:

MSIS7046: The SAML protocol parameter 'RelayState' was not found or not valid. If the context was stored in cookies, the cookies that were presented by the client were not valid. Ensure that the client browser is configured to accept cookies from this website and retry this request.

Or:
 
Expected at least 2 (SAMLRequest and ProtocolBinding) context parts. Received context parts: 1

Or:
 
An error occurred. Contact your administrator for more information.  Error details
 
Activity ID: 00000000-0000-0000-c32d-00800000005e
Relying party: XXXX
Error time: <Date> <Time>
Cookie: enabled
User agent string: Mozilla/5.0 (Windows NT 6.3;WOW64)
AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/38.0.2125.111 Safari/537.36

Environment

  • Tableau Server
  • Safari for iPad
  • Tableau Mobile App 

Resolution

Option 1

Use Tableau Mobile 10.1. This behavior is related to a known defect (ID: 437740) that has been fixed in the release 10.1 of Tableau Mobile

Option 2

Use Mozilla Firefox or Google Chrome instead.

Cause

iOS and OS X browsers, such as mobile and desktop Safari, truncate cookies larger than 4KB, which are required by Microsoft ADFS. Tableau Mobile App for iOS uses some parts of the Safari browser, so it is also affected. 
Did this article resolve the issue?