Skip to content

Enhancement: spo term group add - Allow adding a site-level term group or a tenant-level term group without SPO Admin privileges #4838

@martinlingstuyl

Description

@martinlingstuyl

Currently spo term group add can only be run on the Global Termstore on tenant level.

This has the following consequence:
You need the SPO administrator role to run this command. You cannot add term groups as a taxonomy administrator without the SPO administrator role.

I propose fixing this.

Options

Option Description
-u, --webUrl [webUrl] If specified, allows you to add a term group to the tenant term store as a term store administrator without the SharePoint administrator role.

Remarks

To use this command without the --webUrl option you have to have permissions to access the tenant admin site.

When using the --webUrl option you can connect to the term store with limited permissions, and do not need the SharePoint Adminstrator role. It allows you to add a term group to the tenant term store if you are listed as a term store administrator.

This command does not create a sitecollection specific term store/group when using the --webUrl option.

Additional remarks

The webUrl option (if used) can be swapped in instead of the currently used spoAdminUrl to achieve the desired result.
Some research still needed to add a term group to the sitecollection specific term store.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions