I am trying to get this application running as a starting point. https://medium.com/xamarin-development/integrating-office-365-into-xamarin-apps-f9a33e5c73b1. I setup a trial account, entered the client ID, etc. When I try to enter credentials to login to my work Office 365 account or a separate outlook.com account, I get the following error in the debug output,
Refused to execute script from 'https://directory.services.live.com***' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled.
I'm not sure what this is supposed to do for the page, but it is definitely a function call and I assume it needs to happen to keep things moving.
SetTileUrl({"Views":[{"Id":{"Cid":"0x********","Puid":null},"Attributes":[]}],"TraceGraph":null});
Onscreen, the MS login page just says
"Sorry, but we're having trouble signing you in. We received a bad request."
More debugging and stepping through shows that I never get an access token to continue with.
I've been fighting with this for a quite a while, has anyone else been able to get this code working or seen this problem?
Based on what you say i would assume, the steps you need to do are the following:
That is basically the thing i did to get it to work.
If you need further help on the topic, feel free to ask.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With