Permission denied on AWS Device Farm
Hi, I tried to run ./gradlew deviceFarmUpload but it failed because I am not authorized to perform: devicefarm:ListProjects with an explicit deny in an identity-based policy. I checked with my admin and he stated that I am in a user group which has the AWSDeviceFarmFullAccess policy attached to the group.
arn:aws:iam::aws:policy/AWSDeviceFarmFullAccess { "Version": "2012-10-17", "Statement": [ { "Action": [ "devicefarm:" ], "Effect": "Allow", "Resource": "" } ] }
Can I get help with this issue? Thank you so much.
The issue is that an explicit deny in any relevant policy will override any allow that you have (like the policy you included).
You will likely need to ask your admin about what other policies are applied to your user/group/role, as it looks like some other policy is denying the action(s) you want.
Hi,
Thanks for reaching out. I just want to echo rowanu's answer here, as mentioned, it's most likely due to another policy attached which has an explicit deny. Please see here for the policy evaluation logic -> https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-denyallow
Please feel free to raise a support case with us if you are unable to find the root cause of this issue. We will be happy to help you.
Relevant questions
CodeBuild is not authorized to perform: sts:AssumeRole
asked 3 years agoPermission denied on AWS Device Farm
asked 21 days agoIs it possible to play audio files in Device farm, that triggers a response in an Android phone?
asked a month agoGGV2: Unable to run docker containers: docker.sock - permission denied
Accepted Answerasked a year agoPermission denied trying to import from another component
asked a year agoRoot account no permissions
Accepted Answerasked 4 months agoDeny EFS actions to all but specific user
Accepted Answerasked 6 months agoHow to connect via adb to a (Remote Session) Android Device on AWS Device Farm
asked a month agoAWS device farm - Install two applications and interface with desktop brow
asked 2 years agoUser: anonymous is not authorized with an explicit deny
asked 3 years ago