Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

$USER = "user@domain.tld"
$DID = "+1234567890"
$VoicePolicy = "VP_SANSAY1"
Set-CsPhoneNumberAssignment -Identity $USER -PhoneNumber $DID -PhoneNumberType DirectRouting
Grant-CsTeamsSharedCallingRoutingPolicy CsOnlineVoiceRoutingPolicy -Identity $USER -PolicyName $VoicePolicy

...