Retrieves a collection of entities from Dynamics that match the given query.
See the Dynamics documentation for the RetrieveMultiple operation for details regarding the parameters and other remarks.
a!dynRetrieveMultiple( scsExternalSystemKey, usePerUserCredentials, endpoint, parameters)
scsExternalSystemKey: (Text) The key from the Third Party Credentials admin console page that corresponds to the set of credentials that should be used to authenticate.
usePerUserCredentials: (Boolean) If
true the credentials set in the Third-Party Credentials settings page by the current user running the expression will be used. If
false the site-wide credential values will be used.
endpoint: (Text) The Dynamics organization endpoint URL. For example,
parameters: (Any Type) The query, given as a dictionary with a field named FetchExpression that has a value in the Dynamics FetchXML format. Refer to the FetchXML documentation for information on building queries.
The function returns the standard connector result dictionary described in the main Connectors page.
If successful, the function returns a dictionary representation of an EntityCollection within the
Retrieve Multiple Accounts
Copy and paste the expression into the Interface Designer, save it, then call the interface in a Tempo Report to test.