Add account step fails in v14
This script has worked well in v12 and v13 and now fails in v14.
If $Access = "Full"
Add Account(Account Name: $AccountName;Password:$Password;Privilege Set:All
Else IF $Access = "Read Only"
Add Account(Account Name:$AccountName;Password:$Password;Privlege Set: Read-Only Access
Some brackets and characters have been left out for the ease of typing.
The failure is on only about half of the 10 files it is used in. It occurs in the add account step saying the item must have an entry of no more than 100 characters. Using the data viewer all of the text is there. I don't understand how it would work for a few years and two releases and fail in v14 especially when the data viewer shows the text is there.
Some immediate further testing shows these scripts will complete successfully if the files are already open but will fail if the files arre not open and must be opened to run the script. Bug report filed.