Apply license and assign license packages to Agents