I tried to create a new user. I have an a access token with below scopes
{
"access_token": "********************",
"expires_in": 1209599,
"refresh_token": "***********************",
"refresh_token_expires_in": 7775999,
"token_type": "Bearer",
"scope": "spark:all spark-admin:people_write spark-admin:roles_read spark:people_write identity:people_read identity:people_rw identity:groups_rw spark:kms audit:events_read identity:groups_read spark-admin:licenses_read spark-admin:people_read"
}
But I am getting below error. This was perfectly working fine on 24th Jan 2025.
{
"message": "The server understood the request, but refused to fulfill it because the access token is missing required scopes or the user is missing required roles or licenses.",
"errors": [
{
"description": "The server understood the request, but refused to fulfill it because the access token is missing required scopes or the user is missing required roles or licenses."
}
],
"trackingId": "ROUTERGW_e743fa1e-e373-49c4-8cd6-8951d445adcd"
}
Request I sent:
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User",
"urn:scim:schemas:extension:cisco:webexidentity:2.0:User"
],
"userName": ****************,
"userType": "user",
"title": "**************",
"active": true,
"preferredLanguage": "en_US",
"locale": "en_US",
"timezone": "America/Los_Angeles",
"displayName": "*****************",
"nickName": "Pacific",
"name": {
"givenName": "***********",
"familyName": "**********",
"middleName": "",
"honorificPrefix": "Mr.",
"honorificSuffix": "III"
},
"phoneNumbers": [
{
"value": "*********",
"type": "work",
"display": "work phone number",
"primary": true
}
],
"photos": [
{
"value": https://images.app.goo.gl/fJQRKmzRCXwPkjUPA,
"type": "photo",
"display": "photo description",
"primary": true
}
],
"addresses": [
{
"type": "work",
"streetAddress": "***********",
"locality": "*********",
"region": "*****",
"postalCode": "********",
"country": "*****"
}
],
"emails": [
{
"value": *******************,
"type": "home",
"display": "home email description",
"primary": false
}
],
"urn:scim:schemas:extension:cisco:webexidentity:2.0:User": {
"accountStatus": [
"active"
]
}
}
Could you please check and let me know what is the issue, though I am sending all required scopes?