I am trying to use powerappsformakers.getconnectors({'api-version':"2016-11-01"}) in my canvas app to get a list of connectors but the app gives an error message:"The environment filter must be set". But when i look at the documentation for this action, it is not mentioned that the $filter parameter is required. It only works when i set the filter to "environment eq '<envid>'".
I tried 2 more ways here but for all of them it returns the same error:
1. setting the filter to "environment ne null" but it gives the same error for this as well.
2. setting the filter to "environment eq"+dropdown1.SelectedText.Value but this too results in the same error.
I cannot hardcode the env id in the $filter. My requirement is to pass the environment id as a variable or refer to the value selected in the dropdown control which contains a list of environment id's. If this does not work i was thinking of returning all the connectors from all the environments and then apply filter() for returning the connectors for the specific environment. Hence the usage of diff ways.

Report
All responses (
Answers (