When invoking SetPassword you receive the error: “Exception has been thrown by the target of an invocation.”

This error usually results from a permissions problem. Check the permissions on the account you are using for your BizTalk Host Instance, or in your Authentication Override.

To diagnose, try the operation again using an account with administrator permissions.

FAQs
My Solicit-Response Send Port Query Is Only Returning 1000 Results

Try adding the setting PageSize="1000" to your query parameters. For example:

<ActiveDirectoryQuery><Directives WhereToBind="LDAP://CN=Users, DC=test, DC=com" Filter="(objectCategory=user)" SearchScope="onelevel" PropertiesToReturn="cn" PageSize="1000"/></ActiveDirectoryQuery>

By default Active Directory only allows for a single page of 1000 results. By explicitly setting this value multiple pages (and hence all results) are returned.

See the entire answer

Can the Active Directory Receive Adapter help me build an orchestration that listens for changes to Active Directory?

Yes. The ON CHANGE ONLY option on the Active Directory Receive Adapter provides this feature. A message is submitted to your BizTalk application only when the results of the query you have specified change. This feature provides a great way to trigger orchestrations and keep information in your Enterprise Applications synchronized.

There is also a REAL-TIME mode that gets events from Active Directory asynchronously and submits them to BizTalk  as they happen.

See the entire answer

Is there a WCF version of ActiveADAPTER?

Yes. ActiveADAPTER is available as a Windows Communication Foundation (WCF) service. So with or without BizTalk Server, you can query and update Active Directory with ActiveADAPTER

ActiveADAPTER WCF exposes essentially the same functionality as our Active Directory Send and Receive Adapters.

ActiveADAPTER WCF services can be consumed by BizTalk Server, but BizTalk Server is not required.

Like an evaluation? Get in touch through our contact page.

See the entire answer