Authentication and deploying an app to office 365


Up to today when I deployed an app to office 365 I would get a login window and all would be fine.


Today, I suddenly get the following instead:



Ok, so the account used by my local machine is used to connect to my development tenant. No problem just log in with the right user. But the dialog doesn't have any login with a different user.


Any idea where I can force a login with a differnt account?

1 Reply
best response confirmed by Pieter Veenstra (MVP)

I've resolved the issue now. 


My development tenant did have external sharing enabled. I removed the account that I don't want to use from the active users in the admin center.


Now I'm getting a similar dialog that allows me to sign in with a different user.


So it looks like the above dialog is given when you do have access but not enough permissions to do what you want to do.