Is it possible to get user's Microsoft Account (with permission) via code?

418 views Asked by At

Is it possible to get the user's Microsoft Account programmatically, even if it prompts the user to allow the app to know about it?

I'm trying to make sure that I get the user's real Microsoft Account, rather than just letting them enter any email address in a textbox. If they don't want to give it, that's completely fine and they can continue using the app without using this scenario.

I found various references that said that the apps are isolated from getting it automatically, which makes sense as a privacy thing. I just wanted to see if anyone knew of a way to get it "sort of" automatically with the user granting permission or anything like that.

I guess one alternative would be to use the Live SDK and have them "log in" to the app. But that seems like overkill for this scenario and may not even work (I think that even just gives a "unique id" not the actual Microsoft Account address).

0

There are 0 answers