[Question]: Sharepoint using azure entra facing error #9520
-
Hi I am using the version v0.8.3-rc3 and I wanted to integrate share point to it- So in my env file I make the config as - OPENID_REUSE_TOKENS=true Enable SharePoint file pickerENABLE_SHAREPOINT_FILEPICKER=true Your SharePoint tenant base URLFormat: https://[your-tenant-name].sharepoint.comSHAREPOINT_BASE_URL=https://hidden-name.sharepoint.com SharePoint scope for the file pickerReplace 'contoso' with your actual tenant nameSHAREPOINT_PICKER_SHAREPOINT_SCOPE=https://hidden-name.sharepoint.com/AllSites.Read Microsoft Graph scope for file downloadsSHAREPOINT_PICKER_GRAPH_SCOPE=Files.Read.All After setting this - I add the necessary permission to the app also - ![]() And the scopes/permissions are granted also for my org. Now the option for - sharepoint appears in the UI. ![]() But when I am choosing any option a blank screen is coming up- ![]() and the error in the backend is- ![]() It is failing for everyone with the same message . I am using the azure entra id as follows for authentication- OPENID_ISSUER=https://login.microsoftonline.com/hidden/v2.0/ OPENID_BUTTON_LABEL=Login Can you please correct me here if I am setting up somewhere wrong.......thanks !!!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
Precisely getting the following logs - {"code":"OAUTH_RESPONSE_BODY_ERROR","error":"invalid_request","error_description":"AADSTS90014: The required field 'iss' is missing from the credential. Ensure that you have all the necessary parameters for the login request. Trace ID: 997c6a32-5644-4dfd-886c-aa86e9645400 Correlation ID: af5e2bff-hidden Timestamp: 2...","level":"error","message":"[GraphTokenService] Failed to acquire Graph API token for user dRj3r-hidden: server responded with an error in the response body","name":"ResponseBodyError","stack":"ResponseBodyError: server responded with an error in the response body\n at checkOAuthBodyError (file:///app/node_modules/oauth4webapi/build/index.js:889:19)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async ...","status":400,"timestamp":"2025-09-09T11:04:15.688Z"} |
Beta Was this translation helpful? Give feedback.
Yeah the login loop was my fault my entra users didn't return an email claim by default after login, had to add it in Token Configuration in the App Registration.
I did not have the error you showed here though, make sure you configured your App Registration correctly for token reuse, as described here: token-reuse#azure-entra-id-configuration.
The configured settings for the sharepoint integration should be like mine (redacted values).