Enabling a Custom SAML Identity Provider
Single Sign-On authentication to a custom identity provider (IdP) can be configured using SAML 2.0 protocol.
- You must use SAML 2.0 protocol.
- Existing SAP Analytics Cloud users must have a corresponding user account in your custom SAML Identify Provider (IdP).
- You must be assigned to the System Owner role in SAP Analytics Cloud. For more information, see Standard Application Roles.
- SAP Analytics Cloud can
be hosted either on SAP data centers or on non-SAP data centers (for example,
Amazon Web Services (AWS)). Determine which environmentSAP Analytics Cloud is
hosted in by inspecting yourSAP Analytics Cloud URL:
- A single-digit number, for example us1 or jp1, indicates an SAP data center.
- A two-digit number, for example eu10 or us30, indicates a non-SAP data center.
- Go to .
- Select (Edit).
In the Authentication Method area, select SAML Single
Sign-On (SSO) if it is not already selected.
NoteBy default, SAP Cloud Identity is used for authentication.
In Step 1, select Download and
save the metadata file.
An SAP Analytics Cloud metadata file will be saved.
Upload the SAP Analytics Cloud
metadata file to your SAML Identity Provider (IdP).
The file includes metadata for SAP Analytics Cloud, and is used to create a trust relationship between your SAML Identity Provider and your SAP Analytics Cloud tenant.Note
If SAP Analytics Cloud is running on a non-SAP data center, for example Cloud Foundry (AWS), you must map your SAML attribute assertion to our white-listed attributes. Mapping these fields will ensure that your IdP's attributes will appear correctly in SAP Analytics Cloud. Additionally, you will be able to map roles based on your SAML assertion attributes.The following assertion attributes are expected:
Attribute Name Notes Required if your Name ID is "email". familyName Required. Groups Required. Set to "sac". displayName Optional. functionalArea Optional. givenName Optional. preferredLanguage Optional. custom1 Optional. For SAML role assignment. custom2 Optional. For SAML role assignment. custom3 Optional. For SAML role assignment. custom4 Optional. For SAML role assignment. custom5 Optional. For SAML role assignment.
- Download metadata from your SAML IdP.
- In Step 2, select Upload, and choose the metadata file you downloaded from your SAML IdP.
In Step 3, select a User Attribute.
The attribute will be used to map users from your existing SAML user list to SAP Analytics Cloud. The user attribute you select must match the NameID used in your custom SAML assertion:<Your Unique Identifier> may be a user ID or email.
<NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"><Your Unique Identifier></NameID>NoteAny ID selected is case sensitive. The user ID, email, or Custom SAML user mapping must match exactly in your SAML IdP and SAP Analytics Cloud. For example, if the email returned by your SAML IdP is email@example.com and the email you used in SAP Analytics Cloud is User@company.com the mapping will fail.Choose one of the following options:
- USER ID: If <Your Unique Identifier> is a
user ID that is identical to the SAP Analytics Cloud user ID.NoteYou can view your SAP Analytics Cloud user ID in list.
- Custom SAML User Mapping: If <Your Unique
Identifier> is a user ID that is NOT identical to
the SAP Analytics Cloud user ID.NoteIf you select this option, you must manually add the SAML User Mapping to <Your Unique Identifier> in Step 18.
- Email: If <Your Unique Identifier> is an email address.
If you are using a live connection to SAP S/4HANA Cloud Edition with OAuth 2.0 SAML Bearer Assertion, is running on<Your Unique Identifier> must be identical to the user name of the business user on your SAP S/4HANA system.
For example, if you want to map an SAP Analytics Cloud user with the user ID SACUSER to your SAP S/4HANA Cloud user with the user name S4HANAUSER, you must select Custom SAML User Mapping and use S4HANAUSER as <Your Unique Identifier>.
Additionally, if you are using SAP Cloud Identity as your identity provider, you can choose Login Name as the Name ID attribute, and set the login name of your SAP Analytics Cloud user to S4HANAUSER. You must manually add the SAML User Mapping to S4HANAUSER in Step 18.
- USER ID: If <Your Unique Identifier> is a user ID that is identical to the SAP Analytics Cloud user ID.
(Optional) Enable Dynamic User Creation.
When dynamic user creation is enabled, new users will be automatically created using the default role and will be able to use SAML SSO to log onto SAP Analytics Cloud. For more information, see Setting the Default Role. After users are created, you can set roles using SAML attributes. For more information, see Mapping Roles Using SAML Attributes.Note
- To ensure mapping SAML attributes to users, and mapping roles using SAML attributes, works with dynamic user creation, you must submit an SAP Product Support Incident at the following link: https://launchpad.support.sap.com/#incident/solution using the component LOD-ANA-BI. In the support ticket, indicate that you want to set up user profiles and role assignment based on custom SAML attributes, and include your SAP Analytics Cloud tenant URL.
- Automatic user deletion is not supported. If an user in SAP Analytics Cloud is removed from your SAML IdP, you must go to and manually delete the user. For more information, see Deleting Users.
In Step 4, enter the Login Credential for the
user account that is used to authenticate your custom SAML IdP.
NoteThe login credential depends on the User Attribute you selected under Step 3.
- If Custom SAML User Mapping was selected, the Login Credential should be the NameID used by your account on your SAML IdP. NameID will only be mapped to your SAP Analytics Cloud System Owner user account, and all other users must be added manually in step 18.
- If Email was selected, the Login Credential should be the email address of your account on your SAML IdP.
- If USER ID is selected, Login Credential is set to your SAP Analytics Cloud user name by default.
Test the SAML IdP setup.
In another browser, log on to the URL provided in the Verify Your Account dialog, using your SAML IdP credentials. You can copy the URL by selecting (Copy).
You must use a private session to log onto the URL; for example, Incognito mode in Chrome. This ensures that when you log on to the dialog and select SAP Analytics Cloud, you are prompted to log in and do not reuse an existing browser session.If you can log on successfully, the SAML IdP setup is correct.
In the Verify Your Account, select Check
If the verification is successful, Account Verified will appear in Step 4.
(Optional) Enter a password management URL.
The URL should link to the password management page of your SAML IdP.
The Convert to SAML Single Sign-On confirmation dialog will appear.
When conversion is complete, you will be logged out and directed to the logon page of your SAML IdP.
- Log on to SAP Analytics Cloud with the credentials of your IdP account.
and check that the information for all users is correct.
- If you selected Custom SAML User Mapping as User Attribute, you must manually update all fields in the SAML User Mapping column, because the information is not automatically updated.
- If you selected Email as User Attribute, the email address for each user should match to the email address used in your SAML IdP.
- If you selected USER ID as User
Attribute, the values in the USER
ID column should match the values of
NameID used in your custom SAML assertion.
NoteThe user ID should be in upper-case.
Users will be able to use SAML SSO to log onto SAP Analytics Cloud.
If SAML SSO is enabled and the metadata from your IdP is updated with a new signing certificate, please submit an SAP Product Support Incident using the component LOD-ANA-BI. You must specify your SAP Analytics Cloud URL and attach the new metadata XML to the support incident. There will be a service disruption, and users will be unable to access SAP Analytics Cloud until SAP Support finishes uploading the new metadata.
Switching to a Different IDP