Skip to content

Commit

Permalink
Merge pull request #2172 from Shanefe/CalLogUpdateDeletedMB
Browse files Browse the repository at this point in the history
search for Delete MB and Map Skype MMS
  • Loading branch information
dpaulson45 authored Aug 19, 2024
2 parents 1e7079c + 7268e92 commit 1e2d0f7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Calendar/CalLogHelpers/Invoke-GetMailbox.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@ function GetMailbox {
[bool]$UseGetMailbox
)

$params = @{Identity = $Identity
ErrorAction = "SilentlyContinue"
}

if ($UseGetMailbox) {
$Cmdlet = "Get-Mailbox"
$params.Add("IncludeInactiveMailbox", $true)
} else {
$Cmdlet = "Get-Recipient"
}
$params = @{Identity = $Identity
ErrorAction = "SilentlyContinue"
}

try {
Write-Verbose "Searching $Cmdlet $(if (-not ([string]::IsNullOrEmpty($Organization))) {"with Org: $Organization"}) for $Identity."
Expand Down
2 changes: 2 additions & 0 deletions Calendar/CalLogHelpers/ShortClientNameFunctions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ function CreateShortClientName {
$ShortClientName = "Outlook-ModernCalendarSharing"
} elseif ($LogClientInfoString -like "*SkypeSpaces*") {
$ShortClientName = "Teams"
} elseif ($LogClientInfoString -like "*AppId=82f45fb0-18b4-4d68-8bed-9e44909e3890*") {
$ShortClientName = "Teams MMS Service"
} elseif ($LogClientInfoString -like "*AppId=7b7fdad6-df9d-4cd5-a4f2-b5f749350419*") {
$ShortClientName = "Bookings B2 Service"
} elseif ($LogClientInfoString -like "*bcad1a65-78eb-4725-9bce-ce1a8ed30b95*" -or
Expand Down

0 comments on commit 1e2d0f7

Please sign in to comment.