Steve Posted March 4, 2020 Report Share Posted March 4, 2020 There is no ability to query whether a security group exists in PasswordState. This makes it difficult to determine whether one needs to be added or not. Since the current Add Security Group causes duplicates, it is even more useful for such a call to exist, to stop this occuring Link to comment Share on other sites More sharing options...
Mordecai Posted April 24, 2020 Report Share Posted April 24, 2020 +1 Link to comment Share on other sites More sharing options...
Mordecai Posted May 5, 2020 Report Share Posted May 5, 2020 With regard to this topic, two small things would be useful: Sync of description will not happen if the Active Directory Security Group will be imported when using the API. If i import the group manually through the web gui, the AD Group description will be imported. The description should also be imported when using the API. @Steve As workaround you can query the Report with ReportID 40 (What security groups exist, and who are their members?). If the group exists, you do not need to execute the request to the api for creating a AD Security Group. Add your SiteID or Remove the parameter from the below url. $PasswordstateUrl = "https://passwordstate/winapi/reporting/40?SiteID=<SiteID>" $result = Invoke-RestMethod -Uri $PasswordstateUrl -Method GET -UseDefaultCredentials Write-Host $result BUT it would be nice, if the API could refuse the import if the group name already exists. Link to comment Share on other sites More sharing options...
Burle Mickael Posted May 7, 2020 Report Share Posted May 7, 2020 +1 And good workaround Link to comment Share on other sites More sharing options...
support Posted May 8, 2020 Report Share Posted May 8, 2020 Hi Guys, We've completed this request for the next release, which should either be next week or the week after. Regards Click Studios Link to comment Share on other sites More sharing options...
support Posted May 25, 2020 Report Share Posted May 25, 2020 Hi Guys, Just letting you know that we released build 8925 yesterday with this feature in it. Regards Click Studios Link to comment Share on other sites More sharing options...
Recommended Posts