EasyUC for Microsoft Teams
Create and manage a Teams tenant
Connect a Microsoft Teams tenant to the SBC with its own hostname, TLS port and certificate.
In EasyUC: EasyUC Teams → Teams → Teams Tenants → Add tenant
Images come from the EasyUC lab. Names and example values provide orientation. A different interface language is indicated beside the relevant image.
What it is for
A tenant in EasyUC stands for exactly one Microsoft Teams tenant, that is, one customer organisation in Microsoft 365. Each tenant gets its own public hostname, its own TLS port and its own certificate. This lets you connect several customers through the same SBC without their trunks touching each other.
The tenant page is the central place for everything else: certificate, Microsoft Graph access, sign-in to Teams PowerShell, trunk and voice routes, users, phones, number plan, call history, recordings and captures.
The hostname must belong to a domain that is verified in the customer’s Microsoft 365 tenant. Microsoft rejects a PSTN gateway under a foreign domain.
Prerequisites
- Licence module
teams. Without this module the EasyUC Teams workspace does not appear. - Role EasyUC Teams (
ROLE_APP_TEAMS_WORKSPACE) with the sub-permissions TENANTS (ROLE_APP_TEAMS_TENANTS) to read and TENANTS bearbeiten (ROLE_APP_TEAMS_TENANTS_EDIT) to change. - The integrated SBC is enabled and has a public IP (chapter “Enable the Teams SBC and set the network details”).
- A full hostname for the tenant, for example
sbc.kunde.de, with a public DNS A record pointing to the public IP of the SBC. - The domain of the hostname is verified in the customer’s Microsoft 365 tenant. For
sbc.kunde.de,kunde.demust be registered there. - The customer’s directory (tenant) ID from Microsoft Entra, as soon as you want to use Graph or the app sign-in.
Step by step: Create a tenant
Step by step: Change tenant settings
Step by step: Connect further tenants or delete a tenant
Fields and options
| Field / action | Meaning and use |
|---|---|
| Customer name | Display name of the tenant in EasyUC. Mandatory. |
| SBC hostname | Full public name at which Microsoft reaches this tenant’s trunk. The certificate is issued for this name. A change requests a new certificate. |
| Directory (tenant) ID | GUID of the Microsoft tenant. Optional when creating; required for Microsoft Graph, the app sign-in and the Teams sign-in at the attendant console. |
| TLS port | SIP port of this tenant. EasyUC assigns it on creation. Each port is assigned only once. |
| Route calls to | Legacy field. It is no longer used for routing. Which number leads to which script is set in the script. |
| Trunk active | Without the tick the tenant is switched off. The list then shows disabled, calls do not arrive and no certificate is renewed automatically. |
| Save the SIP flow of every call | Stores every SIP message of a call, without OPTIONS. Each call can then be opened as a ladder diagram, live or afterwards. Default: on. |
| Keep call history (days) | 1 to 365, default 14. Calls and their SIP flow are deleted after this time. |
| Scripts over this trunk | List of all scripts for which Reachable via MS Teams is switched on with this tenant, with number and status: Reachable, Script switched off, Number already used by another script or Number invalid. Clicking the row opens the script. |
| Tenant bar | Sections of the tenant: Settings, Presence sync, Presence Live, Show calls, Call history, SIP log, Users, Phones, Number plan, Recordings, Captures. |
| Header | Shows hostname with port, certificate state, Last OPTIONS and running Calls. The buttons start the SIP trace, the network capture and call recording. |
Check the result and narrow down errors
- Success: the tenant is in the list with hostname and port. The Certificate and Trunk columns show the state, at first without a certificate and without OPTIONS.
- “The integrated SBC is not enabled yet.” Click Set it up first and enable the SBC.
- „Bitte den vollständigen Hostnamen des Tenants angeben, zum Beispiel sbc.kunde.de“ or „Der Hostname ist ungültig. Erwartet wird ein vollständiger Name wie sbc.kunde.de“. Enter the whole name, not a short label.
- „Die Verzeichnis-ID (Tenant-ID) muss eine GUID sein.“ Copy the ID from the overview in Microsoft Entra. Do not confuse it with the application ID.
- „Der TLS-Port … ist bereits vergeben.“ Choose another port.
- „Der TLS-Port … ist intern belegt (…). Bitte einen anderen Port wählen, üblich ist 5061.“ The port belongs to an internal service.
- „Die Aufbewahrung des Anrufverlaufs muss 1 bis 365 Tage betragen.“ Correct the value.
- The tenant stays without a trunk as long as the certificate is missing. The SBC opens a tenant’s TLS port only when the public IP is set, the certificate is issued and the tenant is active.