azure ad some of the filter not working with expand attribute like NOT startsWith(displayName, 'Yogendra')

Yogendra 0 Reputation points
2024-05-06T07:03:48.7533333+00:00

Screenshot 2024-05-06 115151

Screenshot 2024-05-06 115318

azure ad some of the filter not working with expand attribute like NOT startsWith(displayName, 'Yogendra'). you can refer this screenshot

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,804 questions
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 37,706 Reputation points
    2024-05-06T07:43:12.5766667+00:00

    Hi @Yogendra

    This is an expected error, the $expand parameter is not supported for advanced queries.

    User's image

    By the way, $filter=startsWith(displayName, 'Deepak')&$expand=manager is not an advanced query.

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.