A logistics company utilizes AWS Organizations to manage a multi-account environment. The identity team has configured SAML 2.0 federation with an external Identity Provider (IdP) to allow engineers to access resources in a shared development account. During testing, users are successfully redirected from the IdP dashboard to the AWS sign-in portal, but they encounter an access denied error before they can select their role. The trust policy of the target IAM role in the development account is configured with the SAML provider as the Federated principal, the Action set to `sts:AssumeRole`, and the condition `SAML:aud` set to `https://signin.aws.amazon.com/saml`.
Which modification must the Solutions Architect make to the target IAM role's trust policy to resolve this issue?
- AModify the Action in the trust policy to `sts:AssumeRoleWithWebIdentity` to support federated authentication.
- BChange the Federated principal in the trust policy to point to the AWS STS service endpoint instead of the SAML provider ARN.
- Change the Action in the trust policy from `sts:AssumeRole` to `sts:AssumeRoleWithSAML`.Answer
- DEnsure that a Service Control Policy (SCP) is attached to the development account's Organizational Unit (OU) that explicitly grants the `sts:AssumeRole` permission to the federated users.