I was trying for microsoft login in my windows 10 UWP app. var authenticator = new Windows.Security.Authentication.OnlineId.OnlineIdAuthenticator(); var serviceTicketRequest = new Windows.Security.Authentication.OnlineId.OnlineIdServiceTicketRequest("wl.basic", "DELEGATION"); System.Diagnostics.Debug.WriteLine("Signing in..."); var authResult = await authenticator.AuthenticateUserAsync(serviceTicketRequest); this was the code I was trying. I got exception at authenticator.AuthenticateUserAsync The exception was > Exception thrown: 'System.Exception' in [...] read more
I had a UWP app working with OneDrive, allowing users to read and write to a file. Then I accidentally deleted my app from the Application Registration Portal (https://apps.dev.microsoft.com/#/appList) and now any OneDrive related code throws an authentication error. I am able to add a new app but then unable [...] read more