My Oracle Support Banner

SCIM request returning "detail": "You do not have permission to view details about the user." "status": "401" (Doc ID 2448440.1)

Last updated on APRIL 27, 2023

Applies to:

Identity Manager - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

Using the SCIM API to create a user using the below payload as OIM sysadmin user such as xelsysadm

 

{

    "schemas": [

           "urn:ietf:params:scim:schemas:extension:oracle:2.0:OIG:User",

           "urn:ietf:params:scim:schemas:core:2.0:User",

           "urn:ietf:params:scim:schemas:extension:oracle:2.0:IDM:User",

           "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"

    ],

    "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {

          "organization": "Xellerate Users"

    },

    "userName": "< User >",

    "name": {

    "familyName": "< User >"

    },

    "emails":[

       {

          "type": "work",

          "value": "< User >@< Domain >"

       }

    ]

}

 

The user is created in OIM however one gets an Unauthorized 401 HTTP code response:

{

    "schemas": [

       "urn:ietf:params:scim:api:messages:2.0:Error"

    ],

    "detail": "You do not have permission to view details about the user.",

    "status": "401"

}

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.