yes you have to be grouped, I found that out, took me a week lol.

what I do when i have my priest follow my groups for lvling, I make a macro that targets whoever and cast whatever, example below

/targetexact Heyaz
/cast Renew

/targetexact Heyaz
/follow

doing it this way was the only way i got it to work.