AspNetCoreMicrosoftGraph icon indicating copy to clipboard operation
AspNetCoreMicrosoftGraph copied to clipboard

"IDW10502: An MsalUiRequiredException was thrown due to a challenge for the user

Open jeevasusej opened this issue 4 years ago • 1 comments

I am using React with Asp.net core web api. I have implemented as explained. In React, I am using scope as openid and the access as user where the same implemented in the sample UI. But I am getting the following exception. Can you please help me on that issue?

"IDW10502: An MsalUiRequiredException was thrown due to a challenge for the user

jeevasusej avatar Sep 20 '21 13:09 jeevasusej

Hi @jeevasusej seems like the token is missing the scope. You need to request the scope and get consent in the react app, not sure of this though.

Greeetings Damien

damienbod avatar Sep 20 '21 20:09 damienbod