5

In U-SQL custom code (code behind or Assemblies) can external services be called e.g. bing search or map.

Thanks, Nasir

Nasir
  • 167
  • 6

1 Answers1

12

This is currently not supported for the following reason:

Imagine that you write a UDF or UDO (e.g., an extractor) that calls a REST endpoint of a service that is used to get a few calls per minute from the same originating IP address. But now you execute this user code in a U-SQL job that is scaled out over millions of rows, running possibly on hundreds of vertices concurrently. This is a - hopefully unintended - distributed denial of service attack against that service. And it most likely will lead to that service experiencing an outage and our IP ranges getting blocked.

Thus, we are currently closing off our containers and recommend that you use other mechanisms (like getting a data set for coordinate translations) instead.

Michael Rys
  • 6,684
  • 15
  • 23
  • Makes sense, I wanted to confirm for sure. – Nasir Jan 28 '17 at 08:15
  • Besides external websites like Bing ... Are Azure web apps (____.azurewebsites.net) also inaccessible? – Iain Sep 04 '17 at 08:54
  • 2
    Anything outside the container except for explicit features such as SQL data sources, WASB and ADLS storage locations are not accessible. That means even Azure web apps are not accessible. – Michael Rys Sep 05 '17 at 08:39