Public/generated/Get-KritTcmPPTenantSettings.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-KritTcmPPTenantSettings {
<#
.SYNOPSIS
    Krit.TCM shim for M365DSC resource PPTenantSettings.

.DESCRIPTION
    Auto-generated from M365DSC .schema.mof by
    scripts/m365-setup/Generate-KritTcmFromM365DscSchema.ps1 (.1507o30).

    Search-replace safe: callers that today invoke
        Get-M365DSCPPTenantSettings -Credential $cred -TenantId $tid
    can rename to
        Get-KritTcmPPTenantSettings -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: PowerPlatform
    Original mof: C:\Users\joshl\OneDrive - Kritical Pty Ltd\Github\KRTPax8ToShopifyConnector\.kritm365-mine\Microsoft365DSC\Modules\Microsoft365DSC\DSCResources\MSFT_PPTenantSettings\MSFT_PPTenantSettings.schema.mof
    Param count: 59
    Generator wave: .1507o30
#>

[CmdletBinding()]
param(
        # Should be set to yes
[Parameter(Mandatory)] [ValidateSet('Yes')] [string]$IsSingleInstance,
        # When using Copilot in Power Apps, allow users to submit feedback to Microsoft. Default value is false.
[bool]$DisableCopilotFeedback,
        # TBD
[bool]$DisableMakerMatch,
        # TBD
[bool]$DisableUnusedLicenseAssignment,
        # Allow people to use AI to generate an app based on an image. Default value is false.
[bool]$DisableCreateFromImage,
        # Gets or sets a value indicating whether non-admin users in the tenant can share connections with everyone. Default value is false.
[bool]$DisableConnectionSharingWithEveryone,
        # TBD
[bool]$AllowNewOrgChannelDefault,
        # Disables cloud flows copilot in Power Automate. It doesn't control the ability to add AI-related connectors or actions in the flow designer. For example, the Skills connector or AI Builder creates text with a GPT action. Default value is false.
[bool]$DisableCopilot,
        # Disables the copilot-enhanced help feature within Power Automate to enhance answers on product documentation through Bing Search. Default value is false.
[bool]$DisableCopilotWithBing,
        # Disables the weekly admin digest email for Managed Environments. Default value is false.
[bool]$DisableAdminDigest,
        # Ignore the Teams group-preferred data location when provisioning a Teams environment. Default value is false.
[bool]$DisablePreferredDataLocationForTeamsEnvironment,
        # Restrict all developer environments to be created by tenant admins, Power Platform admins, or Dynamics 365 service admins. Default is false.
[bool]$DisableDeveloperEnvironmentCreationByNonAdminUsers,
        # TBD
[bool]$EnvironmentRoutingAllMakers,
        # Enables the Default Environment routing feature that creates personal, developer environments for new makers. Default value is false.
[bool]$EnableDefaultEnvironmentRouting,
        # When this setting is true, admins can view and manage desktop flow action groups in DLP policies in the Power Platform admin center. Default value is false.
[bool]$EnableDesktopFlowDataPolicyManagement,
        # Allow users to collect telemetry data about their app in Azure Application Insights. Setting this to False blocks the transmission of this data.
[bool]$EnableCanvasAppInsights,
        # Allow people to create a canvas app based on a Figma file. Default value is false.
[bool]$DisableCreateFromFigma,
        # This is a legacy setting that is no longer used by the platform. Default value is false.
[bool]$DisableBillingPolicyCreationByNonAdminUsers,
        # This setting isn't currently used by the platform but might be used in the future.
[int]$StorageCapacityConsumptionWarningThreshold,
        # Ability to allow tenant, Power Platform, or Dynamics 365 admins to grant permissions to an environment administrator to view the Capacity summary tab. Default value is false.
[bool]$EnableTenantCapacityReportForEnvironmentAdmins,
        # Ability to allow tenant, Power Platform, or Dynamics 365 admins to grant permissions to an environment administrator to view the tenant-scoped license reports. Default value is false.
[bool]$EnableTenantLicensingReportForEnvironmentAdmins,
        # Ability to use unallocated AI Builder credits in environments without allocated credits. Default value is true.
[bool]$DisableUseOfUnassignedAIBuilderCredits,
        # TBD
[string]$EnableGenerativeAIFeaturesForSiteUsers,
        # TBD
[string]$EnableExternalAuthenticationProvidersInPowerPages,
        # This setting isn't currently used by the platform but might be used in the future.
[bool]$DisableChampionsInvitationReachout,
        # This setting isn't currently used by the platform but might be used in the future.
[bool]$DisableSkillsMatchInvitationReachout,
        # This setting isn't currently used by the platform but might be used in the future.
[bool]$EnableOpenAiBotPublishing,
        # TBD
[bool]$DisableAiPrompts,
        # When using Copilot in Power Apps, allow users to share their prompts, questions, and requests with Microsoft. Default value is true.
[bool]$DisableCopilotFeedbackMetadata,
        # Ability to allow Microsoft to read Power Automate Copilot AI feature customer data (inputs and outputs) and provide improved models. Default value is false.
[bool]$EnableModelDataSharing,
        # Ability to disable data logging and remove all data logged for Power Automate Copilot AI feature customer data (inputs and outputs). Default value is false.
[bool]$DisableDataLogging,
        # This setting is reserved for future use. No enforcement is driven by this setting at the current time.
[string]$PowerCatalogAudienceSetting,
        # TBD
[bool]$EnableDeleteDisabledUserinAllEnvironments,
        # TBD
[bool]$DisableHelpSupportCopilot,
        # TBD
[bool]$DisableSurveyScreenshots,
        # This is a legacy setting that is no longer used by the platform. Default value is false.
[bool]$WalkMeOptOut,
        # TBD
[bool]$useSupportBingSearchByAllUsers,
        # Ability to disable re-surveying users who left prior feedback via NPS prompts in Power Platform. Default value is false.
[bool]$DisableNPSCommentsReachout,
        # Ability to disable the newsletter sendout feature. Default value is false.
[bool]$DisableNewsletterSendout,
        # Restrict all environments to be created by tenant admins, Power Platform admins, or Dynamics 365 service admins. Default value is false.
[bool]$DisableEnvironmentCreationByNonAdminUsers,
        # Restrict all portals to be created by tenant admins, Power Platform admins, or Dynamics 365 service admins. Default value is false.
[bool]$DisablePortalsCreationByNonAdminUsers,
        # Ability to disable all NPS survey feedback prompts in Power Platform. Default value is false.
[bool]$DisableSurveyFeedback,
        # Restrict all trial environments to be created by tenant admins, Power Platform admins, or Dynamics 365 service admins. Default value is false.
[bool]$DisableTrialEnvironmentCreationByNonAdminUsers,
        # Ability to disable capacity allocation by environment administrators. Default value is false.
[bool]$DisableCapacityAllocationByEnvironmentAdmins,
        # Allows users, who already have access to the Help + Support page in Power Platform admin center, to see support requests created by other users in the tenant. Default value is True, which means this feature is turned off by default.
[bool]$DisableSupportTicketsVisibleByAllUsers,
        # When this setting is true, users in the environment can see a message that indicates Microsoft Learn and documentation search categories have been turned off by the administrator. Default value is false.
[bool]$DisableDocsSearch,
        # When this setting is true, users in the environment can see a message that indicates community and blog search categories have been turned off by the administrator. Default value is false.
[bool]$DisableCommunitySearch,
        # When this setting is true, users in the environment can see a message that indicates video search categories have been turned off by the administrator. Default value is false.
[bool]$DisableBingVideoSearch,
        # Ability to turn off the Share with Everyone capability for nonadmin users in all Power Apps. Default value is true.
[bool]$DisableShareWithEveryone,
        # When set to true this will enable the ability for guests in your tenant to create Power Platform resources.
[bool]$EnableGuestsToMake,
        # Maximum value setting for the number of users in a security group used to share an app built using Power Apps on Microsoft Teams. Default value is 10000 but can be increased or decreased, as required.
[int]$ShareWithColleaguesUserLimit,
        # Credentials of the Power Platform 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-KritTcmM365DscSchemaBridge -ResourceName 'PPTenantSettings' -Workload 'PowerPlatform' -Verb 'Get' -CallerParams $PSBoundParameters
}