cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1482
Views
20
Helpful
3
Replies

Webex SCIM API (identity.webex.com/identity/SCIM) invalid org ID

pescla
Spotlight
Spotlight

So i am trying to update the Phone Numbers of Webex Users via the SCIM API. Its working fine for my own org. All you have to do for a GET (to test if it works) is get the org ID from Control Hub -> Account, then call https://identity.webex.com/identity/scim/[ORGID]/v1/Users/ with your personal access token if you have admin privs in this org. In my own org it works.

But today i was in a meeting with the customer that needed this solution, and we tested it with his account on his org. He has admin privs. We used the exact same request i did, and just replaced the access token and the org ID from his control hub.

But now we got the error "Invalid or missing OrgId" - how is that possible, when its the same request, and we got the orgId in the same way? Are there any prior steps i need to take to somehow allow the SCIM API on a new org? I tested it with a new temporary test org and it did not work there either, but since it works on my own org there must be something related to the Organization itself that blocks it sometimes?

1 Accepted Solution

Not using Azure - the API "https://api.ciscospark.com/v1/scim/" both with encoded and with unencoded orgId said "The requested resource could not be found" though. Yes the reason it worked for you is probably because you used an Org located in the US - for EU Orgs i needed to use identity-eu.webex.com and it worked, so that was the problem

View solution in original post

3 Replies 3

josviz
Cisco Employee
Cisco Employee

Hello @pescla ,

 

Are you using Azure Synchronization against Control Hub?

 

I'm not sure where did you find this URL:
https://identity.webex.com/identity/scim/[ORGID]/v1/Users/

 

Since the correct URL to use the SCIM integration with Webex is:
https://api.ciscospark.com/v1/scim/{OrgId}

 

Refer to:
Synchronize Azure Active Directory Users into Control Hub
https://help.webex.com/en-US/article/6ta3gz/Synchronize-Azure-Active-Directory-Users-into-Control-Hub#id_105581

 

Additionally, I'm able to use the URL:
https://identity.webex.com/identity/scim/[ORGID]/v1/Users/
I'm using Postman and I can get a 200 OK, please be aware that an Authorization Bearer is needed.

 

Screen Shot 2021-11-27 at 16.25.35.png

 

Please rate if it's “Helpful”.
If this answered your question please click “Accept as Solution”.

Not using Azure - the API "https://api.ciscospark.com/v1/scim/" both with encoded and with unencoded orgId said "The requested resource could not be found" though. Yes the reason it worked for you is probably because you used an Org located in the US - for EU Orgs i needed to use identity-eu.webex.com and it worked, so that was the problem

pescla
Spotlight
Spotlight

It seems that the error is connected to the Data Location of the Webex Site. The working orgs are in Americas, the ones where it throws the error in Europe. No idea what the reason for that is so far