Public/generated/Get-KriticalUtcmEXOMailboxCalendarConfiguration.ps1

# Kritical.PS.UTCM | Microsoft Graph UTCM REST API toolkit
# (c) 2026 Kritical Pty Ltd | https://kritical.net
# Kritical brand banner is rendered at module load via Write-KriticalUtcmBanner.

function Get-KriticalUtcmEXOMailboxCalendarConfiguration {
<#
.SYNOPSIS
    Kritical.UTCM shim for M365DSC resource EXOMailboxCalendarConfiguration.

.DESCRIPTION

    Search-replace safe: callers that today invoke
        Get-M365DSCEXOMailboxCalendarConfiguration -Credential $cred -TenantId $tid
    can rename to
        Get-KriticalUtcmEXOMailboxCalendarConfiguration -Credential $cred -TenantId $tid
    with ZERO other edits. Parameter shape matches the M365DSC .schema.mof
    exactly. By default -PreferM365DscBehavior is true.

    Actual Graph dispatch is delegated to Invoke-KriticalUtcmM365DscSchemaBridge.
    Bridge maps resource → Graph endpoint per per-resource wave; where mapping
    is not yet shipped, bridge returns an object with Verdict='UNMAPPED'.

.NOTES
    Workload: Exchange
    Param count: 50
#>

[CmdletBinding()]
param(
        # Credentials of the workload's Admin
[string]$Credential,
        # Id of the Azure Active Directory application to authenticate with.
[string]$ApplicationId,
        # Id of the Azure Active Directory tenant used for authentication.
[string]$TenantId,
        # Thumbprint of the Azure Active Directory application's authentication certificate to use for authentication.
[string]$CertificateThumbprint,
        # Username can be made up to anything but password will be used for CertificatePassword
[string]$CertificatePassword,
        # Path to certificate used in service principal usually a PFX file.
[string]$CertificatePath,
        # Managed ID being used for authentication.
[bool]$ManagedIdentity,
        # Specifies the mailbox identity.
[Parameter(Mandatory)] [string]$Identity,
        # Enables or disables agenda mail introduction.
[bool]$AgendaMailIntroductionEnabled,
        # Automatically declines meeting requests when the user is busy.
[bool]$AutoDeclineWhenBusy,
        # Preferred language for calendar feeds.
[string]$CalendarFeedsPreferredLanguage,
        # Preferred region for calendar feeds.
[string]$CalendarFeedsPreferredRegion,
        # Root page ID for calendar feeds.
[string]$CalendarFeedsRootPageId,
        # Enables or disables conversational scheduling.
[bool]$ConversationalSchedulingEnabled,
        # Creates events from email as private.
[bool]$CreateEventsFromEmailAsPrivate,
        # Default minutes to reduce long events by.
[int]$DefaultMinutesToReduceLongEventsBy,
        # Default minutes to reduce short events by.
[int]$DefaultMinutesToReduceShortEventsBy,
        # Default online meeting provider.
[string]$DefaultOnlineMeetingProvider,
        # Default reminder time.
[string]$DefaultReminderTime,
        # Deletes meeting request on respond.
[bool]$DeleteMeetingRequestOnRespond,
        # Enables or disables dining events from email.
[bool]$DiningEventsFromEmailEnabled,
        # Enables or disables entertainment events from email.
[bool]$EntertainmentEventsFromEmailEnabled,
        # Enables or disables events from email.
[bool]$EventsFromEmailEnabled,
        # Specifies the first week of the year.
[string]$FirstWeekOfYear,
        # Enables or disables flight events from email.
[bool]$FlightEventsFromEmailEnabled,
        # Enables or disables hotel events from email.
[bool]$HotelEventsFromEmailEnabled,
        # Enables or disables invoice events from email.
[bool]$InvoiceEventsFromEmailEnabled,
        # Specifies location details in free/busy information.
[string]$LocationDetailsInFreeBusy,
        # Specifies the mailbox location.
[string]$MailboxLocation,
        # Enables or disables online meetings by default.
[bool]$OnlineMeetingsByDefaultEnabled,
        # Enables or disables package delivery events from email.
[bool]$PackageDeliveryEventsFromEmailEnabled,
        # Preserves declined meetings.
[bool]$PreserveDeclinedMeetings,
        # Enables or disables reminders.
[bool]$RemindersEnabled,
        # Enables or disables reminder sound.
[bool]$ReminderSoundEnabled,
        # Enables or disables rental car events from email.
[bool]$RentalCarEventsFromEmailEnabled,
        # Enables or disables service appointment events from email.
[bool]$ServiceAppointmentEventsFromEmailEnabled,
        # Specifies the default scope for shortening events.
[string]$ShortenEventScopeDefault,
        # Shows or hides week numbers.
[bool]$ShowWeekNumbers,
        # Specifies the time increment for calendar events.
[string]$TimeIncrement,
        # Uses a bright calendar color theme in Outlook on the web.
[bool]$UseBrightCalendarColorThemeInOwa,
        # Enables or disables weather information.
[string]$WeatherEnabled,
        # Specifies the weather location bookmark.
[int]$WeatherLocationBookmark,
        # Specifies the weather unit.
[string]$WeatherUnit,
        # Specifies the start day of the week.
[string]$WeekStartDay,
        # Specifies the work days.
[string]$WorkDays,
        # Specifies the end time of working hours.
[string]$WorkingHoursEndTime,
        # Specifies the start time of working hours.
[string]$WorkingHoursStartTime,
        # Specifies the time zone for working hours.
[string]$WorkingHoursTimeZone,
        # Enables or disables workspace user.
[bool]$WorkspaceUserEnabled,
        # Ensures the presence or absence of the configuration.
[string]$Ensure
)
    Invoke-KriticalUtcmM365DscSchemaBridge -ResourceName 'EXOMailboxCalendarConfiguration' -Workload 'Exchange' -Verb 'Get' -CallerParams $PSBoundParameters
}