I have followed the directions in a couple tutorials and configured the sample. Registred it as a native app in Azure AD. Gave it al the said required permissions. Still when I try to get the report, desktop or tile I get this Error:
{"error":"interaction_required","error_description":"AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '00000009-0000-0000-c000-000000000000'.\r\nTrace ID: 59cc4db0-09c6-4910-aa54-665a116d0800\r\nCorrelation ID: 35fd1bcc-2ae1-45a0-95d2-4938a04a62f6\r\nTimestamp: 2017-09-22 12:46:15Z","error_codes":[50076],"timestamp":"2017-09-22 12:46:15Z","trace_id":"59cc4db0-09c6-4910-aa54-665a116d0800","correlation_id":"35fd1bcc-2ae1-45a0-95d2-4938a04a62f6"}
It says there is something wrong with this line in the home controller:
var authenticationResult = await authenticationContext.AcquireTokenAsync(ResourceUrl, ClientId, credential); |
After two days searching I can't find out what is happening. does anybody has an Idea?
Thank you in advance.
Giel