Public/generated/Get-KritTcmTeamsEventsPolicy.ps1
|
<# ·· × × × ··· SirJ's Deaddrop ··· × × × ··· — If you found this, you were meant to — ---------------- A Seriously Kritical™ Production ---------------- [] → (¯`·.¸¸.·´¯) .·´ `·. [] → `·.______________.·´ | +------------------+ | | | Kritical™ | | | | [] [] | | | | | | | | [] [] [] | | | +------------------+ | (._.·´¯`·.¸_) Your last call. And your first move. ★ ☆ ★ +61 1300 274 655 sales at kritical dot net ----------------------------------------------------------------- .COPYRIGHT (c) 2026 Kritical Pty Ltd. All rights reserved. .AUTHOR Joshua Finley <joshua.finley@kritical.net> .COMPANY Kritical Pty Ltd | ABN 39 687 048 086 Level 4 / 60 Moorabool St Geelong VIC 3220 1300 274 655 | sales@kritical.net | https://kritical.net/ .NOTES HARD RULE 13 canonical Kritical branding — do not overlay other agent banners. Auto-generated by Generate-KritTcmFromM365DscSchema.ps1 (.1507o30+). Upstream reference: Microsoft365DSC by Microsoft (MIT). This shim provides literal search-replace equivalence — see Krit.TCM/generated/index.md. #> function Get-KritTcmTeamsEventsPolicy { <# .SYNOPSIS Krit.TCM shim for M365DSC resource TeamsEventsPolicy. .DESCRIPTION Auto-generated from M365DSC .schema.mof by scripts/m365-setup/Generate-KritTcmFromM365DscSchema.ps1 (.1507o30). Search-replace safe: callers that today invoke Get-M365DSCTeamsEventsPolicy -Credential $cred -TenantId $tid can rename to Get-KritTcmTeamsEventsPolicy -Credential $cred -TenantId $tid with ZERO other edits. Parameter shape matches the M365DSC .schema.mof exactly. Per operator direction, -PreferM365DscBehavior defaults to true. Actual Graph dispatch is delegated to Invoke-KritTcmM365DscSchemaBridge. 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 Original mof: C:\Users\joshl\OneDrive - Kritical Pty Ltd\Github\KRTPax8ToShopifyConnector\.kritm365-mine\Microsoft365DSC\Modules\Microsoft365DSC\DSCResources\MSFT_TeamsEventsPolicy\MSFT_TeamsEventsPolicy.schema.mof Param count: 31 Generator wave: .1507o30 #> [CmdletBinding()] param( # Identity of the Teams Events Policy. [Parameter(Mandatory)] [string]$Identity, # Description of the Teams Events Policy. [string]$Description, # This setting governs if a user is allowed to edit the communication emails in Teams Town Hall or Teams Webinar events. [ValidateSet('Disabled','Enabled')] [string]$AllowEmailEditing, # This setting governs access to the integrations tab in the event creation workflow. [bool]$AllowEventIntegrations, # Determines if webinars are allowed by the policy or not. [ValidateSet('Disabled','Enabled')] [string]$AllowWebinars, # This setting governs if a user can create town halls using Teams Events. [ValidateSet('Disabled','Enabled')] [string]$AllowTownhalls, # This setting governs which users in a tenant can add which registration form questions to an event registration page for attendees to answer when registering for the event. [ValidateSet('DefaultOnly','DefaultAndPredefinedOnly','AllQuestions')] [string]$AllowedQuestionTypesInRegistrationForm, # This setting describes how IT admins can control which types of Town Hall attendees can have their recordings published. [ValidateSet('None','InviteOnly','EveryoneInCompanyIncludingGuests','Everyone')] [string]$AllowedTownhallTypesForRecordingPublish, # This setting describes how IT admins can control which types of webinar attendees can have their recordings published. [ValidateSet('None','InviteOnly','EveryoneInCompanyIncludingGuests','Everyone')] [string]$AllowedWebinarTypesForRecordingPublish, # TBD [ValidateSet('Enabled','Disabled')] [string]$BackroomChat, # This setting will enable Tenant Admins to specify if an organizer of a Teams Premium town hall may add an app that is accessible by everyone, including attendees, in a broadcast style Event including a Town hall. [ValidateSet('Enabled','Disabled')] [string]$BroadcastPremiumApps, # TBD [ValidateSet('eOTP','None')] [string]$ExternalPresenterJoinVerification, # This setting governs if a user can create Immersive Events using Teams Events. [ValidateSet('Enabled','Disabled')] [string]$ImmersiveEvents, # Determines whether recording is allowed in a user's townhall. [ValidateSet('Enabled','Disabled')] [string]$RecordingForTownhall, # Determines whether recording is allowed in a user's webinar. [ValidateSet('Enabled','Disabled')] [string]$RecordingForWebinar, # TBD [ValidateSet('Enabled','Disabled')] [string]$Registration, # This setting governs what identity types may attend a Town hall that is scheduled by a particular person or group that is assigned this policy. [ValidateSet('Everyone','EveryoneInOrganizationAndGuests')] [string]$TownhallEventAttendeeAccess, # Determines whether transcriptions are allowed in a user's townhall. [ValidateSet('Enabled','Disabled')] [string]$TranscriptionForTownhall, # Determines whether transcriptions are allowed in a user's webinar. [ValidateSet('Enabled','Disabled')] [string]$TranscriptionForWebinar, # Defines who is allowed to join the event. [ValidateSet('Everyone','EveryoneInCompanyExcludingGuests')] [string]$EventAccessType, # Present ensures the policy exists, absent ensures it is removed. [ValidateSet('Present','Absent')] [string]$Ensure, # This setting governs whether the user can enable the Comment Stream chat experience for Town Halls. [ValidateSet('Optimized','None')] [string]$TownhallChatExperience, # This policy sets the maximum video resolution supported in Town hall events. Possible values are: Max720p: Town halls support video resolution up to 720p. Max1080p: Town halls support video resolution up to 1080p. MicrosoftManaged: Town halls will support video resolution up to 720p except for those customers whose networks have been assessed by Microsoft to support up to 1080p. [ValidateSet('Max720p','Max1080p','MicrosoftManaged')] [string]$TownhallMaxResolution, # This setting governs whether the global admin disables this property and prevents the organizers from creating town halls that use Microsoft eCDN even though they have been assigned a Teams Premium license. [bool]$UseMicrosoftECDN, # Credentials of the Teams Global 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-KritTcmM365DscSchemaBridge -ResourceName 'TeamsEventsPolicy' -Workload 'Teams' -Verb 'Get' -CallerParams $PSBoundParameters } |