I am currently attempting to access an outlook mailbox using the o365 activities.
I have created an application on Azure AD, set up the authentication, and input the applicationID into the Microsoft Office 365 Scope activity.
The first time I ran my process, I was prompted to grant permission, as expected. I granted permission and the get Mail activity worked as expected.
I now want to use the same project but access items from a different mail box
However, when I enter a new email into the get mail activity I get the error message access denied: please ensure you are authorized to access this account’s mailbox.
I would have expected a new prompt window to pop up saying an application is trying to access [New Outlook Mail Address] please logon to give permission, but instead it looks like it is still remembering/using the old email address that I logged into the first time, using that authentication, and then trying to access the updated mail box.
Does anyone know what I am required to do in order to get the Microsoft Office 365 Scope to prompt me for permissions again, the same way it does the first time the o365 scope is run with a new application ID?