Hi,
We are facing the following error while trying to access the given Windows Azure Pack Public tenant API to query the virtual machines list along with network adaper details -
java.io.IOException: Server returned HTTP response code: 500 for URL: https://<hostname>:30006/<subscription-id>/services/systemcenter/vmm/VirtualMachines?$expand=VirtualNetworkAdapters&$top=10000&$skip=0
The response is proper when we access the following URL -
https://<hostname>:30006/<subscription-id>/services/systemcenter/vmm/VirtualMachines
Only on adding the $expand=VirtualNetworkAdapters, url parameter we are getting the above error.
Where can we check for the error logs on the Azure Pack server ? We checked for the logs using Windows Event Viewer but did not find any for the public tenant API.
What should be the cause for such an error and how can we fix this to get the proper data?
Thanks in advance.