Forum Discussion
Error: AADSTS50076 while trying to login on App-owns-data sample
- 8 years ago
GielGroot wrote:
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
The error message is instuitive. "Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication", which means you can't simply pass the Azure AD authentication by using user/password. Try either contact your tenant administrator or create a dedicated tenant without enabling multi-factor authentication for Power BI. For futher suggestion, I'd suggest you post your question in the dedicated Azure AD forum, you would get better response there.
GielGroot I got the same problem as you posted here. mine is a little bit different from yours. sometimes, I can run the app-owns-data problem correctly, while sometimes I can't and see this error. How did you resolve this problem? I read the solution but I am afriad it is hard for me to get a dedicated account without multi-factor auth disabled. Thanks!