Active Roles 7.3.1 - SPML Provider Administrator Guide

Cannot remove the specified item because it was not found in the specified Collection

Cannot remove the specified item because it was not found in the specified Collection

When sending a request to remove a user from a group (see the example below), the requested operation fails with the error statement “Cannot remove the specified item because it was not found in the specified Collection.”

Resolution

This error has one of the following causes:

  • The <value> element of the <attr> element specifies a user account that is not a member of the group.
  • The Distinguished Name fields, such as CN or OU, used in the distinguished name of the user account to be removed, have invalid spelling or case. The Distinguished Name fields must be in upper case. So the use of cn=Robert Smith instead of CN=Robert Smith generates this error.

Verify that the <value> element specifies the distinguished name of the user that is the group member. Make sure that the Distinguished Name fields are in upper case.

The following example illustrates how to create a request to remove user Robert Smith from the Sales group.

<?xml version="1.0"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>

 <modifyRequest xmlns="urn:oasis:names:tc:SPML:2:0" returnData="everything">

  <psoID ID="CN=Sales,OU=SPML2,DC=Mycompany,DC=com"/>

  <modification modificationMode="delete">

   <data>

    <attr name="member" xmlns="urn:oasis:names:tc:DSML:2:0:core">

     <value>CN=Robert Smith,OU=Staff,DC=MyCompany,DC=com</value>

    </attr>

   </data>

  </modification>

 </modifyRequest>

</soap:Body>

</soap:Envelope>

Some of the specified attributes for the '<object class name>’ object class are not defined in the schema

Some of the specified attributes for the '<object class name>’ object class are not defined in the schema

When sending a request to change values of an object virtual attribute, the requested operation fails with the error statement “Some of the specified attributes for the '<object class name>' object class are not defined in the schema.”

Resolution

This error has one of the following causes:

  • The spmlschema.config configuration file has changed since you started SPML Provider.
  • The Default Application Pool idle timeout period has ended.

To resolve this issue, recycle the Default Application Pool or change its settings using Internet Information Services (IIS) Manager.

What’s new

What’s new

This version of Active Roles SPML Provider has the same features and functions as the previous version, 1.4.0. The new version adds support for:

  • Active Roles 7.3, allowing you to use the latest version of the Active Roles Administration Service.
  • Adding users, groups, and contacts in Azure AD.

This version of Active Roles SPML Provider requires a 64-bit (x64) operating system, and cannot be installed on a 32-bit (x86) system (see System requirements earlier in this document).

Related Documents