We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 928f37d commit 3f7b639Copy full SHA for 3f7b639
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Standards/Invoke-AddStandardsTemplate.ps1
@@ -10,7 +10,9 @@ function Invoke-AddStandardsTemplate {
10
11
$APIName = $Request.Params.CIPPEndpoint
12
$Headers = $Request.Headers
13
-
+ if ($Request.Body.tenantFilter -eq 'tenantFilter') {
14
+ throw 'Invalid Tenant Selected: Have you left the tenantFilter blank?'
15
+ }
16
17
$GUID = $Request.body.GUID ? $request.body.GUID : (New-Guid).GUID
18
#updatedBy = $request.headers.'x-ms-client-principal'
0 commit comments