We are creating External AD groups in Octopus to restrict the access to our space.
It works fine when we grant access to an External AD Group that has a list of users, but when we grant access to an External AD group that has a list of AD groups it does not work.
Can we add an External AD Group that contains a list of AD Groups?
First call GetAuthorizationGroups as that does a recursive search and returns security groups only.
If GetAuthorizationGroups() fails (for a variety of reasons), then run GetGroups. The downside of GetGroups() is it only returns groups a user is a direct member of and includes distribution groups. Octopus Deploy ignores distribution groups.