Skip to content

Remove preview warning from spo hubsite commands #3989

@milanholemans

Description

@milanholemans

Currently quite some spo hubsite and spo site hubsite commands have a warning that the API is in preview.
However, when consulting the MS docs, there is no warning anymore so we can assume that the API is stable right now.
Example: https://learn.microsoft.com/en-us/sharepoint/dev/features/hub-site/rest-joinhubsite-method

To do

Remove the This command is based on a SharePoint API that is currently in preview and is subject to change once the API reached general availability. warning from the docs.

Command docs:

  • spo site hubsite connect
  • spo site hubsite disconnect
  • spo site hubsite theme sync
  • spo hubsite data get
  • spo hubsite rights grant
  • spo hubsite rights revoke
  • spo hubsite set

Apart from that, some command docs have an important admonition in their docs saying To use this command you have to have permissions to access the tenant admin site.
This description is quite vague in my opinion. Let's change this to To use this command you must be a Global or SharePoint administrator.

Let's:

  • Rename the message in the important admonition so the exact roles are displayed. (To use this command you must be a Global or SharePoint administrator.)
  • Make sure that this important admonition is under the Remarks section and not the Options section.

Command docs to update:

  • spo hubsite rights grant
  • spo hubsite rights revoke
  • spo hubsite set

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions