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

Include private channel sites in GetSiteCollectionsWithDetailsAsync() with application permissions #1076

Closed
1 task done
valpvt opened this issue Jan 23, 2023 · 2 comments
Closed
1 task done
Assignees
Labels
area:admin 📜 Admin library related

Comments

@valpvt
Copy link
Contributor

valpvt commented Jan 23, 2023

Category

  • Feature request

Describe the feature

Update the GetSiteCollectionsWithDetailsAsync() method to return private channel sites when using app permissions.

Describe the solution you'd like

When listing all site collections in the M365 Tenant it would be useful to get private channel sites as well.

Additional context

This is currently possible with Get-PnPTenantSite -Detailed in PowerShell

@jansenbe jansenbe self-assigned this Jan 23, 2023
@jansenbe jansenbe added the area:admin 📜 Admin library related label Jan 23, 2023
@jansenbe
Copy link
Contributor

@valpvt : that's a good addition to have. I'll have a look.

jansenbe added a commit that referenced this issue Jan 23, 2023
…n choose to also return the site collections linked to private and shared Teams channels #1076
@jansenbe
Copy link
Contributor

@valpvt : using GetSiteCollectionsWithDetailsAsync you can now specify a bool to request loading of the sites behind private/shared team channels. This will be part of the next nightly build (version 1.8.79 or higher). I'm closing this issue now, feel free to re-open or create a new in case the feature is not working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:admin 📜 Admin library related
Projects
None yet
Development

No branches or pull requests

2 participants