You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new-role : Object reference not set to an instance of an object.
At line:1 char:1
+ new-role -RoleName "Role1" -AutoAssign $false
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-Role], NullReferenceException
+ FullyQualifiedErrorId : System.NullReferenceException,Connect.DNN.Powershell.Commands.Roles.NewRole
The text was updated successfully, but these errors were encountered:
gbrasier
added a commit
to gbrasier/Dnn-Powershell
that referenced
this issue
Feb 2, 2019
Can successfully execute new-role Role1 --autoassign false inside DNN prompt.
However executing new-role -RoleName Role1 -autoassign $false in Powershell results in:
The text was updated successfully, but these errors were encountered: