Skip to content

FabricAdminTenantSettings: Property Reconciliation Needed #6866

@SNikalaichyk

Description

@SNikalaichyk

Description of the issue

The FabricAdminTenantSettings DSC resource needs updates to align with current Fabric Admin API:

  1. Reconcile DSC properties with the Purview tenantSettings JSON payload
  2. Handle no longer existing (deprecated) settings with appropriate errors

JSON download script:

Import-Module -Name Microsoft365DSC -Function @('New-M365DSCConnection', 'Get-MSCloudLoginConnectionProfile') -Verbose:$false

$null = New-M365DSCConnection -Workload 'Fabric' -InboundParameters @{
    ApplicationId         = 'REDACTED'
    CertificateThumbprint = 'REDACTED'
    TenantId              = 'contoso.onmicrosoft.com'
}

$connectionProfile = Get-MSCloudLoginConnectionProfile -Workload 'Fabric'
$uri = $connectionProfile.HostUrl + '/v1/admin/tenantsettings'
$headers = @{Authorization = $connectionProfile.AccessToken}

(Invoke-WebRequest -Method Get -Uri $uri -Headers $headers -UseBasicParsing).Content

Deprecated Settings

These settings no longer exist in the JSON response:

AllowMountDfCreation
AzureMap
EimInformationProtectionLessElevated
EnableFabricAirflow
GraphQLTenant
PowerPlatformSolutionsIntegrationTenant
RetailSolutionsTenantSwitch
ServicePrincipalAccess

Missing Settings

These settings exist in the API but are not supported by the DSC resource:

AdminDataExploreViewPermission
AllowCapacityMetricsReportUserMask
AllowNonEntraADAuthInEventStream
AllowServicePrincipalsUseWriteAdminAPIs
AllowStoreAOAIDataInOtherRegions
ArtifactDBTItemTenantSwitch
ArtifactGraphPreview
ArtifactMapTenantSwitch
ArtifactSnowflakeDatabasePreview
AutomaticallyUsePBIR
AzureMaps
AzureMapsCrossRegionDataProcessing
AzureMapsInFabric
AzureMapsInFabricCrossRegionDataProcessing
AzureMapsThirdPartyDataProcessing
AzureMapsWeatherServices
ConfigureWorkspaceLevelIPFirewallRules
CopilotCapacitySetupPermissionSwitch
DataSecurityForAIInteractions
DeltaToIcebergTableVirtualization
DigitalOperationsPreview
DirectLakeOnOneLakeSemanticModelCreation
EimInformationProtectionDefaultLabelDomainSetting
EnableEsriLibraries
FabricAddWorkloadToWorkspace
FabricPromotionTenantSwitch
ImmersiveTenantAdminSwitch
MLModelEndpointsTenantSwitch
OneLakeDiagnosticLogsEUII
OntologyPreview
PlatformMonitoringTenantSetting
PowerBIMCP
PreppedForCopilotContentDiscovery
RTHAnomalyDetectionTenantSwitch
RTHOperationalAgentsTenantSwitch
ServicePrincipalAccessGlobalAPIs
ServicePrincipalAccessPermissionAPIs
ShowActivatorEntryPointsTenantSwitch
ThirdPartyPrivateWorkloads
WorkspaceBlockInboundAccess
WorkspaceBlockOutboundAccess
WorkspaceCmk

Microsoft 365 DSC Version

v1.26.128.1

Which workloads are affected

Fabric

The DSC configuration

N/A

Verbose logs showing the problem

N/A

Environment Information + PowerShell Version

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions