Skip to content

This account does not have access to any roles #439

Open
@raffaeleporcellana

Description

@raffaeleporcellana

Running aws-adfs --verbose login --adfs-host=****--no-ssl-verification --no-sspi with the last version 2.11.2, I get the following error

This account does not have access to any roles

The verbose mode shows me the following output

<title>
AWS Signin</title>
</head>
<body>
<div id="container">
<div id="header">
<a href="https://aws.amazon.com" rel="noopener noreferrer"><img src="/static/image/aws_logo_smile.png" alt="Amazon Web Services logo" width="84px" height="50px" /></a>
</div>
<div id="content">
<h2>Amazon Web Services Sign In</h2>
Your request included an invalid SAML response. To logout, click <a href="/oauth?Action=logout&redirect_uri=https://aws.amazon.com">here</a>
</div>
<div id="footer">
<p id="footer-text"><a href="https://aws.amazon.com/en/terms/">Terms of Use </a> <a href="https://aws.amazon.com/en/privacy/">Privacy Policy</a> &copy; 1996-2025, Amazon Web Services, Inc. or its affiliates.</p>
<img src="https://d36cz9buwru1tt.cloudfront.net/logos/logo_an_amazon_company_160x20.png" alt="An Amazon.com company" />
</div>
</div>
</body>
</html>
==========

When I Login In the browser it works.

I tried all the workaround found online, I tried passing the arn role but doesn't work

Any guidance would be appreciated.
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions