markdomansky / WebJEA

WebJEA - Secure Self Service Web Forms from PowerShell Scripts
GNU General Public License v3.0
236 stars 27 forks source link

AuthorizationManager Check Failed on Fresh Install #72

Closed ccgthree closed 2 years ago

ccgthree commented 2 years ago

I'm seeing an "AuthorizationManager check failed." error upon successful login to a new instance of WebJEA and I'm unsure where to start when trying to pin down and fix the issue. This error may be related to issue number #22. However, that issue went stale and the user never reported back.

Any suggestions as to where I could/should start sniffing around to fix this issue?

Screenshot of Error

image

Log Contents for that Particular Session

2022-01-31 15:14:32.3870|Trace|1070||ORG\username|Page: Start
2022-01-31 15:14:32.3870|Trace|1071||ORG\username|UserInfo: User: ORG\username
2022-01-31 15:14:32.3870|Trace|1072||ORG\username|UserInfo: Claims: ORG\username
2022-01-31 15:14:32.3870|Trace|1073||ORG\username|UserInfo: Claims: S-1-5-21-405997506-2247846958-1379430440-123855
2022-01-31 15:14:32.3870|Trace|1074||ORG\username|UserInfo: Claims: S-1-5-21-405997506-2247846958-1379430440-513
2022-01-31 15:14:32.3870|Trace|1075||ORG\username|UserInfo: Claims: S-1-5-21-405997506-2247846958-1379430440-513
2022-01-31 15:14:32.3870|Trace|1076||ORG\username|UserInfo: Claims: S-1-1-0
2022-01-31 15:14:32.3870|Trace|1077||ORG\username|UserInfo: Claims: S-1-5-32-544
2022-01-31 15:14:32.3870|Trace|1078||ORG\username|UserInfo: Claims: S-1-5-32-545
2022-01-31 15:14:32.3870|Trace|1079||ORG\username|UserInfo: Claims: S-1-5-32-555
2022-01-31 15:14:32.3870|Trace|1080||ORG\username|UserInfo: Claims: S-1-5-2
2022-01-31 15:14:32.3870|Trace|1081||ORG\username|UserInfo: Claims: S-1-5-11
2022-01-31 15:14:32.3870|Trace|1082||ORG\username|UserInfo: Claims: S-1-5-15
2022-01-31 15:14:32.3870|Trace|1083||ORG\username|UserInfo: Claims: S-1-5-21-405997506-2247846958-1379430440-18631
2022-01-31 15:14:32.3870|Trace|1084||ORG\username|UserInfo: Claims: S-1-5-21-405997506-2247846958-1379430440-14060
2022-01-31 15:14:32.3870|Trace|1085||ORG\username|UserInfo: Claims: S-1-5-21-405997506-2247846958-1379430440-45157
2022-01-31 15:14:32.3870|Trace|1086||ORG\username|UserInfo: Claims: S-1-5-21-405997506-2247846958-1379430440-14059
2022-01-31 15:14:32.3870|Trace|1087||ORG\username|UserInfo: Claims: S-1-5-21-405997506-2247846958-1379430440-76260
2022-01-31 15:14:32.3870|Trace|1088||ORG\username|UserInfo: Claims: S-1-5-21-405997506-2247846958-1379430440-69747
2022-01-31 15:14:32.3870|Trace|1089||ORG\username|UserInfo: Claims: S-1-5-21-405997506-2247846958-1379430440-18677
2022-01-31 15:14:32.3870|Trace|1090||ORG\username|UserInfo: Claims: S-1-5-21-405997506-2247846958-1379430440-18701
2022-01-31 15:14:32.3870|Trace|1091||ORG\username|UserInfo: Claims: S-1-5-21-405997506-2247846958-1379430440-14986
2022-01-31 15:14:32.3870|Trace|1092||ORG\username|UserInfo: Claims: S-1-5-21-405997506-2247846958-1379430440-45694
2022-01-31 15:14:32.3870|Trace|1093||ORG\username|UserInfo: Claims: S-1-5-64-10
2022-01-31 15:14:32.3970|Debug|1094||ORG\username|Looking for web.config/applicationSettings/WebJEA.My.MySettings/settings=configfile
2022-01-31 15:14:32.3970|Trace|1095||ORG\username|GetFileContent: C:\scripts\config.json
2022-01-31 15:14:32.3970|Trace|1096||ORG\username|GroupFinder: GetSID: Cached Contexts: 1
2022-01-31 15:14:32.3970|Trace|1097||ORG\username|GroupFinder: GetSID: Input: .\Administrators
2022-01-31 15:14:32.3970|Trace|1098||ORG\username|GroupFinder: GetSID: Found cached Context: ADMINWF
2022-01-31 15:14:34.6679|Trace|1099||ORG\username|GroupFinder: GetSID: Found Group SID: Administrators: S-1-5-32-544
2022-01-31 15:14:34.6679|Trace|1100||ORG\username|GroupFinder: GetSID: Cached Contexts: 1
2022-01-31 15:14:34.6679|Trace|1101||ORG\username|GroupFinder: GetSID: Input: .\Administrators
2022-01-31 15:14:34.6679|Trace|1102||ORG\username|GroupFinder: GetSID: Found cached Context: ADMINWF
2022-01-31 15:14:34.6679|Trace|1103||ORG\username|GroupFinder: GetSID: Found Group SID: Administrators: S-1-5-32-544
2022-01-31 15:14:34.6679|Trace|1104||ORG\username|IsGlobalUser: True
2022-01-31 15:14:34.6679|Trace|1105||ORG\username|GetMenu: IsGlobalUser: True
2022-01-31 15:14:34.6679|Trace|1106||ORG\username|Building Menu 
2022-01-31 15:14:34.6679|Debug|1107||ORG\username|PSCmd|Init overview
2022-01-31 15:14:34.6679|Trace|1108||ORG\username|ScriptParser: LoadScript
2022-01-31 15:14:34.6679|Trace|1109||ORG\username|GetFileContent: c:\scripts\validate.ps1
2022-01-31 15:14:34.6679|Trace|1110||ORG\username|ScriptParser: Parsing Comment Block
2022-01-31 15:14:34.6679|Trace|1111||ORG\username|ScriptParser: CommentBlockSection: Adding SYNOPSIS
2022-01-31 15:14:34.6679|Trace|1112||ORG\username|ScriptParser: CommentBlockSection: Adding DESCRIPTION
2022-01-31 15:14:34.6679|Trace|1113||ORG\username|ScriptParser: CommentBlockSection: Adding EXAMPLE
2022-01-31 15:14:34.6679|Trace|1114||ORG\username|ScriptParser: CommentBlockSection: Adding Description for PARAMETER: INPUT01MANDATORY
2022-01-31 15:14:34.6679|Trace|1115||ORG\username|ScriptParser: CommentBlockSection: Adding Description for PARAMETER: INPUT02MANDATORYMINLEN
2022-01-31 15:14:34.6679|Error|1116||ORG\username|ScriptParser: Could not parse commentblock: INPUTS
2022-01-31 15:14:34.6679|Error|1117||ORG\username|ScriptParser: Could not parse commentblock: OUTPUTS
2022-01-31 15:14:34.6679|Error|1118||ORG\username|ScriptParser: Could not parse commentblock: LINK
2022-01-31 15:14:34.6679|Error|1119||ORG\username|ScriptParser: Could not parse commentblock: NOTES
2022-01-31 15:14:34.6679|Trace|1120||ORG\username|ScriptParser: ParseParameters
2022-01-31 15:14:34.6679|Trace|1121||ORG\username|ScriptParsers: ParseParameters: Found Comment Block 0 to 1065
2022-01-31 15:14:34.6739|Trace|1122||ORG\username|ScriptParser: ParseParameters: Found param() block
2022-01-31 15:14:34.6739|Trace|1123||ORG\username|ScriptParser: ParseParameters: IDX Start: 2774 IDX End: 5677
2022-01-31 15:14:34.6739|Trace|1124||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 2811
2022-01-31 15:14:34.6739|Trace|1125||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 2945
2022-01-31 15:14:34.6739|Trace|1126||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 3094
2022-01-31 15:14:34.6739|Trace|1127||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 3106
2022-01-31 15:14:34.6739|Trace|1128||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter(Position=0, Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName,
    HelpMessage='What computer name would you like to target?')]
2022-01-31 15:14:34.6739|Trace|1129||ORG\username|ScriptParser: ParseParameters: Mandatory=$true
2022-01-31 15:14:34.6739|Trace|1130||ORG\username|ScriptParser: ParseParameters: Help: What computer name would you like to target?
2022-01-31 15:14:34.6739|Trace|1131||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 3286
2022-01-31 15:14:34.6739|Trace|1132||ORG\username|ScriptParser: ParseParameters: Processing []: [string]
2022-01-31 15:14:34.6739|Trace|1133||ORG\username|ScriptParser: ParseParameters: Processing $: Input01Mandatory
2022-01-31 15:14:34.6739|Trace|1134||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: Input01Mandatory
2022-01-31 15:14:34.6739|Trace|1135||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 3336
2022-01-31 15:14:34.6739|Trace|1136||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter(Position=1, Mandatory=$true)]
2022-01-31 15:14:34.6739|Trace|1137||ORG\username|ScriptParser: ParseParameters: Mandatory=$true
2022-01-31 15:14:34.6739|Trace|1138||ORG\username|ScriptParser: ParseParameters: Processing []: [ValidateLength(3,30)]
2022-01-31 15:14:34.6739|Trace|1139||ORG\username|ScriptParser: ParseParameters: Processing <##>: Skipping to IDX: 3414
2022-01-31 15:14:34.6739|Trace|1140||ORG\username|ScriptParser: ParseParameters: Processing []: [string]
2022-01-31 15:14:34.6739|Trace|1141||ORG\username|ScriptParser: ParseParameters: Processing $: Input02MandatoryMinLen
2022-01-31 15:14:34.6739|Trace|1142||ORG\username|ScriptParser: ParseParameters: Processing =:  "ABC"
2022-01-31 15:14:34.6739|Trace|1143||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: Input02MandatoryMinLen
2022-01-31 15:14:34.6739|Trace|1144||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter(Position=2,mandatory=$false,HelpMessage="Help Message on MultiLine Directive")]
2022-01-31 15:14:34.6739|Trace|1145||ORG\username|ScriptParser: ParseParameters: Help: Help Message on MultiLine Directive
2022-01-31 15:14:34.6739|Trace|1146||ORG\username|ScriptParser: ParseParameters: Processing #WEBJEA directive: Multiline
2022-01-31 15:14:34.6739|Trace|1147||ORG\username|ScriptParser: ParseParameters: Processing []: [string]
2022-01-31 15:14:34.6739|Trace|1148||ORG\username|ScriptParser: ParseParameters: Processing $: Input03Str
2022-01-31 15:14:34.6739|Trace|1149||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: Input03Str
2022-01-31 15:14:34.6739|Trace|1150||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 3640
2022-01-31 15:14:34.6739|Trace|1151||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter(HelpMessage='What value would you like to enter?')]
2022-01-31 15:14:34.6739|Trace|1152||ORG\username|ScriptParser: ParseParameters: Help: What value would you like to enter?
2022-01-31 15:14:34.6739|Trace|1153||ORG\username|ScriptParser: ParseParameters: Processing []: [ValidateRange(1,100)]
2022-01-31 15:14:34.6739|Trace|1154||ORG\username|ScriptParser: ParseParameters: Processing []: [int32]
2022-01-31 15:14:34.6739|Trace|1155||ORG\username|ScriptParser: ParseParameters: Processing $: Input04Range
2022-01-31 15:14:34.6739|Trace|1156||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: Input04Range
2022-01-31 15:14:34.6739|Trace|1157||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter(Mandatory=$true,HelpMessage="Weird Help 'Message to trip up parser[]()")]
2022-01-31 15:14:34.6739|Trace|1158||ORG\username|ScriptParser: ParseParameters: Mandatory=$true
2022-01-31 15:14:34.6739|Trace|1159||ORG\username|ScriptParser: ParseParameters: Help: Weird Help 'Message to trip up parser[]()
2022-01-31 15:14:34.6739|Trace|1160||ORG\username|ScriptParser: ParseParameters: Processing []: [ValidateScript({$_ -eq [string]"ABCD"})]
2022-01-31 15:14:34.6739|Trace|1161||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 3930
2022-01-31 15:14:34.6739|Trace|1162||ORG\username|ScriptParser: ParseParameters: Processing []: [string]
2022-01-31 15:14:34.6739|Trace|1163||ORG\username|ScriptParser: ParseParameters: Processing $: Input05Script
2022-01-31 15:14:34.6739|Trace|1164||ORG\username|ScriptParser: ParseParameters: Processing =: "ABCD"
2022-01-31 15:14:34.6739|Trace|1165||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: Input05Script
2022-01-31 15:14:34.6739|Trace|1166||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter()]
2022-01-31 15:14:34.6739|Trace|1167||ORG\username|ScriptParser: ParseParameters: Processing []: [ValidateNotNullOrEmpty()]
2022-01-31 15:14:34.6739|Trace|1168||ORG\username|ScriptParser: ParseParameters: Processing #WEBJEA directive: Multiline
2022-01-31 15:14:34.6739|Trace|1169||ORG\username|ScriptParser: ParseParameters: Processing []: [string]
2022-01-31 15:14:34.6739|Trace|1170||ORG\username|ScriptParser: ParseParameters: Processing $: Input13NotNullEmpty
2022-01-31 15:14:34.6739|Trace|1171||ORG\username|ScriptParser: ParseParameters: Processing =: 'x'
2022-01-31 15:14:34.6739|Trace|1172||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: Input13NotNullEmpty
2022-01-31 15:14:34.6739|Trace|1173||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 4116
2022-01-31 15:14:34.6739|Trace|1174||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 4130
2022-01-31 15:14:34.6739|Trace|1175||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter()]
2022-01-31 15:14:34.6739|Trace|1176||ORG\username|ScriptParser: ParseParameters: Processing []: [int]
2022-01-31 15:14:34.6739|Trace|1177||ORG\username|ScriptParser: ParseParameters: Processing $: NInput01
2022-01-31 15:14:34.6739|Trace|1178||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: NInput01
2022-01-31 15:14:34.6739|Trace|1179||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter()]
2022-01-31 15:14:34.6739|Trace|1180||ORG\username|ScriptParser: ParseParameters: Processing []: [int[]]
2022-01-31 15:14:34.6739|Trace|1181||ORG\username|ScriptParser: ParseParameters: Processing $: NInput02
2022-01-31 15:14:34.6739|Trace|1182||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: NInput02
2022-01-31 15:14:34.6739|Trace|1183||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter()]
2022-01-31 15:14:34.6739|Trace|1184||ORG\username|ScriptParser: ParseParameters: Processing []: [uint32]
2022-01-31 15:14:34.6739|Trace|1185||ORG\username|ScriptParser: ParseParameters: Processing $: NInput3
2022-01-31 15:14:34.6739|Trace|1186||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: NInput3
2022-01-31 15:14:34.6739|Trace|1187||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter()]
2022-01-31 15:14:34.6739|Trace|1188||ORG\username|ScriptParser: ParseParameters: Processing []: [double]
2022-01-31 15:14:34.6739|Trace|1189||ORG\username|ScriptParser: ParseParameters: Processing $: NInput4
2022-01-31 15:14:34.6739|Trace|1190||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: NInput4
2022-01-31 15:14:34.6739|Trace|1191||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 4314
2022-01-31 15:14:34.6739|Trace|1192||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter()]
2022-01-31 15:14:34.6739|Trace|1193||ORG\username|ScriptParser: ParseParameters: Processing []: [VALIDATESET('Input','Output','Both','A',1,2,3,"1/1/2017")]
2022-01-31 15:14:34.6739|Trace|1194||ORG\username|ScriptParser: ParseParameters: Processing []: [ValidateCount(1,3)]
2022-01-31 15:14:34.6739|Trace|1195||ORG\username|ScriptParser: ParseParameters: Processing []: [string[]]
2022-01-31 15:14:34.6739|Trace|1196||ORG\username|ScriptParser: ParseParameters: Processing $: LInput2
2022-01-31 15:14:34.6739|Trace|1197||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: LInput2
2022-01-31 15:14:34.6739|Trace|1198||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter(Mandatory)]
2022-01-31 15:14:34.6739|Trace|1199||ORG\username|ScriptParser: ParseParameters: Mandatory=$true
2022-01-31 15:14:34.6739|Trace|1200||ORG\username|ScriptParser: ParseParameters: Processing []: [ValidateSet('Input','Output','Both')]
2022-01-31 15:14:34.6739|Trace|1201||ORG\username|ScriptParser: ParseParameters: Processing []: [string]
2022-01-31 15:14:34.6739|Trace|1202||ORG\username|ScriptParser: ParseParameters: Processing $: LInput1
2022-01-31 15:14:34.6739|Trace|1203||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: LInput1
2022-01-31 15:14:34.6739|Trace|1204||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter()]
2022-01-31 15:14:34.6739|Trace|1205||ORG\username|ScriptParser: ParseParameters: Processing []: [ValidateCount(1,5)]
2022-01-31 15:14:34.6739|Trace|1206||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 4621
2022-01-31 15:14:34.6739|Trace|1207||ORG\username|ScriptParser: ParseParameters: Processing []: [string[]]
2022-01-31 15:14:34.6739|Trace|1208||ORG\username|ScriptParser: ParseParameters: Processing $: Input08StrSetUpto5
2022-01-31 15:14:34.6739|Trace|1209||ORG\username|ScriptParser: ParseParameters: Processing =:  @('A',"B")
2022-01-31 15:14:34.6739|Trace|1210||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: Input08StrSetUpto5
2022-01-31 15:14:34.6739|Trace|1211||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 4713
2022-01-31 15:14:34.6739|Trace|1212||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter()]
2022-01-31 15:14:34.6739|Trace|1213||ORG\username|ScriptParser: ParseParameters: Processing []: [ValidateSet('Input','Output','Both')]
2022-01-31 15:14:34.6739|Trace|1214||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 4811
2022-01-31 15:14:34.6739|Trace|1215||ORG\username|ScriptParser: ParseParameters: Processing []: [string]
2022-01-31 15:14:34.6739|Trace|1216||ORG\username|ScriptParser: ParseParameters: Processing $: Input09ConstrainedSet
2022-01-31 15:14:34.6739|Trace|1217||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: Input09ConstrainedSet
2022-01-31 15:14:34.6739|Trace|1218||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter()]
2022-01-31 15:14:34.6739|Trace|1219||ORG\username|ScriptParser: ParseParameters: Processing []: [ValidateSet('Input','Output','Both','a','b','c','d',1,2)]
2022-01-31 15:14:34.6739|Trace|1220||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 4966
2022-01-31 15:14:34.6739|Trace|1221||ORG\username|ScriptParser: ParseParameters: Processing []: [string[]]
2022-01-31 15:14:34.6739|Trace|1222||ORG\username|ScriptParser: ParseParameters: Processing $: Input09BConstrainedSet
2022-01-31 15:14:34.6739|Trace|1223||ORG\username|ScriptParser: ParseParameters: Processing =: @('a','d')
2022-01-31 15:14:34.6739|Trace|1224||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: Input09BConstrainedSet
2022-01-31 15:14:34.6739|Trace|1225||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter(Mandatory)]
2022-01-31 15:14:34.6739|Trace|1226||ORG\username|ScriptParser: ParseParameters: Mandatory=$true
2022-01-31 15:14:34.6739|Trace|1227||ORG\username|ScriptParser: ParseParameters: Processing []: [ValidateSet('Input','Output','Both','a','b','c','d',1,2)]
2022-01-31 15:14:34.6739|Trace|1228||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 5144
2022-01-31 15:14:34.6739|Trace|1229||ORG\username|ScriptParser: ParseParameters: Processing []: [string[]]
2022-01-31 15:14:34.6739|Trace|1230||ORG\username|ScriptParser: ParseParameters: Processing $: Input09CConstrainedSet
2022-01-31 15:14:34.6739|Trace|1231||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: Input09CConstrainedSet
2022-01-31 15:14:34.6739|Trace|1232||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 5194
2022-01-31 15:14:34.6739|Trace|1233||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter()]
2022-01-31 15:14:34.6739|Trace|1234||ORG\username|ScriptParser: ParseParameters: Processing []: [datetime]
2022-01-31 15:14:34.6739|Trace|1235||ORG\username|ScriptParser: ParseParameters: Processing $: DInput01DT
2022-01-31 15:14:34.6739|Trace|1236||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: DInput01DT
2022-01-31 15:14:34.6739|Trace|1237||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter()]
2022-01-31 15:14:34.6739|Trace|1238||ORG\username|ScriptParser: ParseParameters: Processing #WEBJEA directive: DateTime
2022-01-31 15:14:34.6739|Trace|1239||ORG\username|ScriptParser: ParseParameters: Processing []: [datetime]
2022-01-31 15:14:34.6739|Trace|1240||ORG\username|ScriptParser: ParseParameters: Processing $: DInput02DT
2022-01-31 15:14:34.6739|Trace|1241||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: DInput02DT
2022-01-31 15:14:34.6739|Trace|1242||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 5330
2022-01-31 15:14:34.6739|Trace|1243||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter(Mandatory,HelpMessage="You must accept the terms")]
2022-01-31 15:14:34.6739|Trace|1244||ORG\username|ScriptParser: ParseParameters: Mandatory=$true
2022-01-31 15:14:34.6739|Trace|1245||ORG\username|ScriptParser: ParseParameters: Help: You must accept the terms
2022-01-31 15:14:34.6739|Trace|1246||ORG\username|ScriptParser: ParseParameters: Processing []: [switch]
2022-01-31 15:14:34.6739|Trace|1247||ORG\username|ScriptParser: ParseParameters: Processing $: Input11Switch
2022-01-31 15:14:34.6739|Trace|1248||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: Input11Switch
2022-01-31 15:14:34.6739|Trace|1249||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter()]
2022-01-31 15:14:34.6739|Trace|1250||ORG\username|ScriptParser: ParseParameters: Processing []: [boolean]
2022-01-31 15:14:34.6739|Trace|1251||ORG\username|ScriptParser: ParseParameters: Processing $: Input12Bool
2022-01-31 15:14:34.6739|Trace|1252||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: Input12Bool
2022-01-31 15:14:34.6739|Trace|1253||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 5507
2022-01-31 15:14:34.6739|Trace|1254||ORG\username|ScriptParser: ParseParameters: Processing []: [Parameter()]
2022-01-31 15:14:34.6739|Trace|1255||ORG\username|ScriptParser: ParseParameters: Processing []: [string]
2022-01-31 15:14:34.6739|Trace|1256||ORG\username|ScriptParser: ParseParameters: Processing $: WebJEAUsername
2022-01-31 15:14:34.6739|Trace|1257||ORG\username|ScriptParser: ParseParameters: Adding Parameter to Set: WebJEAUsername
2022-01-31 15:14:34.6739|Trace|1258||ORG\username|ScriptParser: ParseParameters: Processing #: Skipping to IDX: 5672
2022-01-31 15:14:34.6739|Trace|1259||ORG\username|ScriptParser: ParseParameters: Completed Parsing at IDX: 5677
2022-01-31 15:14:34.6739|Trace|1260||ORG\username|GetMenu: IsGlobalUser: True
2022-01-31 15:14:34.6739|Trace|1261||ORG\username|Building Menu 
2022-01-31 15:14:34.6739|Info|1262||ORG\username|Executing|c:\scripts\overview.ps1 -Input02MandatoryMinLen 'ABC' -Input05Script 'ABCD' -Input13NotNullEmpty 'x' -LInput2 @) -Input08StrSetUpto5 @( 'A', 'B') -Input09BConstrainedSet @( 'a', 'd') -Input11Switch 'False' -Input12Bool 'False' -WebJEAUsername 'ORG\username'|-
2022-01-31 15:14:34.7529|Error|1263||ORG\username|Error when executing script: AuthorizationManager check failed.
2022-01-31 15:14:34.7529|Info|1264||ORG\username|Executed|c:\scripts\overview.ps1|0.0709968
2022-01-31 15:14:34.7529|Trace|1265||ORG\username|Page: End
2022-01-31 15:14:34.7529|Trace|1266||ORG\username|SendTelemetry
2022-01-31 15:14:34.8289|Info|1267|||Sending Telemetry: {"sessionid":"2D9721AD2A42F122D5D24BCC8F398541D407CE8F64D9D61903EF20DADCDD90FD","requestid":"E3612F5015C20490C5DC28F16D944E6DE7F3F176D2E9A1A34613981723771670","CommandCount":1,"PermGlobalCount":1,"IsGlobalUser":true,"appedition":"CE","appversion":"1.1.21213.21284","orgid":"FE18F0BAE1FAC2B21B7010E051FF9827359669410B0B71F8E9543F8279F3D4E3","scriptid":"0066D2E6B8AB8D5E390F63C5386A910C3401CCC5D3964C7EEDEEC76BB28D27E1","userid":"55944DD9A0D0561C24F3B6EA05663C1364E38AFC0F894B2E991D9BCFF476673F","permitted":true,"PermCount":1,"ParamCount":21,"runtimesec":"0.1","IsOnload":true,"CPUCount":2,"CPUMhz":2300,"OS":"Microsoft Windows Server 2019 Datacenter","RAM":4,"wints":"2022-01-31 09:14:34","unixts":1643663675,"msgversion":"3","ParamUsed":12}
ccgthree commented 2 years ago

Solution

For anyone that runs into this issue, I found the solution. This particular error occurs when the scripts in c:\scripts\ (or wherever you've decided to maintain your scripts are still in a "blocked" state. To fix this issue, run the following command as an administrator:

Get-ChildItem -Path 'C:\scripts\' -Recurse | Unblock-File

If you've chosen to place your scripts in a different location, be sure to change that location in the Path parameter before running the command.