MSEndpointMgr

ConfigMgr WebService – Version 1.2.0 released

We’ve been working hard for the past couple of weeks since the release of ConfigMgr WebService 1.1.0. Today, we’re happy to announce that a new version is available, ConfigMgr WebService 1.2.0.

What’s new

In this new version, common tasks perform during operating system deployment have been included. See the list below for new methods available within this release:

Configuration Manager

  • GetCMUnknownDeviceByUUID
  • RemoveCMUnknownDeviceByUUID

Active Directory

  • AddADComputerToGroup
  • RemoveADComputerFromGroup
  • SetADComputerDescription
  • SetADOrganizationalUnitForComputer

Download ConfigMgr WebService

In order to get your hands on the bits for this web service, you have some options. You can download the source code from my GitHub page, and compile the web service yourself. For installation instructions, follow what’s outlined in the README.md file in the repository. You can visit my GitHub page from the link below:

https://github.com/NickolajA/ConfigMgrWebService

Your other option is to download a compiled version of the web service, ready for use. This version has been made available on TechNet Gallery:

https://gallery.technet.microsoft.com/ConfigMgr-WebService-100-572825b2

I’ve published the source code for the purpose of making it available for those organisations that cannot leverage untrusted publishers, but also if you’d want to get your hands dirty and have a look at it.

Update instructions

If you already have ConfigMgr WebService installed in your environment, you can update it simply by replacing the ConfigMgrWebService.dll file in the bin folder of where you’ve placed the web service files. Please not though, that since version 1.1.0, 3 new Application Settings was introduced that you need to add manually, or replace the web.config file with the existing one and re-enter the values for each application setting.

Installation instructions

Please refer to the ConfigMgr WebService 1.2.0 – Installation Guide PDF attached in the package available on TechNet Gallery (see link above).

Documentation

Also attached in the package is the documentation for each method currently available in the latest version of ConfigMgr WebService. Please refer to ConfigMgr WebService 1.2.0 – Documentation PDF for more information.

(2751)

Nickolaj Andersen

Chief Technical Architect and Enterprise Mobility MVP since 2016. Nickolaj has been in the IT industry for the past 10 years specializing in Enterprise Mobility and Security, Windows devices and deployments including automation. Awarded as PowerShell Hero in 2015 by the community for his script and tools contributions. Creator of ConfigMgr Prerequisites Tool, ConfigMgr OSD FrontEnd, ConfigMgr WebService to name a few. Frequent speaker at conferences such as Microsoft Ignite, NIC Conference and IT/Dev Connections including nordic user groups.

5 comments

  • Hi,

    Would it be possible to add the function “RemoveCMComputerFromCollection” to a future release of this web service?

    This would be a very helpful feature, such as at the end of an OSD task sequence so that the machine could be removed from the OSD collection after it has finished the task sequence.

    Great WebService by the way, really enjoying it! Keep up the good work.

  • Does this web service work with MDT Standalone? When I run the test it works fine, but when running in MDT 500 errors

  • Currently RemoveADComputerFromGroup is always returning “false” for me, and I’m not seeing the group membership change.

    Quick request! Could you possible add in a “CreateADComputer” option? Giving the option to specify name, description, ou?

    • Hi Cody,

      It works fine here in my lab environment. Have you made sure that the identity that the Application Pool used by ConfigMgr WebService has the proper permissions to remove from groups?

      Regards,
      Nickolaj

Sponsors