Reputation: 2043
I am currently trying to connect to a DocumentDb (MongoDb) using Azure Machine Learning Studio.
I am currently following this guide, however it seems out of date already. The assumptions I have taken have lead me to get an Error 1000: ... DocumentDb client threw an exception
The underlying connection was closed. The connection was closed unexpectedly.
The guide, and Azure Machine Learning Studio, outline the following parameters to make a connection.
Endpoint URL, Database ID, DocumentDb Key, Collection ID. It also tells you to look under the Keys
blade to find these, which does not exist anymore.
These are the assumptions I have taken;
https://host.com:port/
I have, for now, also opened all connections to the database just to make sure I wasn't closing the network to outside requests which, I guess, means that at least the DocumentDb key is a poor assumption.
After some input from Jon, below, here is the current state of things
select top 10 * from CollectionID
Upvotes: 0
Views: 1448
Reputation: 2784
Through discussion in the comments, it may be that the "Endpoint URL" just needed to be updated, but I'll go over all of the inputs in case anyone else needs a reference to it.
And, for reference, here's what my data explorer looks like in CosmosDB (database ID then collection ID):
And the settings in Azure ML Studio to import the data:
Upvotes: 2