From 9ea376ff52f216ea68377abaea3a541ea327b33c Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Wed, 15 Jan 2025 16:37:41 -0500 Subject: [PATCH] FabricAdminTenantSettings: Added Missing Properties --- CHANGELOG.md | 6 +++ .../MSFT_FabricAdminTenantSettings.psm1 | 52 +++++++++++++++++++ .../MSFT_FabricAdminTenantSettings.schema.mof | 4 ++ 3 files changed, 62 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47e595e3e1..5f534d643f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change log for Microsoft365DSC +# UNRELEASED + +* FabricAdminTenantSettings + * Added support for the AllowGetOneLakeUDK, AllowMountDfCreation, AllowOneLakeUDK, + ArtifactOrgAppPreview properties. + # 1.25.115.1 * AADAuthenticationRequirement diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_FabricAdminTenantSettings/MSFT_FabricAdminTenantSettings.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_FabricAdminTenantSettings/MSFT_FabricAdminTenantSettings.psm1 index 25923165c7..7d22528b36 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_FabricAdminTenantSettings/MSFT_FabricAdminTenantSettings.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_FabricAdminTenantSettings/MSFT_FabricAdminTenantSettings.psm1 @@ -61,6 +61,10 @@ function Get-TargetResource [Microsoft.Management.Infrastructure.CimInstance] $AllowFreeTrial, + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance] + $AllowGetOneLakeUDK, + [Parameter()] [Microsoft.Management.Infrastructure.CimInstance] $AllowGuestLookup, @@ -69,6 +73,14 @@ function Get-TargetResource [Microsoft.Management.Infrastructure.CimInstance] $AllowGuestUserToAccessSharedContent, + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance] + $AllowMountDfCreation, + + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance] + $AllowOneLakeUDK, + [Parameter()] [Microsoft.Management.Infrastructure.CimInstance] $AllowPowerBIASDQOnTenant, @@ -93,6 +105,10 @@ function Get-TargetResource [Microsoft.Management.Infrastructure.CimInstance] $AppPush, + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance] + $ArtifactOrgAppPreview, + [Parameter()] [Microsoft.Management.Infrastructure.CimInstance] $ArtifactSearchTenant, @@ -597,14 +613,18 @@ function Get-TargetResource AllowExternalDataSharingReceiverSwitch = Get-M365DSCFabricTenantSettingObject -Setting ($instance.tenantSettings | Where-Object -FilterScript { $_.settingName -eq 'AllowExternalDataSharingReceiverSwitch' }) AllowExternalDataSharingSwitch = Get-M365DSCFabricTenantSettingObject -Setting ($instance.tenantSettings | Where-Object -FilterScript { $_.settingName -eq 'AllowExternalDataSharingSwitch' }) AllowFreeTrial = Get-M365DSCFabricTenantSettingObject -Setting ($instance.tenantSettings | Where-Object -FilterScript { $_.settingName -eq 'AllowFreeTrial' }) + AllowGetOneLakeUDK = Get-M365DSCFabricTenantSettingObject -Setting ($instance.tenantSettings | Where-Object -FilterScript { $_.settingName -eq 'AllowGetOneLakeUDK' }) AllowGuestLookup = Get-M365DSCFabricTenantSettingObject -Setting ($instance.tenantSettings | Where-Object -FilterScript { $_.settingName -eq 'AllowGuestLookup' }) AllowGuestUserToAccessSharedContent = Get-M365DSCFabricTenantSettingObject -Setting ($instance.tenantSettings | Where-Object -FilterScript { $_.settingName -eq 'AllowGuestUserToAccessSharedContent' }) + AllowMountDfCreation = Get-M365DSCFabricTenantSettingObject -Setting ($instance.tenantSettings | Where-Object -FilterScript { $_.settingName -eq 'AllowMountDfCreation' }) + AllowOneLakeUDK = Get-M365DSCFabricTenantSettingObject -Setting ($instance.tenantSettings | Where-Object -FilterScript { $_.settingName -eq 'AllowOneLakeUDK' }) AllowPowerBIASDQOnTenant = Get-M365DSCFabricTenantSettingObject -Setting ($instance.tenantSettings | Where-Object -FilterScript { $_.settingName -eq 'AllowPowerBIASDQOnTenant' }) AllowSendAOAIDataToOtherRegions = Get-M365DSCFabricTenantSettingObject -Setting ($instance.tenantSettings | Where-Object -FilterScript { $_.settingName -eq 'AllowSendAOAIDataToOtherRegions' }) AllowSendNLToDaxDataToOtherRegions = Get-M365DSCFabricTenantSettingObject -Setting ($instance.tenantSettings | Where-Object -FilterScript { $_.settingName -eq 'AllowSendNLToDaxDataToOtherRegions' }) AllowServicePrincipalsCreateAndUseProfiles = Get-M365DSCFabricTenantSettingObject -Setting ($instance.tenantSettings | Where-Object -FilterScript { $_.settingName -eq 'AllowServicePrincipalsCreateAndUseProfiles' }) AllowServicePrincipalsUseReadAdminAPIs = Get-M365DSCFabricTenantSettingObject -Setting ($instance.tenantSettings | Where-Object -FilterScript { $_.settingName -eq 'AllowServicePrincipalsUseReadAdminAPIs' }) AppPush = Get-M365DSCFabricTenantSettingObject -Setting ($instance.tenantSettings | Where-Object -FilterScript { $_.settingName -eq 'AppPush' }) + ArtifactOrgAppPreview = Get-M365DSCFabricTenantSettingObject -Setting ($instance.tenantSettings | Where-Object -FilterScript { $_.settingName -eq 'ArtifactOrgAppPreview' }) ArtifactSearchTenant = Get-M365DSCFabricTenantSettingObject -Setting ($instance.tenantSettings | Where-Object -FilterScript { $_.settingName -eq 'ArtifactSearchTenant' }) ASCollectQueryTextTelemetryTenantSwitch = Get-M365DSCFabricTenantSettingObject -Setting ($instance.tenantSettings | Where-Object -FilterScript { $_.settingName -eq 'ASCollectQueryTextTelemetryTenantSwitch' }) ASShareableCloudConnectionBindingSecurityModeTenant = Get-M365DSCFabricTenantSettingObject -Setting ($instance.tenantSettings | Where-Object -FilterScript { $_.settingName -eq 'ASShareableCloudConnectionBindingSecurityModeTenant' }) @@ -796,6 +816,10 @@ function Set-TargetResource [Microsoft.Management.Infrastructure.CimInstance] $AllowFreeTrial, + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance] + $AllowGetOneLakeUDK, + [Parameter()] [Microsoft.Management.Infrastructure.CimInstance] $AllowGuestLookup, @@ -804,6 +828,14 @@ function Set-TargetResource [Microsoft.Management.Infrastructure.CimInstance] $AllowGuestUserToAccessSharedContent, + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance] + $AllowMountDfCreation, + + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance] + $AllowOneLakeUDK, + [Parameter()] [Microsoft.Management.Infrastructure.CimInstance] $AllowPowerBIASDQOnTenant, @@ -828,6 +860,10 @@ function Set-TargetResource [Microsoft.Management.Infrastructure.CimInstance] $AppPush, + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance] + $ArtifactOrgAppPreview, + [Parameter()] [Microsoft.Management.Infrastructure.CimInstance] $ArtifactSearchTenant, @@ -1351,6 +1387,10 @@ function Test-TargetResource [Microsoft.Management.Infrastructure.CimInstance] $AllowFreeTrial, + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance] + $AllowGetOneLakeUDK, + [Parameter()] [Microsoft.Management.Infrastructure.CimInstance] $AllowGuestLookup, @@ -1359,6 +1399,14 @@ function Test-TargetResource [Microsoft.Management.Infrastructure.CimInstance] $AllowGuestUserToAccessSharedContent, + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance] + $AllowMountDfCreation, + + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance] + $AllowOneLakeUDK, + [Parameter()] [Microsoft.Management.Infrastructure.CimInstance] $AllowPowerBIASDQOnTenant, @@ -1383,6 +1431,10 @@ function Test-TargetResource [Microsoft.Management.Infrastructure.CimInstance] $AppPush, + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance] + $ArtifactOrgAppPreview, + [Parameter()] [Microsoft.Management.Infrastructure.CimInstance] $ArtifactSearchTenant, diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_FabricAdminTenantSettings/MSFT_FabricAdminTenantSettings.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_FabricAdminTenantSettings/MSFT_FabricAdminTenantSettings.schema.mof index d52886c0bd..aecb148d64 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_FabricAdminTenantSettings/MSFT_FabricAdminTenantSettings.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_FabricAdminTenantSettings/MSFT_FabricAdminTenantSettings.schema.mof @@ -45,15 +45,19 @@ class MSFT_FabricAdminTenantSettings : OMI_BaseResource [Write, Description("Endorse master data (preview)"), EmbeddedInstance("MSFT_FabricTenantSetting")] string AllowEndorsementMasterDataSwitch; [Write, Description("Users can accept external data shares (preview)"), EmbeddedInstance("MSFT_FabricTenantSetting")] string AllowExternalDataSharingReceiverSwitch; [Write, Description("External data sharing (preview)"), EmbeddedInstance("MSFT_FabricTenantSetting")] string AllowExternalDataSharingSwitch; + [Write, Description("Use short-lived user-delegated SAS tokens (preview)."), EmbeddedInstance("MSFT_FabricTenantSetting")] string AllowGetOneLakeUDK; [Write, Description("Users can try Microsoft Fabric paid features"), EmbeddedInstance("MSFT_FabricTenantSetting")] string AllowFreeTrial; [Write, Description("Users can see guest users in lists of suggested people"), EmbeddedInstance("MSFT_FabricTenantSetting")] string AllowGuestLookup; [Write, Description("Guest users can access Microsoft Fabric"), EmbeddedInstance("MSFT_FabricTenantSetting")] string AllowGuestUserToAccessSharedContent; + [Write, Description("Users can create and use ADF Mount items (preview)."), EmbeddedInstance("MSFT_FabricTenantSetting")] string AllowMountDfCreation; + [Write, Description("Authenticate with OneLake user-delegated SAS tokens (preview)."), EmbeddedInstance("MSFT_FabricTenantSetting")] string AllowOneLakeUDK; [Write, Description("Allow DirectQuery connections to Power BI semantic models"), EmbeddedInstance("MSFT_FabricTenantSetting")] string AllowPowerBIASDQOnTenant; [Write, Description("Data sent to Azure OpenAI can be processed outside your capacity's geographic region, compliance boundary, or national cloud instance"), EmbeddedInstance("MSFT_FabricTenantSetting")] string AllowSendAOAIDataToOtherRegions; [Write, Description("Allow user data to leave their geography"), EmbeddedInstance("MSFT_FabricTenantSetting")] string AllowSendNLToDaxDataToOtherRegions; [Write, Description("Allow service principals to create and use profiles"), EmbeddedInstance("MSFT_FabricTenantSetting")] string AllowServicePrincipalsCreateAndUseProfiles; [Write, Description("Service principals can access read-only admin APIs"), EmbeddedInstance("MSFT_FabricTenantSetting")] string AllowServicePrincipalsUseReadAdminAPIs; [Write, Description("Push apps to end users"), EmbeddedInstance("MSFT_FabricTenantSetting")] string AppPush; + [Write, Description("Users can discover and create org apps (preview)."), EmbeddedInstance("MSFT_FabricTenantSetting")] string ArtifactOrgAppPreview; [Write, Description("Use global search for Power BI"), EmbeddedInstance("MSFT_FabricTenantSetting")] string ArtifactSearchTenant; [Write, Description("Microsoft can store query text to aid in support investigations"), EmbeddedInstance("MSFT_FabricTenantSetting")] string ASCollectQueryTextTelemetryTenantSwitch; [Write, Description("Enable granular access control for all data connections"), EmbeddedInstance("MSFT_FabricTenantSetting")] string ASShareableCloudConnectionBindingSecurityModeTenant;