question

Chibu-3202 avatar image
0 Votes"
Chibu-3202 asked bgervin edited

I keep getting Authentication challange is required. when calling the Graph Api to get classes

I am trying to get classes for education, calling the graph API

I am getting the error "Authentication challange is required".

On my PrivateSettings.Config my appscopes: <add key="ida:AppScopes" value="User.Read Calendars.Read" />

I don't know if i am missing another permission in the "AppScopes" to enable getting classes,

Any aid with this would be so appreciated


microsoft-graph-permissionsmicrosoft-graph-authentication
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @Chibu-3202 would you kindly share more information on the request and response so I can try and reproduce? Are you able to reproduce the issue in graph explorer? This error might indicate that there are organizational conditional access policies to require additional information from the user, see documentation on graph authorization errors.


1 Vote 1 ·


Good day @DianaWanjuhi-1579

Thanks for the response, i have attached the screenshot of the error below, for better clarity on the issue, i was not able to reproduce it in graph explorer.
I was able to get calendars, but when calling the API to get classes it throws that error,
my auth configurations has been set also, do i need to add another scope in the AppScopes in PrivateSettings.config

82342-screenshot-48.png82343-screenshot-42.png82276-screenshot-43.png82308-screenshot-45.png82317-screenshot-47.png


0 Votes 0 ·
screenshot-48.png (132.0 KiB)
screenshot-42.png (158.9 KiB)
screenshot-43.png (177.8 KiB)
screenshot-45.png (116.1 KiB)
screenshot-47.png (87.9 KiB)

0 Answers