Microsoft Dynamics GP supports the use of both Active Directory Groups and Users as approvers, but there is a minor catch in the creation of groups which it is easy to stumble over. If you create the group as usual via the Active Directory Users and Computers applet you set a Group name and Group name (pre-Windows 2000):
![Active Directory Users and Computers - New Object Group Active Directory Users and Computers - New Object Group](https://static.azurecurve.co.uk/images/posts/2017/03/WorkflowSetDomainGroupDisplayName/WorkflowSetDomainGroupDisplayName_1.png)
However, if you try to perform a lookup in the Workflow User Selection to select an approver, you will get a result of No results found:
The reason for this, is that the AD Group needs to have a Display name set and this is not available via the New Object Group or the Properties window.
Instead, you need to enable the Advanced Features in the Active Directory Users and Computers window by clicking on the View menu and then clicking Advanced Features:
Right click on the Group which needs a Display Name and click Properties:
Click the Attribute Editor tab and then select the displayName attribute and click Edit:
![Group Properties Group Properties](https://static.azurecurve.co.uk/images/posts/2017/03/WorkflowSetDomainGroupDisplayName/WorkflowSetDomainGroupDisplayName_5.png)
Enter the display name in the Value field and click OK:
![String Attribute Editor String Attribute Editor](https://static.azurecurve.co.uk/images/posts/2017/03/WorkflowSetDomainGroupDisplayName/WorkflowSetDomainGroupDisplayName_6.png)
Click OK to save the change:
![Group Properties Group Properties](https://static.azurecurve.co.uk/images/posts/2017/03/WorkflowSetDomainGroupDisplayName/WorkflowSetDomainGroupDisplayName_7.png)
Now when you do a lookup for the group in Workflow User Selection the group being searched for is correctly returned:
What should we write about next?
If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.
5 thoughts on “Workflow 2.0 Requires Display Names for AD Groups Used as Approver”