Public/generated/Get-KriticalUtcmTeamsMeetingBroadcastPolicy.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-KriticalUtcmTeamsMeetingBroadcastPolicy {
<#
.SYNOPSIS
    Kritical.UTCM shim for M365DSC resource TeamsMeetingBroadcastPolicy.

.DESCRIPTION

    Search-replace safe: callers that today invoke
        Get-M365DSCTeamsMeetingBroadcastPolicy -Credential $cred -TenantId $tid
    can rename to
        Get-KriticalUtcmTeamsMeetingBroadcastPolicy -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: Teams
    Param count: 13
#>

[CmdletBinding()]
param(
        # The identifier of the Teams Meeting Broadcast Policy.
[Parameter(Mandatory)] [string]$Identity,
        # Specifies whether this user can create broadcast events in Teams. This setting impacts broadcasts that use both self-service and external encoder production methods.
[bool]$AllowBroadcastScheduling,
        # Specifies whether real-time transcription and translation can be enabled in the broadcast event. Note: this setting is applicable to broadcast events that use Teams Meeting production only and does not apply when external encoder is used as production method.
[bool]$AllowBroadcastTranscription,
        # Specifies the attendee visibility mode of the broadcast events created by this user. This setting controls who can watch the broadcast event - e.g. anyone can watch this event including anonymous users or only authenticated users in my company can watch the event. Note: this setting is applicable to broadcast events that use Teams Meeting production only and does not apply when external encoder is used as production method.
[ValidateSet('Everyone','EveryoneInCompany','InvitedUsersInCompany','EveryoneInCompanyAndExternal','InvitedUsersInCompanyAndExternal')] [string]$BroadcastAttendeeVisibilityMode,
        # Specifies whether broadcast events created by this user are always recorded, never recorded or user can choose whether to record or not. Note: this setting is applicable to broadcast events that use Teams Meeting production only and does not apply when external encoder is used as production method.
[ValidateSet('AlwaysEnabled','AlwaysDisabled','UserOverride')] [string]$BroadcastRecordingMode,
        # Present ensures the Policy exists, absent ensures it is removed
[ValidateSet('Present','Absent')] [string]$Ensure,
        # Credentials of the Teams Admin
[string]$Credential,
        # Id of the Azure Active Directory application to authenticate with.
[string]$ApplicationId,
        # Name of the Azure Active Directory tenant used for authentication. Format contoso.onmicrosoft.com
[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 'TeamsMeetingBroadcastPolicy' -Workload 'Teams' -Verb 'Get' -CallerParams $PSBoundParameters
}