Skip to content

Commit 37fc094

Browse files
update text
1 parent a7b91e7 commit 37fc094

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/CIPPCore/Public/Get-CIPPMailboxPermissionReport.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function Get-CIPPMailboxPermissionReport {
5858
# Get mailboxes from reporting DB
5959
$MailboxItems = Get-CIPPDbItem -TenantFilter $TenantFilter -Type 'Mailboxes'
6060
if (-not $MailboxItems) {
61-
throw 'No mailbox data found in reporting database. Run Set-CIPPDBCacheMailboxes first.'
61+
throw 'No mailbox data found in reporting database. Run a scan first. '
6262
}
6363

6464
# Get the most recent mailbox cache timestamp
@@ -87,7 +87,7 @@ function Get-CIPPMailboxPermissionReport {
8787
# Get mailbox permissions from reporting DB
8888
$PermissionItems = Get-CIPPDbItem -TenantFilter $TenantFilter -Type 'MailboxPermissions'
8989
if (-not $PermissionItems) {
90-
throw 'No mailbox permission data found in reporting database. Run Set-CIPPDBCacheMailboxes first.'
90+
throw 'No mailbox permission data found in reporting database. Run a scan first.'
9191
}
9292

9393
# Get the most recent permission cache timestamp

0 commit comments

Comments
 (0)