File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,7 @@ def _parameter_form_special_agent_ms_entra() -> Dictionary:
52
52
field_size = FieldSize .LARGE ,
53
53
custom_validate = [
54
54
MatchRegex (
55
- regex = "^(?:\{{0,1}(?:[0-9a-fA-F]){8}-(?:[0-9a-fA-F]){4}-(?:[0-9a-fA-F]){4}-"
56
- "(?:[0-9a-fA-F]){4}-(?:[0-9a-fA-F]){12}\}{0,1})$" ,
55
+ regex = "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" ,
57
56
error_msg = Message ("Tenant ID / Directory ID must be in 36-character GUID format." ),
58
57
),
59
58
LengthInRange (
@@ -71,8 +70,7 @@ def _parameter_form_special_agent_ms_entra() -> Dictionary:
71
70
field_size = FieldSize .LARGE ,
72
71
custom_validate = [
73
72
MatchRegex (
74
- regex = "^(?:\{{0,1}(?:[0-9a-fA-F]){8}-(?:[0-9a-fA-F]){4}-(?:[0-9a-fA-F]){4}-"
75
- "(?:[0-9a-fA-F]){4}-(?:[0-9a-fA-F]){12}\}{0,1})$" ,
73
+ regex = "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" ,
76
74
error_msg = Message ("Client ID / Application ID must be in 36-character GUID format." ),
77
75
),
78
76
LengthInRange (
You can’t perform that action at this time.
0 commit comments