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

SPOTenantSettings issue #4721

Open
Ouss-ELG opened this issue May 30, 2024 · 1 comment
Open

SPOTenantSettings issue #4721

Ouss-ELG opened this issue May 30, 2024 · 1 comment

Comments

@Ouss-ELG
Copy link

Description of the issue

When using credential login (it has worked before and the only difference is I am using a new DSC version. I used version 1.24.313.1' before ) I get the error below.
When using managed identity I get a different error.

When downgrading to 1.24.313.1 everything works great again.

Microsoft 365 DSC Version

1.24.522.1

Which workloads are affected

SharePoint Online

The DSC configuration

SPOTenantSettings "SPOTenantSettings"
    {
        ApplyAppEnforcedRestrictionsToAdHocRecipients = $True;
        CommentsOnSitePagesDisabled                   = $False;
        Ensure                                        = "Present";
        FilePickerExternalImageSearchEnabled          = $True;
        HideDefaultThemes                             = $False;
        IsSingleInstance                              = "Yes";
        LegacyAuthProtocolsEnabled                    = $False;
        MarkNewFilesSensitiveByDefault                = "AllowExternalSharing";
        MaxCompatibilityLevel                         = "15";
        MinCompatibilityLevel                         = "15";
        NotificationsInSharePointEnabled              = $True;
        OfficeClientADALDisabled                      = $False;
        OwnerAnonymousNotification                    = $True;
        PublicCdnAllowedFileTypes                     = "CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF";
        PublicCdnEnabled                              = $False;
        SearchResolveExactEmailOrUPN                  = $False;
        SignInAccelerationDomain                      = "";
        #SocialBarOnSitePagesDisabled                  = $False;
        UseFindPeopleInPeoplePicker                   = $False;
        UsePersistentCookiesForExplorerView           = $False;
        #ApplicationId                                 = $ApplicationId;
        #TenantId                                      = $TenantId;
        #CertificateThumbprint                         = $Thumbprint;
        Credential                                   = $Credential
    }

or 

    SPOTenantSettings "SPOTenantSettings"
    {
        ApplyAppEnforcedRestrictionsToAdHocRecipients = $True;
        CommentsOnSitePagesDisabled                   = $False;
        Ensure                                        = "Present";
        FilePickerExternalImageSearchEnabled          = $True;
        HideDefaultThemes                             = $False;
        IsSingleInstance                              = "Yes";
        LegacyAuthProtocolsEnabled                    = $False;
        MarkNewFilesSensitiveByDefault                = "AllowExternalSharing";
        MaxCompatibilityLevel                         = "15";
        MinCompatibilityLevel                         = "15";
        NotificationsInSharePointEnabled              = $True;
        OfficeClientADALDisabled                      = $False;
        OwnerAnonymousNotification                    = $True;
        PublicCdnAllowedFileTypes                     = "CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF";
        PublicCdnEnabled                              = $False;
        SearchResolveExactEmailOrUPN                  = $False;
        SignInAccelerationDomain                      = "";
        #SocialBarOnSitePagesDisabled                  = $False;
        UseFindPeopleInPeoplePicker                   = $False;
        UsePersistentCookiesForExplorerView           = $False;
        ApplicationId                                 = $ApplicationId;
        TenantId                                      = $TenantId;
        CertificateThumbprint                         = $Thumbprint;
        #Credential                                   = $Credential
    }

Verbose logs showing the problem

For credential login:

[[SPOTenantSettings]SPOTenantSettings::[SharePoint]SharePoint_Configuration] Getting configuration for SPO Tenant
##[error]De aanvraag kan niet worden verwerkt. Via de WMI-service of de WMI-provider is een onbekende fout geretourneerd: HRESUL
T 0x80041033 
    + CategoryInfo          : ResourceUnavailable: (root/Microsoft/...gurationManager:String) [], CimException
    + FullyQualifiedErrorId : HRESULT 0x80041033
    + PSComputerName        : localhost



For managed identity login:

I don't have the logs anymore.

Environment Information + PowerShell Version

No response

@andikrueger
Copy link
Collaborator

The error message indicates an issue with WIN-RM. Please run start-dscconfiguration with the verbose and wait switches.

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

No branches or pull requests

2 participants