Skip to content

O365OrgSettings #6987

@AndromeHyperion

Description

@AndromeHyperion

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

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