Assigning Phone Numbers to User Accounts
OstatnimThe krokiemfinal konfiguracjistep usługiin configuring Numer w Teams service is connecting users to the phone numbers provided by T-Mobile. jestAssigning połączenienumbers użytkownikówto za numeramispecific nadanymiuser przezor multiple users is done using commands executed in PowerShell.
Single User Configuration
Run the following command, changing T-Mobile. uzytkownik@domenafirmowa.plPrzypisanie numerówto konkretnemuthe użytkownikowiusername lubof wieluthe użytkownikomuser wykonujewho sięshould zabe pomocąassigned poleceńthe wykonanychphone wnumber programieprovided by PowerShell.
Konfiguracja pojedynczego użytkownika
Wykonaj poniższe polecenie, zmieniając uzytkownik@domenafirmowa.pl na nazwę użytkownika, któremu ma zostać przypisany numer telefoniczny nadany przez T-Mobile, którywhich powinieneśyou wstawićshould winsert miejscein place of +48000000000.
Set-CsPhoneNumberAssignment -Identity uzytkownik@domenafirmowa.pl -PhoneNumber +48000000000 -PhoneNumberType DirectRouting
KonfiguracjaMultiple wieluUsers użytkowników Configuration
AbyTo skonfigurowaćconfigure wielumultiple użytkownikówusers narazat once ,przygotuj plikprepare a CSV file (plikcomma-separated tekstowyvalue ztext wartościamifile) rozdzielonymicontaining przecinkami)the zawierającyuser nazwynames użytkownikówand iphone numerynumbers telefonów,you którewant chceszto imassign przypisać.to Plikthem. powinienThe byćfile utworzonyshould wedługbe wzorucreated poniżej.
according to the format below.
Email,Phone
uzytkownika@domenafirmowa.pl,+48000000000
uzytkownika@domenafirmowa.pl,+48000000000
uzytkownika@domenafirmowa.pl,+48000000000
WReplace miejsca uzytkownik@domenafirmowa.pl wprowadźwith nazwythe użytkowników,actual którymusernames mająof zostaćthe przypisaneusers numeryyou telefonicznewant nadaneto przezassign T-Mobile.phone Numerynumbers wstawto. w miejsceReplace +48000000000. with the corresponding T-Mobile phone numbers.Jeżeli chceszAdd skonfigurowaćmore więcejrows użytkowników,to dodajthe ichfile dofollowing plikuthe wedługsame wzoruformat powyżej,for możeszeach takadditional skonfigurowaćuser ichyou dowolnąwant ilość.to configure.
GotowyFinished plikfile powinienshould wyglądaćlook taklike jak ten poniżej.
this:
PrzedBefore zapisaniemsaving gothe upewnijfile, się,make żesure numerythat telefonówthe wphone plikunumbers mająhave prawidłowythe format,correct czyliformat. naThe początkunumber znakshould +,start with a potem"+" sign followed by 11 cyfrdigits, rozpoczynającychstarting sięwith od48. 48,An np.:example number is: +48123456789. 48123456789.
ZapiszSave go,the nadającfile muwith nazwęthe name Voice.CSV (Voice (Voiceis tothe nazwafilename pliku,and CSV tois rozszerzenie)the file extension).
NastępnieNext, otwórzopen lokalizacjęthe pliku,file naciśnijlocation, naright-click niegoon prawymthe przyciskiemfile, myszy,select wybierzProperties właściwościand icopy skopiujthe lokalizacjęfile pliku.location.
In the following command, replace W poniższym poleceniu zamień C:\Users\<file path> with the value you copied earlier. Then, execute it in PowerShell.na skopiowaną wcześniej wartość. Następnie wykonaj je w programie PowerShell.
$teams = Import-Csv C:\Users\<file path>\Voice.csv
foreach ($team in $teams)
{
Set-CsPhoneNumberAssignment -Identity $team.email -PhoneNumber $team.phone -PhoneNumberType DirectRouting
}
PoOnce zakończeniuthe konfiguracjiconfiguration możliweis jestcomplete, przetestowanieit działaniais połączeńpossible telefonicznychto wmake aplikacjiphone calls in the MS TeamsTeams. Wapplication. tymTo celudo zalogujthis, sięlog nainto kontothe użytkownika,account któremuof przpisałeśa numeruser ito mawhom licencjęyou have assigned a phone number and who has a license with the E5 lub E1/E3 + Teams Phone. add-on.



