Thursday, April 21, 2016

Manual Connection Group Configuration


Use the following XML to generate the Connection Group definition XML file

<?xml version="1.0" encoding="UTF-8"?>
<AppConnectionGroup AppConnectionGroupId="06DACB3C-10E8-444F-A3FB-646F695BD21D" VersionId="5E9249E4-0D2C-4F8C-8BB2-708288294FD4" Priority="0" DisplayName="<NAME>" xmlns="http://schemas.microsoft.com/appv/2010/virtualapplicationconnectiongroup">
<Packages>
<Package PackageId="a3020438-47ff-4041-9c03-b78255c82c10" VersionId="5b2ba854-92d9-4c4b-b855-837748349f29">
</Package>
<Package PackageId="aaea7d7c-79e0-43f8-88eb-4ae8f6d0692e" VersionId="e3b074a5-51ff-4d4c-8dc0-6a15ad6a37e6">
</Package>
</Packages>
</AppConnectionGroup>


Add-AppvClientConnectionGroup -path <path to xml file>

Once the packages in the connection group are published, then the connection group can be enabled

Enable-AppvClientConnectionGroup <NAME> 


The following message can appear when a connection group in enabled
 
The application failed to launch.
This may be due to a network failure
 


This can be caused by the Advanced settings inside the packages not being the exactly the same. 

Connection Group Reference

See this article for the "Laws of Connection Groups"
http://virtualvibes.co.uk/advanced-connection-groups-the-sanity-check/ 

http://virtualvibes.co.uk/app-v-management-server-or-configuration-manager-2012-a-feature-comparison/


Config XML details
https://docs.microsoft.com/en-us/microsoft-desktop-optimization-pack/appv-v5/about-the-connection-group-file