Closed jkyoungchoi closed 4 years ago
It's a bit hard to debug your code and usage without more information. If you're still unable to fix the 401s, do you think you could provide the exact error and the exact code usage, including what's happening before that ajax request?
Additionally, all current authentication work from Microsoft is delivered through the msal js
library here. adal js
is still supported only for security fixes. We recommend moving to msal js
for any advanced feature requests and bugfixes.
It's a bit hard to debug your code and usage without more information. If you're still unable to fix the 401s, do you think you could provide the exact error and the exact code usage, including what's happening before that ajax request?
Additionally, all current authentication work from Microsoft is delivered through the
msal js
library here.adal js
is still supported only for security fixes. We recommend moving tomsal js
for any advanced feature requests and bugfixes.
Thanks for reply, it worked out afterwords.
I'm trying to retrive SP site,list,items from off-perm with JS.
Got id_token with adal.js and its sample code. So with the id_token that I received made various calls to endpoints (including SP Site's api endpoint), something like below
whatever I try keep getting 401.
Azure app has permission for Graph api and SP.
I feel like I'm missing something but reading manuals keeps getting me somewhere else.
Can anyone guide me what I did wrong?
I'm submitting a...
Browser:
Library Name
Library version
Library version: current
Current behavior
Expected behavior
Minimal reproduction of the problem with instructions