Identity Center not sending OTP emails to users created using the CreateUser API

1

https://docs.aws.amazon.com/singlesignon/latest/userguide/userswithoutpwd.html

According to this documentation, users created in the Identity Store using the CreateUser API should receive their password by email but it does not work. I don't receive any email (I tried several email addresses).

What I have done:

AWS Identity Center send OTP

asked 2 years ago290 views
2 Answers
0

Hello. I see that you have already checked your spam for the OTP. All emails sent by the IAM Identity Center service will come from either the address no-reply@signin.aws or no-reply@login.awsapps.com. Your mail system must be configured so that it accepts emails from these sender email addresses and does not handle them as junk or spam. Emails not being delivered can have various root causes. The following can help you troubleshoot some common issues:

  • Confirm that the email address assigned to the newly created user is the correct email address that should be receiving the OTP.
  • Send an e-mail to the target address from outside your domain → ensure that the address is working properly.
  • Check the logs of your mail server (if you have access to them) → do you see delivery attempts? Are they blocked, gray-listed, or delivered?
  • If you don't see any attempts on your mail server, create a support case with AWS support, potentially the above step must be executed also on the sending mail server.

For additional information, please refer to the following documentation: https://docs.aws.amazon.com/singlesignon/latest/userguide/troubleshooting.html.

AWS
Jenna_H
answered 9 months ago
0

Hi,

Same problem here.

After check "Send email OTP" option for users created from API and creating some users using Python SDK and/or AWS CLI any email is received.

I wonder if the user should take any action since the documentation literally says "Users receive the email OTP when they first attempt to sign in". I have tried a "first attempt to sign" from AWS access portal (https://subdomain.awsapps.com/start#/) but after entering the username I am blocked because it then asks for the password that I do not have yet. Unfortunately the password recovery option doesn't work either. When I enter the captcha an error says "It's our problem, not yours. We were unable to complete your request at this time. Please try again later."

Any idea on this? How can I send the invitation or OTP email to IAM Identity Center users programmatically?

Best regards.

answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions