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

New command: spo tenant channelsite list #6501

Open
milanholemans opened this issue Nov 22, 2024 · 4 comments
Open

New command: spo tenant channelsite list #6501

milanholemans opened this issue Nov 22, 2024 · 4 comments

Comments

@milanholemans
Copy link
Contributor

milanholemans commented Nov 22, 2024

Usage

m365 spo tenant channelsite list [options]

Description

Lists all associated channel sites

Options

Option Description
-u, --siteUrl [siteUrl] URL of the SharePoint group site. Specify either siteUrl, teamId, or teamName.
--teamId [teamId] ID of the Microsoft Team. Specify either siteUrl, teamId, or teamName.
--teamName [teamName] Name of the Microsoft Team. Specify either siteUrl, teamId, or teamName.

Examples

Get all associated channel sites from a site by URL

m365 spo tenant channelsite list --siteUrl https://contoso.sharepoint.com/sites/Marketing

Get all associated channel sites from a team by ID

m365 spo tenant channelsite list --teamId 915fa90d-b123-43da-aeec-ef5e2f617e06

Get all associated channel sites from a team by display name

m365 spo tenant channelsite list --teamName Marketing

Default properties

  • Title
  • URL

Additional Info

Context:

image

@milanholemans milanholemans added needs peer review Needs second pair of eyes to review the spec or PR feature request new feature and removed feature request labels Nov 22, 2024
@Adam-it
Copy link
Member

Adam-it commented Nov 27, 2024

LGTM 👍
@milanholemans which API were you thinking to use?

@milanholemans
Copy link
Contributor Author

Haven't done thorough research about an API. As a last resort, we can use the API the browser is using, but to me, it looked a bit ... meh... 😊
I suggest that doing a bit of research for a decent API is part of the issue.

@milanholemans milanholemans added help wanted needs research and removed needs peer review Needs second pair of eyes to review the spec or PR labels Nov 28, 2024
@waldekmastykarz
Copy link
Member

It might be me but I find the name 'channel site' confusing. Is it referring to a channel or a site? Associated to what? I suggest that we try to simplify it and then link to the existing commands, like teams channel site list or something similar that's clearer.

@milanholemans
Copy link
Contributor Author

Then it looks like you are listing sites for a specific team channel, no?

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

3 participants