-
Notifications
You must be signed in to change notification settings - Fork 263
Closed
Labels
status:waiting-for-author-feedbackIssue that we've responded but needs author feedback to closeIssue that we've responded but needs author feedback to closetype:bugA broken experienceA broken experience
Description
Describe the bug
When using GraphClient.DirectoryObjects.GetByIds with a principal ID of a custom role, the following JsonReaderError is thrown:
'{' is invalid after a value. Expected either ',', '}', or ']'. LineNumber: 0 | BytePositionInLine: 67041.
Expected behavior
Returns DirectoryObject for the existing list of ids
How to reproduce
var result = await this.GraphClient.DirectoryObjects.GetByIds.PostAsGetByIdsPostResponseAsync(
new Microsoft.Graph.Beta.DirectoryObjects.GetByIds.GetByIdsPostRequestBody
{
Ids = principalIds,
});
where principalIds include a guid id of a custom role assignment
SDK Version
No response
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
_No response_
Metadata
Metadata
Assignees
Labels
status:waiting-for-author-feedbackIssue that we've responded but needs author feedback to closeIssue that we've responded but needs author feedback to closetype:bugA broken experienceA broken experience