

# Installing AWS Payments Manager in Microsoft Teams

Your Microsoft Teams administrator installs AWS Payments Manager in Microsoft Teams so that authorized users in your organization can use it, and updates it to new versions.

## Prerequisites
<a name="install-teams-app-prerequisites"></a>

Verify that you have the following in place:
+ **The app package.** The app package that you download from the integration page. See [Enabling AWS Payments Manager for an AWS account](enable-account.md).
+ **Microsoft administrator roles.** A Microsoft Entra account with an administrator role that can upload apps and grant consent. See [Microsoft roles](#microsoft-roles).

## Installing the app in the Teams admin center
<a name="installing-in-teams-admin-center"></a>

Do these steps in the [Teams admin center](https://admin.teams.microsoft.com/policies/manage-apps) on the Microsoft website.

### Step 1: Upload the app
<a name="step-1-upload-the-app"></a>

1. In the Teams admin center, choose **Manage apps**.

1. On the **Manage apps** page, upload the app package.

The uploaded app is available to people in your organization after a few hours. For Microsoft's steps, see [Upload a custom app using Teams admin center](https://learn.microsoft.com/en-us/microsoftteams/teams-custom-app-policies-and-settings#upload-a-custom-app-using-teams-admin-center) on the Microsoft Learn website.

### Step 2: Grant consent for the app's permissions
<a name="step-2-grant-consent"></a>

1. In **Manage apps**, open the app.

1. On the **Permissions** tab, review the permissions and grant consent for your organization.

The app package requests the Teams permissions `TeamsActivity.Send.User`, `TeamsActivity.Send.Group`, and `TeamsActivity.Send.Chat`. Granting consent requires the Cloud Application Administrator or Global Administrator role in Microsoft Entra.

For Microsoft's steps, see [Grant org-wide admin consent to an app's permissions](https://learn.microsoft.com/en-us/microsoftteams/manage-consent-app-permissions#grant-org-wide-admin-consent-to-an-apps-permissions) and [Resource-specific consent](https://learn.microsoft.com/en-us/microsoftteams/platform/graph-api/rsc/resource-specific-consent) on the Microsoft Learn website.

### Step 3: Control who can see the app
<a name="step-3-control-visibility"></a>

1. In **Manage apps**, open the app.

1. On the **Users and groups** tab, choose who in your organization can see the app in the Teams app store.

For Microsoft's steps, see [App centric management](https://learn.microsoft.com/en-us/microsoftteams/app-centric-management) on the Microsoft Learn website.

## Microsoft roles
<a name="microsoft-roles"></a>

Connecting Microsoft and installing the app need roles in your company's Microsoft Entra directory. Your IT team manages them.


| Task | Microsoft role | 
| --- | --- | 
| Approve the connection in the AWS console ([Step 3: Connect with Microsoft](enable-account.md#step-3-connect-with-microsoft)) | Cloud Application Administrator or Global Administrator | 
| Upload the app and control who can see it in the Teams admin center | Cloud Application Administrator, Teams Administrator, or Global Administrator | 
| Grant consent for the app's permissions in the Teams admin center | Cloud Application Administrator or Global Administrator | 

For what each role can do, see [Microsoft Entra built-in roles](https://learn.microsoft.com/en-us/entra/identity/role-based-access-control/permissions-reference) and [Teams administrator roles](https://learn.microsoft.com/en-us/microsoftteams/using-admin-roles) on the Microsoft Learn website.

## Updating to a new version
<a name="updating-to-a-new-version"></a>

1. Download the new app package from the integration page.

1. In **Manage apps**, open the app and upload the new package.

1. If the new version adds permissions that need admin consent, grant consent again.

Existing policies stay in effect for the new version. See [Update a custom app using Teams admin center](https://learn.microsoft.com/en-us/microsoftteams/teams-custom-app-policies-and-settings#update-a-custom-app-using-teams-admin-center) on the Microsoft Learn website.

## Troubleshooting the Teams app installation
<a name="install-teams-app-troubleshooting"></a>

The following table lists common issues and how to fix them.


| Symptom | Cause | Fix | 
| --- | --- | --- | 
| The app doesn't appear in Teams | Microsoft changes take time to reach people, the app isn't installed or available for the person, or they aren't an authorized user | An uploaded app can take a few hours to appear, and changes to who it's available to up to 24 hours. Check who the app is installed for in Manage apps, and the authorized users in the AWS console | 
| People see "not authorized" in the app | The person isn't an authorized user for any AWS account, or the integration was disabled or deleted | Check the integration and Authorized users in the AWS console | 
| People can't use the app after you upload a new version | The new version asks for permissions that need admin consent | Grant consent again | 

## Next steps
<a name="install-teams-app-next-steps"></a>

After the app is installed, authorized users can open it in Microsoft Teams and start working with their payment information. See [Using AWS Payments Manager](using-payments-manager.md).