> For the complete documentation index, see [llms.txt](https://cc.docs.landis.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cc.docs.landis.cloud/setup/set-up-voice-channel/set-up-queue-or-ivr-resource-account/automated-setup.md).

# Option 2: Contact Center (Preview)

**This feature is in** [**Preview**](/appendix/feature-states.md)**.**

{% hint style="warning" %}
Prerequisites:&#x20;

Teams API service account configured. See [Teams API Service Account](/appendix/teams-api-service-account.md)

Teams Config API permissions granted. See [Settings](/administration/settings.md#general)
{% endhint %}

1. Navigate to Queues & IVRs | Connectors | Resource accounts | Add.&#x20;
2. Enter a resource account display name. &#x20;
3. Select the Interaction Object (Queue or IVR) that should be associated with the resource account.&#x20;
4. Enter a unique user principal name.
5. Select button Sync to Teams. This will create the resource account in Teams. If the account creation was successful, the Object ID field should be automatically populated with a GUID.
6. Verify a Microsoft Teams Phone Resource Account license is available in the Microsoft 365 admin portal. Select button Assign Phone System License.&#x20;

{% hint style="info" %}
After a Microsoft Teams Phone Resource Account license is assigned to the resource account, some provisioning time will be needed until a phone number can be granted.
{% endhint %}

7. (Optional) Enter an available phone number in E.164 format in the phone number field.
8. From the Phone Number Type dropdown, select the type of number assigned in step 7.
9. Select Set Phone Number Button. If an error message appears, wait a few minutes and try again.
10. Select Save.
11. Connect to Teams PowerShell | Run the following commands:

```
$Instance = Get-CsOnlineApplicationInstance -Identity "Resource Account Username"
Sync-CsOnlineApplicationInstance -ObjectId $Instance.ObjectId -ApplicationId $Instance.ApplicationId
$Instance.ObjectId
```

*Note: Replace "Resource Account Username" in the above command with the UPN of the resource account in step 4.*

{% hint style="warning" %}
Changes made to resource accounts in the Teams admin center or PowerShell will not be synced to Contact Center. The changes will need to be manually updated in Contact Center.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cc.docs.landis.cloud/setup/set-up-voice-channel/set-up-queue-or-ivr-resource-account/automated-setup.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
