Public/generated/Get-KriticalUtcmEXOMailboxAutoReplyConfiguration.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-KriticalUtcmEXOMailboxAutoReplyConfiguration { <# .SYNOPSIS Kritical.UTCM shim for M365DSC resource EXOMailboxAutoReplyConfiguration. .DESCRIPTION Search-replace safe: callers that today invoke Get-M365DSCEXOMailboxAutoReplyConfiguration -Credential $cred -TenantId $tid can rename to Get-KriticalUtcmEXOMailboxAutoReplyConfiguration -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: 22 #> [CmdletBinding()] param( # The Identity parameter specifies the mailbox that you want to modify. You can use any value that uniquely identifies the mailbox. [Parameter(Mandatory)] [string]$Identity, # User Principal Name of the mailbox owner [string]$Owner, # The AutoDeclineFutureRequestsWhenOOF parameter specifies whether to automatically decline new meeting requests that are sent to the mailbox during the scheduled time period when Automatic Replies are being sent. [bool]$AutoDeclineFutureRequestsWhenOOF, # The AutoReplyState parameter specifies whether the mailbox is enabled for Automatic Replies. Valid values are: Enabled, Disabled, Scheduled [ValidateSet('Enabled','Disabled','Scheduled')] [string]$AutoReplyState, # The CreateOOFEvent parameter specifies whether to create a calendar event that corresponds to the scheduled time period when Automatic Replies are being sent for the mailbox. [bool]$CreateOOFEvent, # The DeclineAllEventsForScheduledOOF parameter specifies whether to decline all existing calendar events in the mailbox during the scheduled time period when Automatic Replies are being sent. [bool]$DeclineAllEventsForScheduledOOF, # The DeclineEventsForScheduledOOF parameter specifies whether it's possible to decline existing calendar events in the mailbox during the scheduled time period when Automatic Replies are being sent. [bool]$DeclineEventsForScheduledOOF, # The DeclineMeetingMessage parameter specifies the text in the message when meetings requests that are sent to the mailbox are automatically declined. [string]$DeclineMeetingMessage, # The EndTime parameter specifies the end date and time that Automatic Replies are sent for the mailbox. You use this parameter only when the AutoReplyState parameter is set to Scheduled, and the value of this parameter is meaningful only when AutoReplyState is Scheduled. [string]$EndTime, # The ExternalAudience parameter specifies whether Automatic Replies are sent to external senders. Valid values are: None, Known, All [ValidateSet('None','Known','All')] [string]$ExternalAudience, # The ExternalMessage parameter specifies the Automatic Replies message that's sent to external senders or senders outside the organization. If the value contains spaces, enclose the value in quotation marks. [string]$ExternalMessage, # The InternalMessage parameter specifies the Automatic Replies message that's sent to internal senders or senders within the organization. If the value contains spaces, enclose the value in quotation marks. [string]$InternalMessage, # The OOFEventSubject parameter specifies the subject for the calendar event that's automatically created when the CreateOOFEvent parameter is set to $true. [string]$OOFEventSubject, # The StartTime parameter specifies the start date and time that Automatic Replies are sent for the specified mailbox. You use this parameter only when the AutoReplyState parameter is set to Scheduled, and the value of this parameter is meaningful only when AutoReplyState is Scheduled. [string]$StartTime, # Represents the existence of the instance. This must be set to 'Present' [ValidateSet('Present')] [string]$Ensure, # Credentials of the Exchange Global 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 ) Invoke-KriticalUtcmM365DscSchemaBridge -ResourceName 'EXOMailboxAutoReplyConfiguration' -Workload 'Exchange' -Verb 'Get' -CallerParams $PSBoundParameters } |