Forum Discussion
GetDatasetsAsAdmin response missing isOnPremGatewayRequired
- 3 months ago
I can see now the gatewayId field presented in the response of the api.
Hi mkjit256,
Have you checked all the data or are you just spot checking? This is a JSON body, so it is possible that that field is just omitted when not True.
If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.
As you can see above, the field above shows even when the value is false, in addition, i did copy the response into a text editor and looked up for isOnPremGatewayRequired without finding a single occurence.
Note: The api call itself more than 5000 datasets.
- tayloramy9 months agoSuper User
Hi mkjit256,
I just ran this API request in my tenant, and I'm seeing the same thing as you are. isOnPremGatewayRequired is not appearing at all in the 5117 objects returned in my query.
I'm starting to think there is something wrong, either in the documentation or in the API itself.
I think this would be a reasonable bug report - at the very least the docs are wrong.
I recommend raising a ticket with Microsoft so this can be reported as a bug.
The gateway datasources endpoint does work to get all connections on a gateway, but it doesn't link them back to the semantic model at all.
If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.