Hi @Krupa Gundraju (Larsen & Toubro Infotech Limit)
When you are using $filter in PowerShell it will take it as Variable, so you need to use it like `$filter in above API.
Please refer to this similar case for more details.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.