cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
94
Views
0
Helpful
3
Replies

Trying to enable user via SCIM 2.0 API but returning active=false

Hi Team,

I am trying to enable user by setting active=true in request but I am getting active=false in response.
I am using https://developer.webex.com/docs/api/v1/scim2-user/update-a-user-with-patch API.

Request:


{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:PatchOp"
],
"Operations": [
{
"op": "replace",
"path": "active",
"value": true
}
]
}


Response:

{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:scim:schemas:extension:cisco:webexidentity:2.0:User",
"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"
],
"id": "fa740302-671f-4a4e-93de-183ac2eaebf3",
"userName": "TestNg12242@yahoo.com",
"active": false,
"name": {
"familyName": "Chinchkar",
"givenName": "Prashant",
"honorificPrefix": "Mr.",
"honorificSuffix": "III"
},
"displayName": "Mr. Prashant Chinchkar",
"nickName": "Pacific",
"emails": [
{
"value": "TestNg12242@yahoo.com",
"type": "work",
"primary": true
}
],
"userType": "user",
"title": "Software Engineer",
"preferredLanguage": "en_US",
"locale": "en_US",
"timezone": "America/Los_Angeles",
"phoneNumbers": [
{
"value": "XXXXXXXXXX",
"type": "work",
"primary": true,
"display": "work phone number"
}
],
"photos": [
{
"type": "photo",
"primary": true,
"display": "photo description"
}
],
"addresses": [
{
"type": "work",
"streetAddress": "XXXXX",
"locality": "XXXXX",
"region": "XXXX",
"postalCode": "XXXXX",
"country": "US"
}
],
"urn:scim:schemas:extension:cisco:webexidentity:2.0:User": {
"accountStatus": [
"pending"
],
"meta": {
"organizationId": "44eda5fe-b255-4ebf-8496-722791e0bd30"
}
},
"meta": {
"resourceType": "User",
"version": "W/\"94832175020\"",
"created": "2024-12-05T14:47:52.176Z",
"lastModified": "2024-12-09T17:33:32.719Z"
}
}

Screenshot:

prashantchinchkar_0-1733766147753.png


I have reported similar issue for Create User use case.
Please find below thread
https://community.cisco.com/t5/webex-for-developers/status-remains-inactive-though-quot-active-quot-parameter-value/td-p/5232926 

Please suggest and advise.

Thanks,
Prashant

 

3 Replies 3

Raffaele Lagana
Cisco Employee
Cisco Employee

There looks to be a support ticket for this that you opened, ticket #129949. We're looking into both POST and PUT issues through that. We'll keep you updated in the ticket as we get further information (currently with Engineering teams for further investigations).

Jeff Marshall
Cisco Employee
Cisco Employee

Users have to validate their account using the activation email.
If you see this:
"accountStatus": [
"pending"
],

It should mean the user needs to click the link in the activation email to verify their email and activate the account.

Hi @Jeff Marshall ,
It was not the case previously, account was getting created with status "Not verified" not with status "inactive".
I have lots of account created with status "Not verified". (Ideally, logically, which is correct, which mean user has not verified the account by clicking on activation link).

prashantchinchkar_0-1734012298338.png


@cawinter also given +1 on this problem, please find attached screenhot.

Could you please recheck and confirm?

Thanks,
Prashant