---
title: Salesforce Phone System setup for MS Teams
slug: voice-german/salesforce-phone-system-setup-for-ms-teams
docTags: 
createdAt: 2024-03-19T15:25:55.011Z
---

The Phone System setup requires the values configured in the Teams Admin Center or Azure.

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/mirageconnect-teamssetup-mod.png)

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/queue-sfconfig.png)

## General Configuration

### <u>Connection Status</u>

If the icon is not green, click on the **Edit** button (see below) and then on the button **Authorize**.

### <u>Authentication Type</u>

Must be: Login with Token

### <u>Active</u>

Must be checked if the MS Teams integration should be used

### <u>Show queues in Phone Book Search</u>

Search for call queues from the Phone Book Search in CTI Data Connector Soft Phone.

## Phone Book Search

A phone book directory is available for internal calls and call transfers. The default search uses **Salesforce users**, while the MS Teams integration offers a search in the **complete Office 365 tenant**.

It is recommended to activate this feature as internal calls are possible to users without a Salesforce license.

Show queues in Phone Book Search

## Phone System Setup

### <u>End Outbound Call - if not confirmed (s)</u>

In case of an outbound call: If a user does not click on the call icon in the Microsoft Teams App to start the call, the outbound call will be terminated after around the seconds specified here. The best value is 18s.

### <u>Phone Number for Shared Voicemail</u>

The phone number which was configured for the voicemail of a **group** in Microsoft Teams.

Go To Teams Admin Center - Voice - **Resource Accounts**

where you find the configured **Shared Voicemail**.

### <u>Default Outbound Resource Account ID</u>

The Object ID configured in Azure.

In Azure go to Home - **users** and select the display name from the resource account - e.g. Mirage MS Teams Call

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/azure-config-5-mod.png)

### <u>Default Resource Account Name</u>

The name which is used for the Bot in the phone call and should match the resource account name you used when the resource account was created.

Go To Teams Admin Center - Voice - **Resource Accounts**

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/azure-config-4.png)

I

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/teams-outbound2.png)

### <u>Default Resource Account Number</u>

The phone number from the resource account which is used for **outbound&#x20;**&#x63;alls.

Go To Teams Admin Center - Voice - **Resource Accounts**

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/azure-config-4.png)

### <u>Do not show main number</u>

If activated, it will hide the Main Number option from the dropdown.

::Image[]{src="https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/hide-main-number-in-softphone.png" size="48" width="588" height="768" position="center" showCaption="false"}

## Edit Button - Connect with Azure

You first need to fill out some required fields before you can Authorize with Office 365.

### <u>Client ID</u>

Add the **Application (client) ID**

Go to Home - Azure Active Directory - **App Registrations** and select the Mirage app

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/azure-config-1mod.png)

### <u>Client Secret</u>

Go to **Certificates & Secrets** where you find the generated key. You need the **value.**

The client secret is visible one time when the key was created.

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/azure-config-2.png)

### <u>Tenant ID</u>

Directory (tenant) ID

Go to Home - Azure Active Directory - **App Registrations** and select the Mirage app

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/azure-config-1mod.png)

### <u>Redirect URI</u>

This value is automatically generated.

Go to **Authentication** and **add** the URI

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/azure-config-3mod.png)

## Authorize

The authorization can only be done if your are MS Teams administrator.

After clicking on the button Authorize, you have to login with your Office 365 Admin credentials

::Image[]{src="https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/authorize1.png" size="84" width="1302" height="1170" position="center" showCaption="false"}

After the authorization was successful, click on **SAVE** button.

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/authorize2.png)

