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
Connect and disconnect hub site as SP admin #5970
Comments
Great suggestion. I don't see any risks or problems. Let's ship it |
Hey I would like to work on this! |
Cool thank you @ADTmux! |
Hey @milanholemans , is there a way I could test |
@ADTmux, if you don't have access to any kind of dev tenant then I'm afraid you won't be able to test the command. Admin rights are required especially when working with the |
Currently, we have 2 commands
spo site hubsite connect
andspo hubsite disconnect
. Right now, you need permission to the target site in order to run this command. I suggest we add an extra flag for these two commands:--asAdmin
Endpoint
The following endpoint should do the trick:
To disconnect a site, use the same request with
00000000-0000-0000-0000-000000000000
as hub site ID.The text was updated successfully, but these errors were encountered: