-
Notifications
You must be signed in to change notification settings - Fork 314
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
Add commands for SharePoint Administrator management #5874
Comments
Good suggestion, it's something I've thought about in the past, but never had time to spec it out.
Any other thoughts @pnp/cli-for-microsoft-365-maintainers ? |
Isn't configuring a site collection admin different from configuring web role assignment, which would justify it being in a different place?
Do we need two different entry points for the API (tenant admin vs. site) or could we solve it with just one?
If I recall correctly, only one principal can be designated as a primary admin. This will get complicated if we allow specifying multiple principals. |
Yes, the place is justified indeed. But we can't do harm to put a remark in the docs guiding our users to the site collection admin command in my opinion.
Haven't checked it, but I'm afraid if you don't have permission to the site, you'll get a 404 response.
Yes, only 1 person can be the primary admin indeed. What do you suggest? |
We can go about it in a few ways:
Rationale:
1 seems like the best choice. Thoughts? |
Looks fine to me 👍 |
I'll start speccing out the issues tomorrow. Do we keep this as 'major' issue containing links to the separate issues or is this a bit overkill? |
I think it's a good idea 👍 Lets make this issue na |
spo site administrator add
and spo site administrator remove
Hi, to the list of commands, we can add a command |
Aim
The aim of this issue is to make it easier to add, list or remove SharePoint administrators.
Commands I would add
m365 spo site admin add
#5883m365 spo site admin list
#5882m365 spo site admin remove
#5884The text was updated successfully, but these errors were encountered: