Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release pipeline errors caused by O365OrgSetting. #4080

Closed
kochi-shunsuke opened this issue Dec 21, 2023 · 0 comments · Fixed by #4101
Closed

Release pipeline errors caused by O365OrgSetting. #4080

kochi-shunsuke opened this issue Dec 21, 2023 · 0 comments · Fixed by #4101

Comments

@kochi-shunsuke
Copy link

Description of the issue

If I use the latest version of the M365DSC as described in the devops whitepaper, error occurs in release pipeline.
And if I comment out O365OrgSettings, the error did not occur.
What is causing it? And how should I do to solve these?

Microsoft 365 DSC Version

V1.23.1213.1

Which workloads are affected

Office 365 Admin

The DSC configuration

O365OrgSettings "O365OrgSettings"
        {
            AdminCenterReportDisplayConcealedNames                = $True;
            AppsAndServicesIsAppAndServicesTrialEnabled           = $True;
            AppsAndServicesIsOfficeStoreEnabled                   = $True;
            Credential                                            = $Credential
            DynamicsCustomerVoiceIsInOrgFormsPhishingScanEnabled  = $True;
            DynamicsCustomerVoiceIsRecordIdentityByDefaultEnabled = $True;
            DynamicsCustomerVoiceIsRestrictedSurveyAccessEnabled  = $False;
            FormsIsBingImageSearchEnabled                         = $True;
            FormsIsExternalSendFormEnabled                        = $True;
            FormsIsExternalShareCollaborationEnabled              = $True;
            FormsIsExternalShareResultEnabled                     = $True;
            FormsIsExternalShareTemplateEnabled                   = $True;
            FormsIsInOrgFormsPhishingScanEnabled                  = $True;
            FormsIsRecordIdentityByDefaultEnabled                 = $True;
            IsSingleInstance                                      = "Yes";
            MicrosoftVivaBriefingEmail                            = $True;
            PlannerAllowCalendarSharing                           = $True;
            ToDoIsExternalJoinEnabled                             = $True;
            ToDoIsExternalShareEnabled                            = $False;
            ToDoIsPushNotificationEnabled                         = $True;
            VivaInsightsDigestEmail                               = $True;
            VivaInsightsOutlookAddInAndInlineSuggestions          = $True;
            VivaInsightsScheduleSendSuggestions                   = $True;
            VivaInsightsWebExperience                             = $True;
        }

Verbose logs showing the problem

##[error]Cannot bind argument to parameter 'ServicePrincipalId' because it is an empty string.
    + CategoryInfo          : InvalidData: (:) [], CimException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Update-MgServicePrincipal
    + PSComputerName        : localhost

##[error]The PowerShell DSC resource '[O365OrgSettings]O365OrgSettings::[Office365]Office365_Configuration' with SourceInfo 
'D:\a\1\s\M365Config\0.0.1\DSCResources\Office365\Office365.schema.psm1::416::9::O365OrgSettings' threw one or more non-terminating errors while running the Set-TargetResource functionality. These errors are logged to the ETW channel called Microsoft-Windows-DSC/Operational. Refer to this channel for more details.

    + CategoryInfo          : InvalidOperation: (:) [], CimException

    + FullyQualifiedErrorId : NonTerminatingErrorFromProvider

    + PSComputerName        : localhost

Environment Information + PowerShell Version

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant