-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Closed
Closed
Copy link
Labels
bugSomething isn't workingSomething isn't workingtriagedFor maintainers: This issue has been triaged by a Pipedream employeeFor maintainers: This issue has been triaged by a Pipedream employee
Description
Describe the bug
The Microsoft Outlook integration does not have sufficient permissions to be allowed to retrieve a list of users.
This list is retrieved as options for the newly added userId field, which is required when trying to access a shared mailbox.
These values fail to be retrieved.
To Reproduce
Steps to reproduce the behavior:
- Go to:
https://pipedream.com/connect/demo?app=microsoft_outlook&component=microsoft_outlook-find-shared-folder-email&tab=debug
- Click on 'Connect Microsoft Outlook'
- Authorize Pipedream to connect
- Observe how the "User Id" field fails to be populated (
bad options response for prop: userId
) - The
configureComponent
debug SDK log contains more details
Expected behavior
UserId's would be populated with a list of user ids that are available for the authenticated user.
Additional context
Functionality was added in the following PR: #18295
Relevant error message:
error: {
code: "UserError",
message: "bad options response for prop: userId",
ts: "2025-09-16T09:20:00.086Z",
name: "UserError"
},
userError: true,
errors: [
"{"code":"UserError","message":"bad options response for prop: userId","ts":"2025-09-16T09:20:00.086Z","cellId":null,"stack":null,"$debug":null,"name":"UserError"}"
],
observations: [
{
k: "console.log",
msg: "export: debug - {
"status": 403,
"statusText": "Forbidden",
"headers": {
"cache-control": "no-cache",
"transfer-encoding": "chunked",
"content-type": "application/json",
"vary": "Accept-Encoding",
"strict-transport-security": "max-age=31536000",
"request-id": "bd8e7a51-8e0a-4eb9-824b-c4485b828ff4",
"client-request-id": "bd8e7a51-8e0a-4eb9-824b-c4485b828ff4",
"x-ms-ags-diagnostic": "{\"ServerInfo\":{\"DataCenter\":\"East US\",\"Slice\":\"E\",\"Ring\":\"5\",\"ScaleUnit\":\"005\",\"RoleInstance\":\"MN1PEPF0000F542\"}}",
"x-ms-resource-unit": "2",
"date": "Tue, 16 Sep 2025 09:19:58 GMT"
},
"config": {
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
},
"adapter": [
"xhr",
"http",
"fetch"
],
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"env": {},
"headers": {
"Accept": "application/json",
"Content-Type": "application/json",
"Authorization": "Bearer <redacted>",
"User-Agent": "axios/1.11.0",
"Accept-Encoding": "gzip, compress, deflate, br"
},
"url": "https://graph.microsoft.com/v1.0/users",
"allowAbsoluteUrls": true,
"method": "get"
},
"data": {
"error": {
"code": "Authorization_RequestDenied",
"message": "Insufficient privileges to complete the operation.",
"innerError": {
"date": "2025-09-16T09:19:59",
"request-id": "bd8e7a51-8e0a-4eb9-824b-c4485b828ff4",
"client-request-id": "bd8e7a51-8e0a-4eb9-824b-c4485b828ff4"
}
}
}
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriagedFor maintainers: This issue has been triaged by a Pipedream employeeFor maintainers: This issue has been triaged by a Pipedream employee
Type
Projects
Status
Done