cancel
Showing results for 
Search instead for 
Did you mean: 
fdjaja
Occasional Member - Level 1

Unable to find user from User Administration UI

Hi,

I created a user using this API https://us.api.concursolutions.com/profile/identity/v4/Users, the response is 201 created but unable to find the user in User Administration Concur UI. What I have missed out here ?

 

Thanks!

1 Solution
Solution
KevinD
Community Manager
Community Manager

@fdjaja using api isn't in my area of expertise, so I'm not sure on the timing. 

 

I suggest submitting a help ticket to Concur Support to see if they can help.


Thank you,
Kevin
SAP Concur Community Manager
Did this response answer your question? Be sure to select “Accept as Solution” so your fellow community members can be helped by it as well.

View solution in original post

7 REPLIES 7
KevinD
Community Manager
Community Manager

@fdjaja it looks like your site entity was moved to our US2 data center. That would explain why you cannot find the profile. It was created in one data center, but you are looking in another.  Try creating the profile here: https://us2.api.concursolutions.com/profile/identity/v4/Users

 

I don't know if it will work, but you could give it a try. Also keep in mind if a profile was indeed created, you might get an error stating that the Log In ID/Username is already in use.

 

Let me know what happens. 


Thank you,
Kevin
SAP Concur Community Manager
Did this response answer your question? Be sure to select “Accept as Solution” so your fellow community members can be helped by it as well.
fdjaja
Occasional Member - Level 1

Hi @KevinD 

Thanks for your reply. I created the user profile in us2 using https://us2.api.concursolutions.com/profile/v4/Users/ and from the provisioning status (

When I tried to search again in Concur UI, I am still unable to find the user. Does the provisioning happen immediately or do I need to wait for sometime ?
 
 

 

fdjaja
Occasional Member - Level 1

I am also getting this error when creating user with role EXP_USER

Extension is required for provisioning a Spend User before any further operations
Solution
KevinD
Community Manager
Community Manager

@fdjaja using api isn't in my area of expertise, so I'm not sure on the timing. 

 

I suggest submitting a help ticket to Concur Support to see if they can help.


Thank you,
Kevin
SAP Concur Community Manager
Did this response answer your question? Be sure to select “Accept as Solution” so your fellow community members can be helped by it as well.
jgc
Occasional Member - Level 1

Hello I am having the same issue with our system. Could you possibly share the solution to your help ticket? Thank you!

angela4
Occasional Member - Level 1

We are also experiencing this issue. Can you please share the solution to the ticket?

 

Thank you!

angela4
Occasional Member - Level 1

Good Morning, Here is what I found:

1. Create a User using this API:

POST: https://{{host}}/profile/v4/Users/

with fields ~ the following

{
    "schemas": [
        "urn:ietf:params:scim:schemas:core:2.0:User"
    ],
    "userName": "${user.email}",
    "active": true,
    "title": "${user.title}",
    "displayName": "${user.firstname} ${user.lastname}",
    "preferredLanguage": "en-US",
    "timezone": "America/New_York",
    "name": {
        "formatted": "${user.firstname} ${user.lastname}",
        "familyName": "${user.lastname}",
        "givenName": "${user.firstname}"
    },
    "emails": [
        {
            "type": "work",
            "value": "${user.email}",
            "notifications": true,
            "verified": false
        }
    ],
    "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
        "companyId": "###############",
        "employeeNumber": "${user.email}"
    }
}
 
 
2. then after that creates take the ID returned and make the following call:
PATCH: https://{{host}}/profile/v4/Users/{{id}}
 
{
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:PatchOp"
    ],
    "Operations": [
        {
            "op": "add",
            "path": "urn:ietf:params:scim:schemas:extension:spend:2.0:Role:roles",
            "value": [
                {
                    "roleName": "EXP_USER",
                    "roleGroups": []
                }
            ]
        },
        {
            "op": "add",
            "path": "urn:ietf:params:scim:schemas:extension:spend:2.0:Approver:report",
            "value": [
                {
                    "approver": {
                        "value": "${user.manager.id}"
                    },
                    "primary": true
                }
            ]
        },
        {
            "op": "add",
            "path": "urn:ietf:params:scim:schemas:extension:spend:2.0:User:country",
            "value": "US"
        },
        {
            "op": "add",
            "path": "urn:ietf:params:scim:schemas:extension:spend:2.0:User:locale",
            "value": "en-US"
        },
        {
            "op": "add",
            "path": "urn:ietf:params:scim:schemas:extension:spend:2.0:User:reimbursementCurrency",
            "value": "USD"
        },
        {
            "op": "add",
            "path": "urn:ietf:params:scim:schemas:extension:spend:2.0:User:stateProvince",
            "value": "${user.state}"
        }
    ]
}
 
3. Note that these fields are required for spend users - it is possible you don't need the extra ones I sent but I didn't try it that way
reimbursementCurrencystring-Required when using Spend User extension. Valid three digit currency code in the list of system reimbursement currencies.
 
localestring-Required when using Spend User extension. Valid locale from the list of configured locales as defined in [RFC5646]. Example: en-US
 
countrystring-Required when using Spend User extension. Valid ISO 3166 country code.
 
4. We were able to see the user on user administration when the following call worked / returned a result vs not found
GET: https://{{host}}/profile/spend/v4/Users/{{id}}