Numer w Teams - ENG
- Launching the Numer w Teams
- Adding a New Domain to the Microsoft 365 Admin Center
- Creating a user for integration with the telephony network
- Teams Voice Services Configuration
- Assigning Phone Numbers to User Accounts
- Additional configuration of the Numer w Teams service
- Adding numbers to an already configured Numer w Teams service
- Changing the number assigned to a user in the Numer w Teams service
- Microsoft Teams Operator Connect
- Microsoft Teams Operator Connect
Launching the Numer w Teams
Adding a New Domain to the Microsoft 365 Admin Center
T-Mobile has assigned your company a domain in the following format. You can find your individual number in the Order section of your contract:
This domain will be used for voice communication in MS Teams. You need to add this domain to the Admin Center panel of your organization on the Microsoft 365 portal.
1. Once you have logged in, go to: Settings > Domains > Add domain. Enter the domain assigned to your company by T-Mobile and click Use this domain.
2. Verify the domain, by selecting: Add a TXT record to the domain's DNS records.
Click Continue to generate a TXT record to verify domain ownership.
3. The DNS record information will be displayed.
Make sure to leave the Microsoft Admin Panel open in your browser and email the following address: uc@t-mobile.pl. For the subject line, use "Autoryzacja domeny". In the body of the email, type the value of the TXT record, for example, "MS=ms74966152".
Once you receive a confirmation message from T-Mobile that the record has been created on the DNS servers, you can move on to the next step.
4. Now, return to the Microsoft Admin Panel page and verify the domain by clicking the Verify button.
If the following message appears after verification, wait about 10 minutes and try again. If the verification fails again, wait an hour and try again.
5. After verifying the TXT record, you will be asked "How do you want to connect your domain?". Select More options.
6. Then, select Skip and do this later (not recommended) and then click Continue.
7. When the domain setup is complete, click Done.
8. Once the domain setup is complete, go to Settings > Domains. The correct value in the Status column is "No service selected". This means that the domain has been configured correctly.
Now you can proceed to the next instruction.
Creating a user for integration with the telephony network
To integrate a tenant with the T-Mobile network, you need to create a user and assign them a license with the Teams Phone add-on. After the integration work is complete, this user can be deleted. This will allow you to recover the license.
2. Select Add a user.
3. Fill in the user's information and select the password settings. Enter the domain that was assigned to your company by T-Mobile, for example: T10012345.teams.t-mobile.pl.
4. Assign the user a license that includes Microsoft Teams. For example:
- Microsoft 365 E5,
- M365 Business Basic,
- M365 Business Standard.
5. Follow the next steps until the user creation is complete.
Once you have finished adding the user, you can proceed to the next instruction.
Teams Voice Services Configuration
The configuration will be performed in Windows PowerShell.
You should have the .NET Framework add-on version 4.7.2 or later installed on your computer. If you don't have it, click the following link and install it: https://docs.microsoft.com/en-us/dotnet/framework/install/
Starting PowerShell
Checking the version of PowerShell
To make sure that you will be able to execute the commands described in the following sections, check the version of the PowerShell. Open PowerShell and enter the following command:
$PSVersionTable.PSVersion
The PowerShell application should have version 5.1 (Major: 5, Minor: 1) or higher. If it is lower, update PowerShell according to the instructions on the following page:
If the version information does not appear after issuing the $PSVersionTable.PSVersion command, use the following command:
$host.Version.
Installing required modules
Install the required modules to properly configure the service. Individually copy the following commands highlighted in blue, paste them into PowerShell and execute by pressing Enter.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Register-PSRepository -Default
Install-Module -Name PowerShellGet -Force -AllowClobber
Install-Module -Name MicrosoftTeams -Force -AllowClobber
Update-Module MicrosoftTeams
Set-ExecutionPolicy RemoteSigned
Import-Module -Name MicrosoftTeams
Set-ExecutionPolicy Restricted
Logging in to the tenant in the MS Teams organization
Copy the following command, paste it into the PowerShell and execute by pressing Enter.
Connect-MicrosoftTeams
Log in with a user account with administrator privileges in the tenant. The account with administrator privileges is the one used to create the new domain in the Adding a New Domain to the Microsoft 365 Administration Center instructions.
Configuring routing for phone calls
Individually copy the following commands highlighted in blue, paste them into PowerShell and execute by pressing Enter.
Set-CsOnlinePstnUsage -Identity Global -Usage @{Add="TMobileRouting"}
Set-CsOnlineVoiceRoutingPolicy -Identity Global -OnlinePSTNUsages "TMobileRouting"
In the last command, the domain T10012345.teams.t-mobile.pl should be replaced with the one that was assigned by T-Mobile.
New-CsOnlineVoiceRoute -Identity "TMobileRouting“ -NumberPattern ".*" -OnlinePstnGatewayList T10012345.teams.t-mobile.pl -Priority 1 -OnlinePstnUsages "TMobileRouting"
Do not close PowerShell it will be needed in the next instruction.
After successfully executing this command, you can proceed to the next instruction.
Assigning Phone Numbers to User Accounts
The final step in configuring Numer w Teams service is connecting users to the phone numbers provided by T-Mobile. Assigning numbers to a specific user or multiple users is done using commands executed in PowerShell.
Single User Configuration
Run the following command, changing uzytkownik@domenafirmowa.pl to the username of the user who should be assigned the phone number provided by T-Mobile, which you should insert in place of +48000000000.
Set-CsPhoneNumberAssignment -Identity uzytkownik@domenafirmowa.pl -PhoneNumber +48000000000 -PhoneNumberType DirectRouting
Multiple Users Configuration
To configure multiple users at once , prepare a CSV file (comma-separated value text file) containing the user names and phone numbers you want to assign to them. The file should be created according to the format below.
Email,Phone
uzytkownika@domenafirmowa.pl,+48000000000
uzytkownika@domenafirmowa.pl,+48000000000
uzytkownika@domenafirmowa.pl,+48000000000
Replace uzytkownik@domenafirmowa.pl with the actual usernames of the users you want to assign phone numbers to. Replace +48000000000 with the corresponding T-Mobile phone numbers. Add more rows to the file following the same format for each additional user you want to configure.
Finished file should look like this:
Before saving the file, make sure that the phone numbers have the correct format. The number should start with a "+" sign followed by 11 digits, starting with 48. An example number is: +48123456789.
Save the file with the name Voice.CSV (Voice is the filename and CSV is the file extension).
Next, open the file location, right-click on the file, select Properties and copy the file location.
In the following command, replace C:\Users\<file path> with the value you copied earlier. Then, execute it in PowerShell.
$teams = Import-Csv C:\Users\<file path>\Voice.csv
foreach ($team in $teams)
{
Set-CsPhoneNumberAssignment -Identity $team.email -PhoneNumber $team.phone -PhoneNumberType DirectRouting
}
Once the configuration is complete, it is possible to make phone calls in the MS Teams application. To do this, log into the account of a user to whom you have assigned a phone number and who has a license with the Teams Phone add-on.
Additional configuration of the Numer w Teams service
Adding numbers to an already configured Numer w Teams service
Assigning new numbers to users for an already activated Numer w Teams service.
2. To make sure that you will be able to execute the commands described in the following sections, check the version of the PowerShell. Open PowerShell and enter one of the two following commands.
$PSVersionTable.PSVersion
$host.Version.
The PowerShell application should have version 5.1 (Major: 5, Minor: 1) or higher. If it is lower, update PowerShell according to the instructions on the following page:
3. Installation of the MicrosoftTeams module is required to correctly configure the service. One by one, copy the following commands highlighted in blue, paste them into PowerShell and execute by pressing Enter.
Set-ExecutionPolicy RemoteSigned
Confirm the execution of the above command by selecting Y and pressing enter. Then execute the following commands.
Import-Module -Name MicrosoftTeams
Set-ExecutionPolicy Restricted
Confirm the execution of the above command by selecting Y and pressing enter.
4. Log in with a user account with administrator privileges in the tenant. The account with administrator privileges is the one used to create the new domain in the Adding a New Domain to the Microsoft 365 Administration Center instructions. Start with following command.
Connect-MicrosoftTeams
Enter e-mail address in the login window.
Next, enter your password.
Once you have successfully logged in, you will see your email address and tenant details.
5. The final step in configuring Numer w Teams service is connecting users to the phone numbers provided by T-Mobile. Assigning numbers to a specific user or multiple users is done using commands executed in PowerShell.
Single User Configuration
Run the following command, changing uzytkownik@domenafirmowa.pl to the username of the user who should be assigned the phone number provided by T-Mobile, which you should insert in place of +48000000000.
Set-CsPhoneNumberAssignment -Identity uzytkownik@domenafirmowa.pl -PhoneNumber +48000000000 -PhoneNumberType DirectRouting
Multiple Users Configuration
To configure multiple users at once , prepare a CSV file (comma-separated value text file) containing the user names and phone numbers you want to assign to them. The file should be created according to the format below.
Email,Phone
uzytkownika@domenafirmowa.pl,+48000000000
uzytkownika@domenafirmowa.pl,+48000000000
uzytkownika@domenafirmowa.pl,+48000000000
Replace uzytkownik@domenafirmowa.pl with the actual usernames of the users you want to assign phone numbers to. Replace +48000000000 with the corresponding T-Mobile phone numbers. Add more rows to the file following the same format for each additional user you want to configure.
Finished file should look like this:
Before saving the file, make sure that the phone numbers have the correct format. The number should start with a "+" sign followed by 11 digits, starting with 48. An example number is: +48123456789.
Save the file with the name Voice.CSV (Voice is the filename and CSV is the file extension).
Next, open the file location, right-click on the file, select Properties and copy the file location.
In the following command, replace C:\Users\<file path> with the value you copied earlier. Then, execute it in PowerShell.
$teams = Import-Csv C:\Users\<file path>\Voice.csv
foreach ($team in $teams)
{
Set-CsPhoneNumberAssignment -Identity $team.email -PhoneNumber $team.phone -PhoneNumberType DirectRouting
}
Once the configuration is complete, it is possible to make phone calls in the MS Teams application. To do this, log into the account of a user to whom you have assigned a phone number and who has a license with the Teams Phone add-on.
Changing the number assigned to a user in the Numer w Teams service
Disconnecting a number and assigning it to a new user in the Numer w Teams service.
2. To make sure that you will be able to execute the commands described in the following sections, check the version of the PowerShell. Open PowerShell and enter one of the two following commands.
$PSVersionTable.PSVersion
$host.Version.
Aplikacja PowerShell powinna mieć wersję 5.1 (Major: 5, Minor: 1) lub wyższą. Jeżeli jest niższa, zaktualizuj ją zgodnie z instrukcją z poniższej strony:
3. Installation of the MicrosoftTeams module is required to correctly configure the service. One by one, copy the following commands highlighted in blue, paste them into PowerShell and execute by pressing Enter.
Set-ExecutionPolicy RemoteSigned
Confirm the execution of the above command by selecting Y and pressing enter. Then execute the following commands.
Import-Module -Name MicrosoftTeams
Set-ExecutionPolicy Restricted
Confirm the execution of the above command by selecting Y and pressing enter.
4. Log in with a user account with administrator privileges in the tenant. The account with administrator privileges is the one used to create the new domain in the Adding a New Domain to the Microsoft 365 Administration Center instructions. Start with following command.
Connect-MicrosoftTeams
Enter e-mail address in the login window.
Next, enter your password.
Once you have successfully logged in, you will see your email address and tenant details.
5. Disconnect the number and the user by executing the following command. Change uzytkownik@domenafirmowa.pl to the username of the user who should be disconnected from the phone number provided by T-Mobile, which you should insert in place of +48000000000.
Remove-CsPhoneNumberAssignment -Identity uzytkownik@domenafirmowa.pl -PhoneNumber +48000000000 -PhoneNumberType DirectRouting
6. The final step in configuring Numer w Teams service is connecting users to the phone numbers provided by T-Mobile.
Run the following command, changing uzytkownik@domenafirmowa.pl to the username of the user who should be assigned the phone number provided by T-Mobile, which you should insert in place of +48000000000.
Set-CsPhoneNumberAssignment -Identity uzytkownik@domenafirmowa.pl -PhoneNumber +48000000000 -PhoneNumberType DirectRouting
Once the configuration is complete, it is possible to make phone calls in the MS Teams application. To do this, log into the account of a user to whom you have assigned a phone number and who has a license with the Teams Phone add-on.
Microsoft Teams Operator Connect
How to Order Microsoft Teams Operator Connect from T-Mobile
The process for ordering the Microsoft Teams Operator Connect service is described below. You will learn where and how to submit a form to express your interest in purchasing the service and provide us with the required information, when our sales representative will contact you, and how the service will be activated once the order has been finalized.
If you do not have Microsoft Teams and Microsoft Teams Phone Standard, visit our Microsoft 365 for Business - T-Mobile Business Poland website or contact your account manager.
To start the process, submit the form through the Microsoft Teams admin center.
Teams admin center
- Sign in with an administrator account to the Microsoft Teams admin center (Teams admin center): https://admin.teams.microsoft.com.
- In the left-hand menu, go to Voice.
- Then select Operator Connect.
- Select the All operators tab.
- Display the operators available in Poland.
- Find T-Mobile Polska in the list of operators and select it.
- Complete the information on the page:
- select the country where the service will be provided,
- select your organization size,
- complete the contact form,
- accept the privacy settings.
- Then submit the form by selecting Add as my operator.
After the form has been submitted, you will receive a confirmation email acknowledging receipt of your request. Then wait for T-Mobile to contact you.
Contact with T-Mobile
After the contact form has been submitted through the Microsoft Teams admin center, our sales representative will contact the person specified in the form. You will then receive our offer, after which the details of the agreement and service configuration will be determined. The key elements of this process will include:
- Assigning phone numbers from the T-Mobile number pool or porting them from another service or operator.
- Selecting a tariff for phone calls.
- Determining the service activation date, which depends on the number of phone numbers and whether they are being ported from another operator.
Service configuration
The service is activated automatically. The customer only needs to assign phone numbers to user accounts in Microsoft Teams. This process is completed in the Microsoft Teams admin center (Teams admin center) and is described in the following guide: Assigning phone numbers to Microsoft Teams user accounts.
Microsoft Teams Operator Connect
How to Order Microsoft Teams Operator Connect from T-Mobile
This guide explains how to order the Microsoft Teams Operator Connect service from T-Mobile. It describes how to submit the required form in the Microsoft Teams admin center, when a T-Mobile sales representative will contact you, and what happens after the order has been finalized.
Before you begin
Before ordering the service, make sure that your organization meets the following requirements:
- Users who will use the service have the required Microsoft Teams and Microsoft Teams Phone Standard licenses.
- The person completing the configuration has the appropriate administrator permissions to manage Teams Phone services.
If your organization does not yet use Microsoft Teams or does not have the required Microsoft Teams Phone Standard licenses, visit Microsoft 365 for business – T-Mobile Business Poland or contact your T-Mobile account manager.
Submit the request in the Microsoft Teams admin center
To start the ordering process, enable T-Mobile Polska as your Operator Connect provider in the Microsoft Teams admin center.
-
Sign in to the Microsoft Teams admin center using an account with the required administrator permissions:
-
In the left-hand navigation menu, go to Voice.
-
Select Operator Connect.
-
Open the All operators tab.
-
Filter the list to display operators available in Poland.
-
Find T-Mobile Polska on the list and select it.
-
Complete the operator settings and contact details:
- Select the country or region where the service will be provided.
- Select your company size.
- Review and complete the contact details that will be shared with T-Mobile Polska.
- Accept the data transfer and privacy notice.
The contact details provided in the form will be used by T-Mobile Polska to contact your organization about the Operator Connect service.
-
Select Add as my operator to submit the information and enable T-Mobile Polska as your Operator Connect provider.
After the form has been submitted, you will receive an email confirming that your request has been accepted. A T-Mobile representative will then contact the person whose details were provided in the form.
Contact from T-Mobile
After T-Mobile Polska has been added as your operator in the Microsoft Teams admin center, a T-Mobile sales representative will contact the person identified in the form.
During the contact, the representative will present the available offer and agree with you on the contract and service configuration. The main arrangements include:
- Telephone numbers – allocation of new telephone numbers from the T-Mobile number range, transfer of numbers from another T-Mobile service, or porting of numbers from another operator.
- Calling tariff – selection of the tariff that will apply to telephone calls.
- Service activation date – agreement on the expected activation date. The date depends on the number of telephone numbers and whether they are being ported from another operator.
Service activation and configuration
The connection between T-Mobile Polska and your Microsoft 365 organization is activated as part of the service implementation process. Once the telephone numbers have been made available by the operator, your administrator must assign them to the appropriate user accounts in the Microsoft Teams admin center.
Instructions for assigning telephone numbers are available on the following page:
Assigning telephone numbers to Microsoft Teams user accounts
Users must have the required Teams Phone licenses before telephone numbers can be assigned to them. Depending on your organization's configuration, additional settings, such as emergency addresses and calling policies, may also be required.