View a markdown version of this page

Enabling AWS Payments Manager for an AWS account - AWS Payments Manager

Enabling AWS Payments Manager for an AWS account

With an integration, you connect an AWS account to Microsoft Teams, where your team uses AWS Payments Manager. You complete four steps: open the setup page, select the AWS Identity and Access Management role, connect with Microsoft, and add authorized users. Repeat the steps in each AWS account that you want to use with the app. Each AWS account can connect to one Microsoft Entra directory (tenant).

You need the administrator setup permissions described in Prerequisites below.

After you create your first integration, your Microsoft Teams administrator installs the app in your organization. See Installing AWS Payments Manager in Microsoft Teams.

Prerequisites

Verify that you have the following in place:

  • IAM setup. Complete Setting up IAM for AWS Payments Manager before you create the integration. This setup gives your IAM identity the required administrator setup permissions and creates the service role that AWS Payments Manager assumes to read your payment data.

  • Third-party integration information. Your organization uses Microsoft Teams with a Microsoft Entra directory (tenant). You need your directory (tenant) ID. If your tenant allows user consent, the user who connects Microsoft Teams can grant the required consent. If your organization has disabled user consent, a Microsoft Entra administrator must grant consent. The administrator needs the Cloud Application Administrator or Global Administrator role. For other roles that can grant consent, see Microsoft roles. To find your tenant ID, see How to find your tenant ID on the Microsoft Learn website.

Creating the integration

Do these steps in the AWS account that you want to connect.

Step 1: Navigate to the setup page

  1. Sign in to the AWS Management Console and open the Billing and Cost Management console.

  2. In the navigation pane, choose Payment preferences, External integrations.

  3. Start the setup for Microsoft Teams.

Step 2: Select the IAM role

Select the service role that you created during IAM setup. AWS Payments Manager assumes this role to read your payment data.

Step 3: Connect with Microsoft

  1. Enter your Microsoft Entra directory (tenant) ID and submit it. To find it, see How to find your tenant ID on the Microsoft Learn website. You don't need to enter your organization's name. AWS Payments Manager gets it from Microsoft.

  2. On the Microsoft sign-in page that opens, sign in with an account that has the Cloud Application Administrator or Global Administrator role in your Microsoft Entra tenant. You must be the person who submitted the tenant ID, in the same browser.

  3. In the Permissions requested dialog, review the permissions that AWS Payments Manager needs: sign you in and read your profile, and maintain access to data you have given it access to. Select Consent on behalf of your organization, and accept.

  4. After you're redirected to the AWS console, confirm that the page for your integration shows the status Active.

Note

Sign in with an administrator account.

Sign in with a Microsoft Entra account that has one of the roles in Microsoft roles. If you sign in with another account, or don't select Consent on behalf of your organization, the approval covers only that person, and the people you authorize can't use the app.

Step 4: Add authorized users

On the integration page, add the work email addresses of the people who should use AWS Payments Manager in Microsoft Teams. Only authorized users see your AWS account's payment information.

Managing the integration

To manage the integration later, on the External integrations tab, open the integration. On that tab, you can:

Warning

Deleting the integration removes the setup and authorized users. You can't undo this action.

  • You can add or remove authorized users.

  • Disable or enable the integration. Disabling stops everyone from seeing this AWS account's information in Teams, and keeps your setup.

  • Delete the integration. This removes the setup and authorized users.

Next steps

After you finish setup, do the following:

Troubleshooting integration setup

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

Symptom Cause Fix
You can't see the External integrations tab Your IAM identity doesn't have the permissions in the admin setup policy Ask your AWS administrator to check the policy attached to your IAM identity. See Setting up IAM for AWS Payments Manager
Microsoft authentication fails The account you sign in with doesn't have a Microsoft role that can consent for your organization, such as Cloud Application Administrator or Global Administrator Sign in with an account that has one of the Microsoft roles, in the same browser that you used to submit the tenant ID
The service role is rejected, or AWS Payments Manager can't read your payment data The wrong role was selected, the role doesn't trust manager.payments.amazonaws.com for your account, the permissions policy isn't attached, or your IAM identity can't pass the role

Do the following:

  1. Compare the role with the trust policy and AWS Payments Manager permissions policy.

  2. Check that PassServiceRoleToPaymentsManager in the admin setup policy covers the role.