I'm trying to bulk move users from one group to another in a SharePoint online group. I ran this script:
And it moved only users that have O365 licenses. When it tried to move the other users, I got this error:
Am I only able to move users that have licensed accounts? Or is there something that I'm missing in the script? For what it's worth, I'm working inside of a GCC High tenant.
Any insight would be helpful!

