I have a bot that reads / sends email and we recently switched to modern authentication. We use an appID and Tennant ID along with a secureApplicationSecret to authenticate. The problem is we still get a user account popup asking for credentials. We handled this by running the bot once on each of our bot servers and filled out the popup and hit ok. The problem is I cant seem to replicate the popup to do some testing.
Here is what I tried the first time:
Close Studio
Close assistant
uninstall studio
clear out everything on credential manager
reboot the computer
after reboot close outlook
re-install studio
test email things
This worked and I had hope that I had figured out how to reproduce the popup, and then I tired it again and have not gotten any popups at all.
I know this is an old post, but for anyone with the same issue, you have to delete the credentials token in C:\Users\username\AppData\Roaming\UiPath\authentication