Quicksight disable allow inviting new users by email

I don’t want users to receive an email when I register a new user account in quicksight? can someone help how to do this?

Are your users in IAM? If not, what is the reason for not emailing the registration? Quicksight disable allow inviting new users by email using cmd/sdk | AWS re:Post → This post goes into an alternative for disabling email invites.

Hi @sav0819

Are you registering users from QuickSight UI or IAM users ?
If registered from Quicksight UI, then user will receive email and thats that only source to complete user activation process.

Alternatively, you can register user using CLI/APIs and that will respond with the link to complete activation, you can capture that response and send the email manually.

Any reason, why you dont want user not to receive registration email ?

using console and java sdk apis We register users only to quicksight account and they don’t have AWS IAM accounts .

We use RegisteruserEmbedding and we don’t want users to signup with quicksight account as we already display the quicksight dashboard or console experience using embedding.

The problem now is when I register new user in quicksight it is sending an email to signup and activate the quicksight account which is not required as we use embedding.

I hope you got my point. Let me know if any questions. Thanks!

No we don’t want users to be in IAM to access embedded quicksight experience. we just register user using console or API’s.

We tried this but looks there is no option when setting up account and there is no api method available to update this seetingn ```
account-customization ‘{“enableInviteNewUsersByEmail”:false}’

This is the latest SDK documentation f0r account customization.

public class AccountCustomization implements Serializable, Cloneable, StructuredPojo {
    private String defaultTheme;
    private String defaultEmailCustomizationTemplate;

I don’t see a attribute called enableInviteNewUsersByEmail this class.

@sav0819 ,

Currently there is no possibility to disable the email invitation when registering users from the QuickSight console. There are no options in account customization API ( update_account_customization - Boto3 1.33.7 documentation)

As your use-case is to provide dashboard / console experience embedding in your web application , I would recommend as follows:

I assume that your application has it’s own authentication mechanism for users to login.
1/ Register the users with identity-type QUICKSIGHT using java sdk. The email link is generated and you can ignore it as your users will never use a QuickSight username and password to view dashboards or use the console.
2/ As part of your application code when you are generating the embedding url for a registered user , you pass the QuickSight user-arn for that specific user. The url is what you then embed in your iframe.

Kind regards,
Koushik

I think we need this support to not to send an email option like enableInviteNewUsersByEmail.
Otherwise users will be confusing and it’s tough to communicate this to all new users.