Copy-SPTaxonomyGroups command doesn't work
I am using the below command for hybrid taxonomy configuration :
$credential = Get-Credential
Copy-SPTaxonomyGroups -LocalTermStoreName "" -LocalSiteUrl "" -RemoteSiteUrl "SharePointOnlineSiteURL" -GroupNames "Group1","Group2" -Credential $credential
But getting the Copy-SPTaxonomyGroups : The remote server returned an error: (400) Bad Request.
I am global admin, MFA is not configured for this account am able to connect to the spo thru spo-connect but still getting this error.... the same way I have configured the hybrid search,onedrive it worked fine but here it is not working... anyone faced the same issue?