Microsoft365DSC icon indicating copy to clipboard operation
Microsoft365DSC copied to clipboard

O365OrgSettings

Open AndromeHyperion opened this issue 8 months ago • 0 comments

Description of the issue

When exporting the workload Office365 the Orgsettings part is empty. It worked in 1.26.121.1. What is exported in 311.1 is below in the export part.

While expecting something like this :

AdminCenterReportDisplayConcealedNames = $True; AllowPlannerCopilot = $True; ApplicationId = $ConfigurationData.NonNodeData.ApplicationId; AppsAndServicesIsAppAndServicesTrialEnabled = $False; AppsAndServicesIsOfficeStoreEnabled = $False; CertificateThumbprint = $ConfigurationData.NonNodeData.CertificateThumbprint; CortanaEnabled = $True; DynamicsCustomerVoiceIsInOrgFormsPhishingScanEnabled = $True; DynamicsCustomerVoiceIsRecordIdentityByDefaultEnabled = $False; DynamicsCustomerVoiceIsRestrictedSurveyAccessEnabled = $False; FormsIsBingImageSearchEnabled = $False; FormsIsExternalSendFormEnabled = $False; FormsIsExternalShareCollaborationEnabled = $False; FormsIsExternalShareResultEnabled = $False; FormsIsExternalShareTemplateEnabled = $False; FormsIsInOrgFormsPhishingScanEnabled = $True; FormsIsRecordIdentityByDefaultEnabled = $False; InstallationOptionsAppsForMac = "isMicrosoft365AppsEnabled"; InstallationOptionsAppsForWindows = @("isMicrosoft365AppsEnabled","isProjectEnabled","isVisioEnabled"); InstallationOptionsUpdateChannel = "current"; IsSingleInstance = "Yes"; M365WebEnableUsersToOpenFilesFrom3PStorage = $False; PlannerAllowCalendarSharing = $False; TenantId = $OrganizationName; ToDoIsExternalJoinEnabled = $False; ToDoIsExternalShareEnabled = $False; ToDoIsPushNotificationEnabled = $True; VivaInsightsDigestEmail = $False; VivaInsightsOutlookAddInAndInlineSuggestions = $False; VivaInsightsScheduleSendSuggestions = $False; VivaInsightsWebExperience = $False;

if ($PSBoundParameters.ContainsKey('PlannerAllowCalendarSharing') -or $PSBoundParameters.ContainsKey('AllowPlannerCopilot') -or $Script:exportedInstance)

after cloning both keys during the session the $PSbountParamets just contains : Key Value


ManagedIdentity False
ApplicationSecret
CertificateThumbprint CertificatePath
AccessTokens
ApplicationId
TenantId
Credential
CertificatePassword
IsSingleInstance Yes

and the $script:exportedinstance is empty too.

Microsoft 365 DSC Version

1.26.311.1

Which workloads are affected

Office 365 Admin

The DSC configuration

`ApplicationId         = $ConfigurationData.NonNodeData.ApplicationId;
CertificateThumbprint = $ConfigurationData.NonNodeData.CertificateThumbprint;
IsSingleInstance      = "Yes";
TenantId              = $OrganizationName;`

Verbose logs showing the problem


Environment Information + PowerShell Version


AndromeHyperion avatar Mar 20 '26 08:03 AndromeHyperion