Symptom
When modifying a user or group in SAC, it was previously necessary to know the roles assigned to the user/group when performing a PUT call to update the user/group.
Environment
- SAP Analytics Cloud (Enterprise) 2021.14.7
Cause
When updating or modifying a user/group it was previously necessary to pass in all the roles for that user/group.
Resolution
There is now a new header which can be passed which will allow you to modify the user/group and retain any existing roles for them. The new header is:
x-ignore-roles-if-missing
New Behavior:
Action | Payload Roles | Existing Roles | Set "x-ignore-roles-if-missing" Header | Expected User Roles |
Update User/Group with no roles | "roles": [PROFILE:sap.epm:BI_Content_Creator"] | TRUE | "roles": ["PROFILE:sap.epm:BI_Content_Creator"] | |
Update User/Group with empty roles | "roles": [] | "roles": [PROFILE:sap.epm:BI_Content_Creator"] | TRUE | "roles": [] |
Update User/Group with new roles | "roles": ["PROFILE:sap.epm:Admin"] | "roles": [PROFILE:sap.epm:BI_Content_Creator"] | TRUE | "roles": ["PROFILE:sap.epm:Admin"] |
Update User/Group with no roles | "roles": [PROFILE:sap.epm:BI_Content_Creator"] | FALSE | "roles": [] | |
Update User/Group with empty roles | "roles": [] | "roles": [PROFILE:sap.epm:BI_Content_Creator"] | FALSE | "roles": [] |
Update User/Group with new roles | "roles": ["PROFILE:sap.epm:Admin"] | "roles": [PROFILE:sap.epm:BI_Content_Creator"] | FALSE | "roles": ["PROFILE:sap.epm:Admin"] |
Notes:
- It is still necessary to pass in all user members of the group when updating the group
- The INFRA_SCIM_IGNORE_ROLES toggle needs to be set on the tenant - however all tenants should now have this enabled by default
- If the x-ignore-roles-if-missing header is set to true, you cannot update the "isConcurrent" value of a user as part of the update call.
See Also
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- Have a question? Ask it here and let our amazing SAP community help! Or reply and share your knowledge!
- 2487011 - What information do I need to provide when opening an case for SAP Analytics Cloud?
- 2511489 - Troubleshooting performance issues in SAP Analytics Cloud
- Search for SAP Analytics Cloud content using Google or Bing:
- https://www.google.ca/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- https://www.bing.com/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- Note: Add relevant text or warning/error messages to the text search field to filter results.
- SAP Analytics Cloud Connection Guide
- Getting Started with SAP Analytics Cloud Expert Community page
- SAP Analytics Cloud Get More Help and SAP Support
- Need More Help? Contact Support or visit the solution finder today!
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, x-ignore-roles-if-missing, SCIM, API, Users , KBA , LOD-ANA-DES , Story Design & Visualizations , Problem