Hi dear
I'm trying to move some users from island mode to TeamsOnly mode in my organization but I'm not getting it, the error message when I run the script below is:

Cannot validate argument on parameter 'Identity'. The argument is null or empty. Provide an argument that is not null
or empty, and then try the command again.
+ CategoryInfo : InvalidData: (:) [Grant-CsTeamsUpgradePolicy], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Rtc.Management.AD.Cmdlets.AssignCSTeamsUpgrad
ePolicyCmdlet
+ PSComputerName : api.interfaces.records.teams.microsoft.com
Here's the script I'm trying to run:
$Users = Import-Csv -Path c:tempusers.csv
foreach($User in $Users)
{
Grant-CsTeamsUpgradePolicy -Identity $User.SipAddress -PolicyName UpgradeToTeams
}
Would anyone have an idea how I can perform the procedure? I've searched the web but i've had no evolution.
Thank you


