Skip to content

Commit 3cc4722

Browse files
text
1 parent 3f7b639 commit 3cc4722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Standards/Invoke-AddStandardsTemplate.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function Invoke-AddStandardsTemplate {
1111
$APIName = $Request.Params.CIPPEndpoint
1212
$Headers = $Request.Headers
1313
if ($Request.Body.tenantFilter -eq 'tenantFilter') {
14-
throw 'Invalid Tenant Selected: Have you left the tenantFilter blank?'
14+
throw 'Invalid Tenant Selection. A standard must be assigned to at least 1 tenant.'
1515
}
1616

1717
$GUID = $Request.body.GUID ? $request.body.GUID : (New-Guid).GUID

0 commit comments

Comments
 (0)