Recently upgraded to Studio 23.4.4 and now a previously working automation fails to prompt for credentials using InteractiveToken. I tried two different projects, and different versions of UiPath.Mail.Activities and UiPath.MicrosoftOffice365.Activities.
I just tried it in Studio 2021.10.5 and it works fine, same package versions, same project.
The other difference between the two systems besides Studio version is on the one where it works, the authentication opens in Internet Explorer.
On my machine, where it doesn’t work, I don’t have Internet Explorer.
Is UiPath seriously defaulting to a browser that became unsupported over a year ago? We can’t.
Please @loginerror this is a huge issue. Is there a way to control which browser it tries to use? We can’t use Internet Explorer.
So I think I have narrowed down the cause.
I think it’s because UiPath is now seeing other non-UiPath authentications into Azure, when before it didn’t. If all my authentications have expired, UiPath prompts me to authentication to Azure.
But if I have logged into some application outside of UiPath that also uses Azure authentication, now UiPath sees that and tries to use that same account. But that’s the wrong account. I need the authentication prompt to appear again so I can select a different account.
There needs to be a way in the O365 Scope activity to force login every time. I tried filling in the Oath2User property and it didn’t do anything.