I want to manage Exchange DistributionGroup with Mail Activation - I can create Groups type "universal" and "distribution", but no Mail-Activation.
You need to add the following section to your template:
/* In the Modules section Exchange settings are done for e-mail activating the group (create a distribution group). Delete the "Modules" section if you want the user to create a group without e-mail functionality.*/ "Modules" : [ { // (required) Name of the module as key to depending processes. Do not change. "Name" : "Exchange.Create.DistributionGroup", // (required) Short description of the module. Used as section headline. "Displaytext" : "['en-us:Create Distribution Group in Exchange','de-de:Eine Exchange Verteilergruppe erzeugen','fr-fr:Création d\\'un groupe de distribution dans Exchange']", // (optional) Long description of the module. Displayed within the area. "Description" : "['en-us:Long description for demo.','de-de:Lange Beispiel-Beschreibung.','fr-fr:Longue description pour démo.']", /* (required) Determine the Credential Type. Possible values: - UsernamePassword (default) Currently not supported. Do not use. - Windows */ "CredentialType" : "Windows", "Fields" : [ // (required) Enable/disable the creation of the distribution group in exchange. { // Do not change the next line. "Name": "createdistributiongroup", "Definition": { "Type": "Checkbox", "DefaultValue": true, "Label": "['en-us:Create distribution group','de-de:Erzeuge Verteilergruppe','fr-fr:Créer groupe de distribution']" } }, /* (optional) Set creation and validation rules for e-mail-addresses. If you disable/delete the following section Exchange default policies are used to create e-mail-adresses.*/ { // Do not change the next line. "Name": "emailaddresses", "Definition": { "Type": "TextArea", "Label": "['en-us:E-mail addresses','de-de:E-Mail Adressen','fr-fr:Adresses e-mail']", "IsRequired": true, "IsEnabled": true, "Constraints": { "MaxLength": 500, "ValidationRule": "^((([a-z][a-z0-9]+:)?([A-Z][A-Z0-9]+:)?(\\w+([-+.']\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*(\\r\\n)?\\n?)+)*)$", "CreationRule" : "SMTP:({samaccountname})@domain.com" } } }, /* (optional) Set sender authentication. If you don't set this option Exchange default policies are used.*/ { // Do not change the next line. "Name": "RequireSenderAuthenticationEnabled", "Definition": { "Type": "Checkbox", "Label": "['en-us:Only authenticated senders','de-de:Nur authentifizierte Absender','fr-fr:Seuls les expéditeurs authentifiés']", "DefaultValue": true } } ] } ]
Thank you Jonas for providing that code!