Invoke-RestMethod - Error when querying session relevance

ok .. dummy on my part .. had to open the firewall on the BES Server as well.

:grinning_face: I AM GETTING DATA!!! :grinning_face:

I think it was installing the BES Explorer, not necessarily the registry key.

for full transparency ..

While troubleshooting this last bit, I was able to figure out the actual original problem (connecting to WebReports via RestAPI). It seems that although our host-based firewalls allow “loopback” connections, this does NOT automatically allow the server to talk to itself for BESWebReportsServer:

Protocol: TCP
Source: BES Server: 61542 (high order port)
Destination: BES Server: 8083

For proof of fix, I REMOVED the BES Explorer that I had installed. I added the rule for the above connection to the host-based firewall. I then ran the test script as provided by @shabircse (above) and returned the expected data.

Thanks to all for sticking this through!!

4 Likes