SAP Knowledge Base Article - Public

2988227 - What's the difference between active set to true or false when creating user with User and Team Provisioning API in SAP Analytics Cloud

Symptom

  • What's the difference between active set to true or false when creating user with User and Team Provisioning API in SAP Analytics Cloud 

Environment

 SAP Analytics Cloud 2020

Reproducing the Issue

  1. Follow below KBA or guide to create a user

     2936295 - How to create user by SAP Analytics Cloud User and Team Provisioning API  

    https://help.sap.com/viewer/298f82da4b184d1fb825b7ffe365e94a/release/en-US/36c9929c050e428ba6b391bf16b018fc.htm
  2.  Create user with below sample code
    {
    "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User",
    "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"
    ],
    "userName":"xxxxxx@xxx.com",
    "name":
    {
    "givenName":"xxx",
    "familyName":"xxxx"
    },
    "displayName":"xxxx",
    "Active": false
    "emails":[
    {
    "value":"xxxxxx@xxx.com",
    "type":"work",
    "primary":true
    }
    ],
    "roles":[],
    "groups":[],
    "urn:scim:schemas:extension:enterprise:1.0": {
    "manager": {
    "managerId": ""
    }
    }
    }
  3. Create another user with above sample code, just change "Active": false to "Active": true.
  4. Go to SAC, check the two users that created, cannot find any difference.

Resolution

The recommendation is to always set active to true. Setting it to false can have unattended consequences. If you want to remove/disable a user, the recommendation is that they delete the user using the SCIM API or the SAC UI.

See Also

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, API, 401, 404, 200, 201,api, sdk, create user, creation, sample, sac, how to, postman, coding , KBA , LOD-ANA-BI , Business Intelligence Functionality, Analytic Models , How To

Product

SAP Analytics Cloud 1.0