Skip to content

GetSitePropertiesFromSharePointByFilters - SharingCapability is always "Disabled" #8622

@william-sun-avepoint

Description

@william-sun-avepoint

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

SharePoint CSOM

Developer environment

Windows

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

  • Microsoft.SharePointOnline.CSOM 16.1.22413.12000

Describe the bug / error

The property SharingCapability is always "Disabled" for all sites

Steps to reproduce

var tenant = new Tenant(cc);
var filter = new SPOSitePropertiesEnumerableFilter()
{
IncludePersonalSite = PersonalSiteFilter.UseServerDefault,
IncludeDetail = true
};
var siteProperties = tenant.GetSitePropertiesFromSharePointByFilters(filter);

Expected behavior

the property can be retrieved collectly

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:csom/rest/apiCategory: SharePoint Client Side Object Model SDK / REST APItype:archive-old-issueIssues which are closed as tool old for active worktype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions