Hi @Spatel
There is no REST API to add users to groups on Confluence Server at least to my knowledge. However if you're Confluence Server, I believe you could easily do so with some SQL queries rather than write a whole script in powershell.
I do not have backend access unfortunately and that's the reason I would have to do only in Powershell if that's possible
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Take a look at the Bob Swift CLI for Confluence Add on. Might be easier then trying to write powershell to do it. (though I am biased since I am a linux user)
https://bobswift.atlassian.net/wiki/spaces/CSOAP/pages/1068174151/addUserToGroup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the Add on. But for now I would not prefer to go for any Add ON. Do you know how to do it from Powershell?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.