Article - CS303447

ThingWorx: Calling a service from DirectoryServices into a service from a Thing gives error DirectoryServices is not defined

Modified: 15-Mar-2021   


Applies To

  • ThingWorx Platform 8.1 F000

Description

  • Calling a service from UtilityThing on a DirectoryServices entity (e.g. GetGroupMembers) returns with error
    • Calling a service from a Thing on a DirectoryServices entity (e.g. GetConfigurationTables) returns with the same error
      • ReferenceError: "DirectoryServices" is not defined
  • Error is not returned if executing the same service from a REST call
  • Cannot execute services on Active Directory to map groups dynamically (service is SetConfigurationTableRows)
This is a printer-friendly version of Article 303447 and may be out of date. For the latest version click CS303447