Closed bartek closed 4 months ago
Hi @bartek thanks for trying this out. I'll start by pointing out that this is a service layer error and not an SDK error. Your syntax however seems to be attempting to expand relationships as opposed to the properties. Proper use would be to use $select
and $expand
with properties
@rkodev Thanks for the pointer. This clarifies to me that I am unable to expand relationships without further selection. I'll close the issue
This may be expected, but the error I received was surprising and feels like it should not be presented to the user for this particular request.
The request I made and response:
What I was trying to do was expand the OneDrive facet when iterating over users to more efficiently obtain this data, however it does not seem possible with
$expand
or$select
The error message, User ID cannot be empty or whitepace is not clear and seems to be surfacing due to an internal bug within the MS Graph API, rather than the user's request.
Or am I using expand incorrectly here?
Thanks!