Skip to content

Commit ec880d9

Browse files
committed
improve error handling
1 parent a1b5b93 commit ec880d9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Modules/CIPPCore/Public/GraphHelper/Get-Tenants.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
12
function Get-Tenants {
23
<#
34
.FUNCTIONALITY
45
Internal
56
#>
7+
[CmdletBinding(DefaultParameterSetName = 'Standard')]
68
param (
79
[Parameter( ParameterSetName = 'Skip', Mandatory = $True )]
810
[switch]$SkipList,

Modules/CIPPCore/Public/GraphHelper/New-GraphBulkRequest.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ function New-GraphBulkRequest {
33
.FUNCTIONALITY
44
Internal
55
#>
6+
[CmdletBinding()]
67
param(
78
$tenantid,
89
$NoAuthCheck,

0 commit comments

Comments
 (0)