Checking the documentation on Filtering, it looks like we limit the filtering of Streaming Locators to the following properties in v3 API.
https://learn.microsoft.com/en-us/azure/media-services/latest/filter-order-page-entities-how-to
- name
- properties/created
- properties/endTime
Looks like the name would work for you, as name is unique ID in the v3 API.
Try the same query with "name"
let findByName = name eq ${locatorName}
;
See sample code here - https://github.com/Azure-Samples/media-services-v3-node-tutorials/blob/main/Assets/list-streamingLocators-filtered.ts