Open milanholemans opened 7 months ago
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 spo site hubsite connect
command if I do not have a Microsoft account that has admin permissions for my organization?
@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 SPO.Tenant
endpoint.
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.