Hosted CDI 2007 Import Namespace

This section provides the details of the application programming interface (API) for the Hosted Active Directory Import Namespace included with the Microsoft® Provisioning System (MPS) in the Microsoft Solution for Hosted Messaging and Collaboration version 4.0 Migration Kit, which is dedicated for the migration from the Microsoft Solution for Hosted Messaging and Collaboration version 3.5 to Hosted Messaging and Collaboration version 4.0.

Contained herein are descriptions of the procedures of this namespace along with method input parameters and return values. In addition, example Extensible Markup Language (XML) requests are provided along with typical XML responses that the provisioning system returns after a request is submitted to MPS and tasks are completed.

Developers should use this API document as a reference when creating XML requests to import existing Customer Directory Integration into MPS.

All procedures defined in Hosted Active Directory Import require Domain Admin privilege to execute.

The procedures in this namespace are for migration purpose from Hosted Messaging and Collaboration version 3.5. With earlier versions such as Hosted Messaging and Collaboration version 3.0, you need to do clean deployment.

Public Methods
Public Method Description
Hosted CDI 2007 Import::ImportOrganizationCDISettings Imports Customer Directory Integration (CDI) settings for an organization.
Hosted CDI 2007 Import::ImportUserCDISettings Imports CDI settings for an existing user.
Exceptions

The following table lists common errors that can be raised by the procedures in this namespace.

Error Code Message Conditions
0x80070057 The argument '%1' cannot be null. A required argument was supplied without a value.
0x80070057 The required argument %1 was not supplied. A required argument was not supplied in the request.
0x80070057 Insufficient Privilege! Not Domain Administrator. A procedure was run with credentials not belonging to a user that is a member of domain admins.
0x80072030 The organization does not belong to a CDI Hosting service plan. The organization has not subscribed to the service.
0x80070057 Invalid Customer. The specified user or organization was not found in the Plan Manager database.
0x80131509 A customer can have only one plan of this type. The organization has already subscribed to a Hosted CDI 2007 service plan.
0x80071392 A CDI RemoteDomain Asset already exists for the organization '%1'. CDI settings for an organization were found to exist in the Plan Manager database.
0x80131509 CDI Settings were found for this customer in the Plan Manager database. Importing a user that is already enabled for Hosted CDI 2007 is not a valid operation. CDI settings for a user were found to exist in the Plan Manager database.
 Applies To
[an error occurred while processing this directive]