You can write your own scripts to do the job via Microsoft EntraID Rest API (https://learn.microsoft.com/en-us/graph/api/group-update?view=graph-rest-1.0&tabs=http) and Google Workspace Admin API (https://developers.google.com/admin-sdk/directory/reference/rest/v1/groups/update) or use synkto saas service.