Office 365 Connector - Authentication of multiple accounts

I want to report a security flaw in the Microsoft Office Authentication when using the Azure Portal.
We had recently had to update all our email account passwords and I have a dozen different Logic Apps in many different region which read different email accounts. Each Logic uses a different Office365 API connector. When I reauthenticated each, it would prompt me, as expected, for the email address and password and update the API setting. But what I found out later is that it didn’t save the email token for the account I just logged into, but the first one I had entered in the session done earlier. So now all the Logic Apps were reading and writing to the first email account, not to the one each was supposed to be. This caused information to be sent to the wrong parties. The "fix" was I had to close my browser in between each re-authentication. Which took a lot longer to do. This is a major flaw in the online designer and authentication. It should always use the login credentials I had just entered, not the “first” one cached when authenticating.
Also when looking at the properties of the API connector, I can’t tell what account it’s connected to. All is shown is the Display name, which is just text entered at the time when the API connector was created, which in my case was the original email account. I have no visibility as to what account the API connector is really authenticated against. So when it saved the wrong account token, I was completely unaware of it until people reported getting the wrong information.
@Thomas Johnson I have tested the scenario at my end and I don't observe the similar behavior as you have observed. I have tried to reauthenticate the multiple office 365 connectors again on the same browser and don't see any issue that only the first credential is used for all the API connections. Only the user with whom I have authenticated against only that user credentials are used for that API.
In case if you are still able to repro the issue at your end then I will suggest you to create a support ticket with us to troubleshoot it further. In case if you don't have the support plan and the issue is reproduced at your end then we can connect offline to troubleshoot it further.
Thank you.
We recently have setup Duo for two factor Authentication with O365 and Azure. These accounts were setup members of a special group, that didn't need to have 2FA, but the MS prompt, after asking for the email account, did redirect me to the DUO login to authenticate.
@Thomas Johnson If you still observe the same behavior I will suggest to open a support ticket to validate if the issue is from our end or the DUO end. If you don't have the support plan please let me know.
Sign in to comment