File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments