BYOS (cross-account IAM role) save fails with errorCode -1

API Endpoint(s) and/or Zoom API Event(s)
Setting up Zoom BYOS setting within account settings using the cross account IAM role.

Description
We’re setting up Bring Your Own Storage (BYOS) with an S3 bucket and are seeing what looks like a bug in the create flow when cross-account access is the selected authentication method. This is being done within the account settings modal.

Setup

  • Account A: BYOS with cross-account access is already configured and working.
  • Account B: a master account with sub account projects (attempting to connect this one).

What happens

When we save a new BYOS configuration in Account B with cross-account access, the UI shows “System error, please try again.” The request:

POST https://us04web.zoom.us/account/setting/save/new

returns HTTP 200 with:

{
  "status": false,
  "errorCode": -1,
  "errorMessage": "System error please try again later.",
  "result": null
}

What we’ve isolated

  • Access key / secret key authentication works on Account B with the same bucket but we don’t want to use this authentication mechanism.
  • We verified the trust policy has the correct External ID sown in Account B’s BYOS setup modal.
  • Account A is currently using BYOS with Cross Account Access. Using the same role on Account B which is actively working on account A still results in this error message.

Trust policy (one role shared by both accounts)

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": { "AWS": "arn:aws:iam::<ZOOM_AWS_ACCOUNT_ID>:role/ZoomWebRole" },
      "Action": "sts:AssumeRole",
      "Condition": {
        "StringEquals": {
          "sts:ExternalId": ["<EXTERNAL_ID_ACCOUNT_A>", "<EXTERNAL_ID_ACCOUNT_B>"]
        }
      }
    }
  ]
}

Permissions policy

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "S3BucketList",
      "Effect": "Allow",
      "Action": ["s3:ListBucket", "s3:GetBucketLocation"],
      "Resource": "arn:aws:s3:::<BUCKET_NAME>"
    },
    {
      "Sid": "S3ObjectAccess",
      "Effect": "Allow",
      "Action": ["s3:GetObject", "s3:PutObject"],
      "Resource": "arn:aws:s3:::<BUCKET_NAME>/*"
    }
  ]
}

Questions

  • Are you able to verify if the cross account access is working properly within the account settings?
  • Are there any additional requirements that is preventing us from using the same role within two separate zoom accounts?

Thanks!