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

Fixes 'spo site sharingpermission set' example #6397

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/docs/cmd/spo/site/site-sharingpermission-set.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@ When specifying `capability`, consider the following:
Update the sharing permissions for a site so only owners can share files and the site

```sh
m365 spo site sharingpermission set --siteUrl https://siteaddress.com/sites/sitename --capability ownersOnly
m365 spo site sharingpermission set --siteUrl https://siteaddress.com/sites/sitename --capability ownersOnly
```

Update the sharing permissions for a site where so both owners and members can share files and the site

```sh
m365 spo site sharingpermission set --siteUrl https://siteaddress.com/sites/sitename --capability full
m365 spo site sharingpermission set --siteUrl https://siteaddress.com/sites/sitename --capability full
```

Update the sharing permissions for a site where so owners can share the site, but members can only share files

```sh
m365 spo site sharingpermission set --siteUrl https://siteaddress.com/sites/sitename --capability full
m365 spo site sharingpermission set --siteUrl https://siteaddress.com/sites/sitename --capability limited
```

## Response
Expand Down