Skip to content

Commit 0b39325

Browse files
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP-API into dev
2 parents 99c841a + 6aaf336 commit 0b39325

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Modules/CIPPCore/Public/Authentication/Test-CIPPAccess.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ function Test-CIPPAccess {
144144
throw "Access to this CIPP API endpoint is not allowed, you do not have the required permission: $APIRole"
145145
}
146146
if (!$TenantAllowed -and $Help.Functionality -notmatch 'AnyTenant') {
147+
Write-Information "Tenant not allowed: $TenantFilter"
147148
throw 'Access to this tenant is not allowed'
148149
} else {
149150
return $true

Modules/CIPPCore/Public/Entrypoints/Invoke-ListExtensionsConfig.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ using namespace System.Net
33
Function Invoke-ListExtensionsConfig {
44
<#
55
.FUNCTIONALITY
6-
Entrypoint
6+
Entrypoint,AnyTenant
77
.ROLE
88
CIPP.Extension.Read
99
#>

Modules/CIPPCore/Public/Entrypoints/Invoke-ListGraphExplorerPresets.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ using namespace System.Net
33
Function Invoke-ListGraphExplorerPresets {
44
<#
55
.FUNCTIONALITY
6-
Entrypoint
6+
Entrypoint,AnyTenant
77
.ROLE
88
CIPP.Core.Read
99
#>

0 commit comments

Comments
 (0)