Microsoft Live ID is now called Microsoft Account. Having said that, let's say I log into Windows 8 as [email protected]
and run an app.
That app uses the Live SDK to access my Microsoft Account profile. Before it can do so, however, I must give it explicit permission and log in. So far, perfect.
Though I gave the app permission to [email protected]
I want to change it to [email protected]
so I click the app's Logout button which queries LiveAuthClient.CanLogout()
from the SDK. Confusingly, the SDK returns false (I cannot log out).
Why not? Once the current Windows 8 user has logged into a Windows 8 app using the Windows Live SDK, how can they log out (when CanLogOut() always returns false)? Is there a setting or something to allow this?
Turns out that this question's answer (http://stackoverflow.com/questions/13294496/can-the-windows-8-live-sdk-use-another-microsoft-account-other-than-the-current) is inaccurate.
check your scope.
if you use wl.signin
, you cannot log out via code anymore because it's single sign in. Try to use wl.basic
instead. More about scopes here. When you accidently used the wl.signin
you have to log in your dashboard an remove the app connection by hand.