<{{Subtitle_Weight}} class="prominent-subhead {{Show_Subtitle}}"> {{Header_Subtitle}}

Successfully execute the Azure Active Directory Get List method when a group name contains an ampersand (&)



When using Azure Active Directory groups containing an ampersand (&) in the name, a SmartObject filter error occurs when executing the Get List method. This is due to the way in which the .net URI object encodes query strings. To allow the successful execution of the Get List method, edit the Hostserver.exe.config file. Add the setting to turn on the IRI. 

URI = Uniform Resource Identifier

IRI = International Resource Identifier

Use these links as reference for more information on URI and IRI settings:




Turn on the IRI by following these steps:

  1. Stop the K2 Host Server.
  2. Open the HostServer.exe.config file located in [INSTALLDIR]\Slots\KUID\K2 blackpearl\Host Server\Bin.
  3. Look for the closing tag section "</configSections>".
  4. Add the following section just below the </configSections> section and above the opening tag "<sourcecode.sharepoint.groupProvider>" section:


      <idn enabled="All" />

      <iriParsing enabled="true" />


  5. Start K2 Host Server


  1. Rather use Notepad instead of Notepad ++ to make the changes in the Hostserver.exe.config file.
  2. This setting does not depend on a K2 version and is a global setting in the Hostserver.exe.config file.