Describe the bug
On an existing project, I want to pull an existing Amplify backend
I run amplify pull --appId d26xxxxxx --envName dev
Expected:
A new amplify/ directory is created with the backend informations
Actual
The CLI opens a Chrome browser and redirects me to the Admin UI (https://eu-west-1.admin.amplifyapp.com/admin/d26xxxxxx/dev/verify/).
I don't use Admin UI, it is not enabled - so I am completely blocked.
Workaround
Downgrading amplify-cli to 4.29.8 fixed the issue.
Amplify CLI Version
4.39.0
Desktop (please complete the following information):
Mac OS
I am experiencing this exact same issue.
Hi @maximelebastard @abenzick, was AdminUI enabled previously for this project? If not, can you double check it's not currently enabled?
I haven't been able to reproduce this yet.
Yes, it was enabled previously.
On Dec 15, 2020, at 3:26 PM, John Hockett notifications@github.com wrote:

Hi @maximelebastard @abenzick, was AdminUI enabled previously for this project? If not, can you double check it's not currently enabled?I haven't been able to reproduce this yet.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
I may have enabled it a few minutes for a quick test.
For what I remember, I did not pull the project during that interval.
On 15 Dec 2020, at 23:30, Aaron notifications@github.com wrote:
Yes, it was enabled previously.
On Dec 15, 2020, at 3:26 PM, John Hockett notifications@github.com wrote:

Hi @maximelebastard @abenzick, was AdminUI enabled previously for this project? If not, can you double check it's not currently enabled?I haven't been able to reproduce this yet.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/aws-amplify/amplify-cli/issues/6168#issuecomment-745608525, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSCUBNFPYG7ZMJ3ZMS7ZCLSU7PQPANCNFSM4UYVRDRA.
Try running amplify logout --appId <AmplifyAppId>. What's the output you see?
If the credentials exist, you will be asked if you want to logout from all sessions. Answer y. Then try pulling your app.
Edit: I was able to reproduce and the above steps don't solve the issue. Investigating...
A fix has been merged and will be available in the next release. Thanks for the bug reports @maximelebastard @abenzick!
Most helpful comment
A fix has been merged and will be available in the next release. Thanks for the bug reports @maximelebastard @abenzick!