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.
- Go to .
- Select (Edit).
In the Authentication Method area, select
SAML Single Sign-On (SSO).
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.
- 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 firstname.lastname@example.org 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, <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.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 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 dialog, select
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.