[Active Directory] Error using ActiveDirectory_GetAccountGroups Action

[Active Directory] Error using ActiveDirectory_GetAccountGroups Action

  
Forge Component
(3)
Published on 2 Nov by Renato Pauleta
3 votes
Published on 2 Nov by Renato Pauleta
I am trying to get the currently assigned AD groups of the logged in user.  However, I always get this error:

[1] The server could not be contacted. at ssADSecurity.RssExtensionAuthentication.MssActiveDirectory_GetAccountGroups(HeContext heContext, String inParamAccount, RecordList& outParamGroups) at ssADSecurity.Flows.FlowCommon.ScrnMyInfo.Preparation(HeContext heContext) at ssADSecurity.Flows.FlowCommon.ScrnMyInfo.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

[2] The LDAP server is unavailable. at System.DirectoryServices.Protocols.LdapConnection.Connect() at System.DirectoryServices.Protocols.LdapConnection.SendRequestHelper(DirectoryRequest request, Int32& messageID) at System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request, TimeSpan requestTimeout) at System.DirectoryServices.AccountManagement.PrincipalContext.ReadServerConfig(String serverName, ServerProperties& properties)
All other Actions in this module seem to work.  I am able to verify AD groups, get account details, etc.
Note that we recently upgraded to 9.1.300 and we are using the 1.0.0 release of this extension.  I see that a new one that is in-development has been posted.  Is it stable enough and is it required to support the newer version of the platform?
The version shouldn't pose a problem. 
 
But the error you're posting is not from this component, it belongs to the "Authentication" extension packed with the Platform. This extension uses the configuration setting under "Users" (<server>/Users/ConfigureAuthentication.aspx) which should be set to "Active Directory" and the domain server needs to be provided.
 
If you do not require AD authentication then you can leave as it is and use the "AD_UserGetGroups" from the Active Directory extension.
 
If you have the configuration setting from Users properly set, that means you're able to login with an AD user and use the "Get_AccountDetails" action from the "Authentication" extension without issues and you should also be able to get info from the one you mention.
 
Renato Pauleta wrote:
The version shouldn't pose a problem. 
 
But the error you're posting is not from this component, it belongs to the "Authentication" extension packed with the Platform. This extension uses the configuration setting under "Users" (<server>/Users/ConfigureAuthentication.aspx) which should be set to "Active Directory" and the domain server needs to be provided.
 
If you do not require AD authentication then you can leave as it is and use the "AD_UserGetGroups" from the Active Directory extension.
 
If you have the configuration setting from Users properly set, that means you're able to login with an AD user and use the "Get_AccountDetails" action from the "Authentication" extension without issues and you should also be able to get info from the one you mention.
 
 
 Yes, everything else works from the Authentication extension, except for this action I am trying to call.  It worked prior to the 9.1.300 upgrade and is now failing.
You should submit the issue to support.