AllowedOrderByProperties doesn't make sense when the $orderby clause is something like Entity/NavigationProperty/ComplexType/Field which is a clause we support.
Change the attribute name to allow explicitly supporting paths, for example
AllowedOrderByPaths= "$it/NavigationProperty/ComplexType/Field, $it/OtherProperty" would allow the user to Orderby those two paths only.
Another option would be to define the max orderby/filter path depth if there is none (which I couldn't find)
Change the attribute name to allow explicitly supporting paths, for example
AllowedOrderByPaths= "$it/NavigationProperty/ComplexType/Field, $it/OtherProperty" would allow the user to Orderby those two paths only.
Another option would be to define the max orderby/filter path depth if there is none (which I couldn't find)