Comments
-
just use this template and put in what you need. [ { "Version": 1, "TemplateType": "OpenTemplate", "Id": "bb3bdf0e-921d-4180-8520-bba5beca2c5e", "DisplayName": "DisplayName", "Description": "Description to see what the template does", "IsManualInteractionRequired": "false", "ScriptToExecute": "TestScript", "Form": {…
-
Hello chris_fqml yes, I understand you. It is quite difficult to get an overview of templates and scripts at the beginning. Especially how things work together. I also hope that SolarWinds offers a bit more ARM templates in the future. At the moment you have to learn most of it yourself.
-
Hey bp00, I see the first error in your OpenTemplate. With open templates you have to work with key and value. Name and definition is only for the CreateNewUser template. { "Key": "userprincipalname", "Value": { "Type": "TextField", "Label": "Email Display Name", "Description": "", "DefaultValue": null, "IsRequired": true,…
-
Hello Chris FQML, you could use an OpenTemplate with a TextArea and then pass the user to a PowerShell script. The same would work for groups as well. In the PowerShell script you only need a foreach loop and the passed names of the users. You can also define the SAM and many other LDAP attributes in the script.
-
In the ARM configuration client. There you have to include the transfer from the OpenOrderTemplate to the PowerShell script.
-
Sure. In the PowerShell script below you can see how I pass the "Members" parameter from the opentemplate to the script. param( [String]$Members="", ) #Add Member to Group try{$Members.Split(";").Trim() | %{Add-ADGroupMember -Identity $Group1.distinguishedName -Members $_}}catch{} Here is the excerpt from the template.{…
-
Hello Lukas, ok try this setting. "InitialPassword": { "MinLength": 8, "IsComplex": true, "IsMasked": true, "Constraints": { "ValidationRule": "[^\\s]*", "ValidationInformation": "['en-us:At least 8 characters, uppercase and lowercase letters, at least one digit or a special character. Spaces are not allowed.', 'de-de:Min.…
-
Yeah you will only get the boolean as value. If you want a string you need to use a textfield. Unfortunately, the templates are quite limited. You cannot use the boolean for an if query.
-
Hey bp00, here is your checkbox. "Key": "distributiongroupe", "Value": { "Type": "Checkbox", "DefaultValue": true, "Label": "Create distribution group ", } If you want a textarea or field just change the type.
-
Hello Florian, i had this problem too. I then reported it to SolarWinds as a bug. SolarWinds responded that it is indeed a bug and added it as a feature request.
-
Hello James.allen Something like that is not possible. PowerShell cannot capture the current user with password. That would bypass Windows security ;) Only a manual entry in the script would be possible.
-
Hello Lukas, The initial password or setting in the ARM template is only valid for the moment you create the password. The validation is therefore only applied on input. To restrict future password changes, you should use the GPO in Active Directory. Here is a link to the Microsoft Tech article.…