Cognos Analytics

 View Only
Expand all | Collapse all

Cognos Analytics REST APIs: How to create a new user in Cognos, if the user exists in the AD being used as identity source?

  • 1.  Cognos Analytics REST APIs: How to create a new user in Cognos, if the user exists in the AD being used as identity source?

    Posted Wed September 15, 2021 01:06 AM

    Hi,
    We've set up Active Directory (AD) as our source of identities for Cognos. When viewed from the administration console, under Security Tab, The AD is under the namespace Directory > AD, while the Cognos Groups/Roles are under the namespace Directory > Cognos.

    We're looking for a way to add a user in AD to a Cognos Group. The REST API to add a user to a group requires the user's User ID, which a new user recently added to the AD may not have. 

    We've also observed that if the user in the AD accesses the Cognos home URL at least once, we see a User ID created for this user in Cognos, when we do a /users API call for this user (Using the user's CAMID). For a new user who exists in AD, but has never accessed Cognos at least once, the /users call does not return this user. (404)

    What is the best way to go about this requirement, where we need to add new user additions to our AD, to one of our groups in Cognos? We want to avoid making the users login at least once for our functionality to work. Can we do it in a different way?

    Please let me know if you have any ideas.
    - Sushant.



    ------------------------------
    Sushant Kulkarni
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Cognos Analytics REST APIs: How to create a new user in Cognos, if the user exists in the AD being used as identity source?

    Posted Tue March 07, 2023 04:10 PM

    Hi Sushant,

    I am facing the same issue per your description here. Have you come up with a resolution yet? If so, could you share how to overcome the issue please



    ------------------------------
    Benson Ho
    ------------------------------