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

.DESCRIPTION

    Search-replace safe: callers that today invoke
        Get-M365DSCO365OrgSettings -Credential $cred -TenantId $tid
    can rename to
        Get-KriticalUtcmO365OrgSettings -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: O365Core
    Param count: 34
#>

[CmdletBinding()]
param(
        # Specifies the resource is a single instance, the value must be 'Yes'
[Parameter(Mandatory)] [ValidateSet('Yes')] [string]$IsSingleInstance,
        # Allow people in your organization to start trial subscriptions for apps and services that support trials. Admins manage licenses for these trials in the same way as other licenses in your organization. Only admins can upgrade these trials to paid subscriptions, so they won't affect your billing.
[bool]$AppsAndServicesIsAppAndServicesTrialEnabled,
        # Allow people in your organization to access the Office Store using their work account. The Office Store provides access to apps that aren't curated or managed by Microsoft.
[bool]$AppsAndServicesIsOfficeStoreEnabled,
        # Allow Cortana in windows 10 (version 1909 and earlier), and the Cortana app on iOS and Android, to access Microsoft-hosted data on behalf of people in your organization.
[bool]$CortanaEnabled,
        # Automatically block any internal surveys that request confidential information. Admins will be notified in the Message Center when a survey is blocked.
[bool]$DynamicsCustomerVoiceIsInOrgFormsPhishingScanEnabled,
        # Capture the first and last names of respondents in your organization that complete a survey. You can still change this for individual surveys.
[bool]$DynamicsCustomerVoiceIsRecordIdentityByDefaultEnabled,
        # Capture the first and last names of respondents in your organization that complete a survey. You can still change this for individual surveys.
[bool]$DynamicsCustomerVoiceIsRestrictedSurveyAccessEnabled,
        # Allow YouTube and Bing.
[bool]$FormsIsBingImageSearchEnabled,
        # External Sharing - Send a link to the form and collect responses.
[bool]$FormsIsExternalSendFormEnabled,
        # External Sharing - Share to collaborate on the form layout and structure.
[bool]$FormsIsExternalShareCollaborationEnabled,
        # External Sharing - Share form result summary.
[bool]$FormsIsExternalShareResultEnabled,
        # External Sharing - Share the form as a template that can be duplicated.
[bool]$FormsIsExternalShareTemplateEnabled,
        # Phishing protection.
[bool]$FormsIsInOrgFormsPhishingScanEnabled,
        # Record names of people in your org.
[bool]$FormsIsRecordIdentityByDefaultEnabled,
        # Let users open files stored in third-party storage services in Microsoft 365 on the Web.
[bool]$M365WebEnableUsersToOpenFilesFrom3PStorage,
        # Specifies whether or not to allow users to have access to use the Viva Insights web experience.
[bool]$VivaInsightsWebExperience,
        # Specifies whether or not to allow users to have access to use the Viva Insights digest email feature.
[bool]$VivaInsightsDigestEmail,
        # Specifies whether or not to allow users to have access to use the Viva Insights Outlook add-in and inline suggestions.
[bool]$VivaInsightsOutlookAddInAndInlineSuggestions,
        # Specifies whether or not to allow users to have access to use the Viva Insights schedule send suggestions feature.
[bool]$VivaInsightsScheduleSendSuggestions,
        # Allow Planner users to publish their plans and assigned tasks to Outlook or other calendars through iCalendar feeds.
[bool]$PlannerAllowCalendarSharing,
        # Enables Copilot for Planner.
[bool]$AllowPlannerCopilot,
        # To Do - Allow external users to join.
[bool]$ToDoIsExternalJoinEnabled,
        # To Do - Allow sharing with external users.
[bool]$ToDoIsExternalShareEnabled,
        # To Do - Allow your users to receive push notifications.
[bool]$ToDoIsPushNotificationEnabled,
        # Controls whether or not the Admin Center reports will conceale user, group and site names.
[bool]$AdminCenterReportDisplayConcealedNames,
        # Defines how often you want your users to get feature updates for Microsoft 365 apps installed on devices running Windows
[ValidateSet('current','monthlyEnterprise','semiAnnual')] [string]$InstallationOptionsUpdateChannel,
        # Credentials of the 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,
        # Secret of the Azure Active Directory tenant used for authentication.
[string]$ApplicationSecret,
        # 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 'O365OrgSettings' -Workload 'O365Core' -Verb 'Get' -CallerParams $PSBoundParameters
}