-
Notifications
You must be signed in to change notification settings - Fork 147
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
Create Set-SPORestrictedSiteCreation.md #757
Conversation
New Cmdlet for new RSC feature releasing at Ignite
Learn Build status updates of commit d3bd9b5: ❌ Validation status: errorsPlease follow instructions here which may help to resolve issue.
sharepoint/docs-conceptual/sharepoint-server/sharepoint-server-cmdlets.md
sharepoint/docs-conceptual/sharepoint-server/sharepoint-server-sub-cmdlets.md
For more details, please refer to the build report. Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them. For any questions, please:
|
@microsoft-github-policy-service agree company="Microsoft" |
Learn Build status updates of commit d3bd9b5: ❌ Validation status: errorsPlease follow instructions here which may help to resolve issue.
sharepoint/docs-conceptual/sharepoint-server/sharepoint-server-cmdlets.md
sharepoint/docs-conceptual/sharepoint-server/sharepoint-server-sub-cmdlets.md
For more details, please refer to the build report. Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them. For any questions, please:
|
Learn Build status updates of commit e55e685:
|
File | Status | Preview URL | Details |
---|---|---|---|
sharepoint/sharepoint-ps/sharepoint-online/Set-SPORestrictedSiteCreation.md | View (sharepoint-ps) | Details |
sharepoint/sharepoint-ps/sharepoint-online/Set-SPORestrictedSiteCreation.md
- Line 0, Column 0: [Warning: author-not-found - See documentation]
Invalid value for author: 'vaibhav-gaddam' is not a valid GitHub ID.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:
- Try searching the learn.microsoft.com contributor guides
- Post your question in the Learn support channel
Learn Build status updates of commit 9a7f6da:
|
File | Status | Preview URL | Details |
---|---|---|---|
sharepoint/sharepoint-ps/sharepoint-online/Set-SPORestrictedSiteCreation.md | View (sharepoint-ps) | Details |
sharepoint/sharepoint-ps/sharepoint-online/Set-SPORestrictedSiteCreation.md
- Line 0, Column 0: [Warning: author-not-found - See documentation]
Invalid value for author: 'vaibhav-gaddam' is not a valid GitHub ID.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:
- Try searching the learn.microsoft.com contributor guides
- Post your question in the Learn support channel
Learn Build status updates of commit 1d87ef5: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
|
||
## DESCRIPTION | ||
|
||
The Set-SPORestrictedSiteCreation cmdlet sets or updates the configuration or setting for the Restricted Site Creation feature. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
The Set-SPORestrictedSiteCreation cmdlet sets or updates the configuration or setting for the Restricted Site Creation feature. | ||
|
||
You must be a SharePoint Online administrator to run the cmdlet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this line -- we only include it if it requires a different permission other than SharePoint admin, since by definition cmdlets can only be executed by SharePoint admin #Closed
You must be a SharePoint Online administrator to run the cmdlet. | ||
|
||
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at [Intro to SharePoint Online Management Shell](https://learn.microsoft.com/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell?view=sharepoint-ps). | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this line, move it to the bottom of page as a related link:
[Intro to SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell)
``` #Closed
|
||
> [!Important] | ||
> You must use version 16.0.25513 (published November 2024) or later of the [SharePoint Online Management Shell](https://www.microsoft.com/en-us/download/details.aspx?id=35588) for these commands to function properly. Earlier versions do not have the current list of site types and will not operate correctly. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this -- it's not useful. admins know that if they can't find a cmdlet they know to upgrade to a later build #Closed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Sam, this is the issue I believe Matthew Calligaro talked to you about. the Cmdlet will be available at a prior build but won't function properly because the enum mapping will change with OneDrive support
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that we also don't know yet what exactly the November build will be. 25513 is a good guess for now based on the fork date, but these numbers have changed in the past, e.g., by PM deciding to pick up a later build.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for pointing this out, will keep this in mind.
Set-SPORestrictedSiteCreation –Enabled:$true | ||
``` | ||
|
||
Example 1`enables the restricted site creation feature for the tenant. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Set-SPORestrictedSiteCreation –Enabled:$true | ||
``` | ||
|
||
Example 1`enables the restricted site creation feature for the tenant. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### Example 5 | ||
|
||
```powershell | ||
Set-SPORestrictedSiteCreation –SiteType "OneDrive" -RestrictedSiteCreationGroups "" ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move these backticks to the next line #Closed
### -Enabled | ||
|
||
PARAMVALUE: true | false | ||
Enables of disabled Restricted Site Creation feature in tenant |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### -Enabled | ||
|
||
PARAMVALUE: true | false | ||
Enables of disabled Restricted Site Creation feature in tenant |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
### -SiteType | ||
|
||
When paired with the –RestrictedSiteCreationGroups parameter, creates a new policy which applies to the specified types of sites. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
### -RestrictedSiteCreationGroups | ||
|
||
A comma-separated list of up to 10 Microsoft Entra security group IDs. When paired with the –SiteType parameter, defines a new policy which applies to the specified groups. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
## RELATED LINKS | ||
|
||
[Getting started with SharePoint Online Management Shell](https://learn.microsoft.com/powershell/sharepoint/sharepoint-online/connect-sharepoint-online?view=sharepoint-ps) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://learn.microsoft.com/powershell/sharepoint/sharepoint-online/connect-sharepoint-online?view=sharepoint-ps
use relative link
/powershell/sharepoint/sharepoint-online/connect-sharepoint-online
``` #Closed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🕐
Updating document according to Sam Kabue's comments.
Learn Build status updates of commit bb5b103: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
Fixed related links
Learn Build status updates of commit 1ad2dc1: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
Learn Build status updates of commit d046156: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
Add relative link + update full build number
Learn Build status updates of commit 478c524: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
Learn Build status updates of commit 9398abc: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @vgaddam-pm - Following are blocking issues that need to be resolved before we can merge: sharepoint/sharepoint-ps/sharepoint-online/Set-SPORestrictedSiteCreation.md
Reference Criteria used for pull request reviews Blocking
After you resolve the blocking issues, remove the Back to submitter label and add the Sign off label again. If you need help resolving issues in this PR, post your question in the Ask an Admin Teams Channel. Thanks, |
Learn Build status updates of commit d22c638: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
@Stacyrch140 to review now. Have added to TOC but cannot assign labels myself. |
PubOps PR review
New Cmdlet for new RSC feature releasing at Ignite