Why do I get an error message when I try to modify the member hosts of a resource group?

You cannot modify the host members of a resource group if the hosts are currently running work. To avoid this error, disable applications running work on the hosts you want to add or remove before making changes to the resource group.