Changing the admin@defaulttenant.com to a customer email address.
Scenario Description: The admin will have access to alerts, and that it is preconfigured with admin@defaulttenant.com and there is no way to remove the email address on the UI.
Will emails actually go to this address? Is there a way to prevent that?
Resolution:
- Check if the below two tables are present and take backup before performing the below:
- dbo.Users
- [identity].AspNetUsers
If the 2 tables above are not present in the Orchestrator database, check if the 2 databases (UiPath and UiPath Identity) are available.
Some users might have both tables in one database.
- Run the below scripts to update the default email.
Script:
update dbo.Users set EmailAddress = 'YourEmailHere' where id = (select Id from dbo.Users where EmailAddress = 'admin@defaulttenant.com' )
and
update [identity].AspNetUsers set Email='d********o@uipath.com', NormalizedEmail='YOUREMAILHERE' >> Note that this is in capital letters. where Id = (Select Id from [identity].AspNetUsers where Email = 'admin@defaulttenant.com' and NormalizedEmail = 'ADMIN@DEFAULTTENANT.COM' )
- After reviewing the changes, verify if the emails are being received after an alert is triggered.