SAP Knowledge Base Article - Public

2982342 - Change user settings programmatically from a Central User in SAP Analytics Cloud (SAC) & SAP Digital Boardroom

Symptom

How to change User Settings such as date and time settings without the user in question needing to sign in and modify these properties.

Environment

  • SAP Analytics Cloud (Enterprise) 2020.21.1

Cause

Each user needs to sign in and change these properties individually.

Resolution

Utilise the User-Provisioning API to centrally manage your user-base.

  1. Sign up for a Postman account (or download the app) which is a API Development Platform
  2. Create an OAuth Client from system, administration, app integration page on SAC
  3. Navigate to the token url to retrieve an access token

        Remember to include <?grant_type=client_credentials> as a parameter of the token url

  4. Enter the client id and secret of the OAuth Client as the username and the password in pop up.
  5. Retrieve the access token and include this in the next step
  6. Start a new tab and select 'put' from the drop down list
  7. Enter the url of your tenant with the prefix 'api/v1/scim/Users/<id>
  8. Include the following in the headers: - x-sap-sac-custom-auth: true, x-csrf-token: string (returned from the headers response in the get request, originally 'fetch' as the value), Authorization: Bearer string
  9. Click on the body tab (underneath the URL) and select the raw radio button
  10. Place a single object of a user and modify the properties as desired
  11. Hit send and notice the change has been applied.

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics,Error, Issue, System, Data, User, Unable, Access, Connection, Sac, Connector, Live, Acquisition, Up, Set, setup, Model, BW, Connect, Story, Tenant, Import, Failed, Using, Working, SAML, SSO, sapanalyticscloud, sap analytical cloud, sap analytical cloud, SAC, sap analyst cloud, connected, failure, stopped, user settings, date format, user-provisioning API , KBA , LOD-ANA-AUT , SAC Authentication / Login , How To

Product

SAP Analytics Cloud 1.0