{"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/7821","repository_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/7821/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/7821/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/7821/events","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/7821","id":318508454,"number":7821,"title":"Using DocumentDB as a source does not seem to work.","user":{"login":"50251335","id":12957812,"avatar_url":"https://avatars0.githubusercontent.com/u/12957812?v=4","gravatar_id":"","url":"https://api.github.com/users/50251335","html_url":"https://github.com/50251335","followers_url":"https://api.github.com/users/50251335/followers","following_url":"https://api.github.com/users/50251335/following{/other_user}","gists_url":"https://api.github.com/users/50251335/gists{/gist_id}","starred_url":"https://api.github.com/users/50251335/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/50251335/subscriptions","organizations_url":"https://api.github.com/users/50251335/orgs","repos_url":"https://api.github.com/users/50251335/repos","events_url":"https://api.github.com/users/50251335/events{/privacy}","received_events_url":"https://api.github.com/users/50251335/received_events","type":"User","site_admin":false},"labels":[{"id":646552245,"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/cosmos-db","name":"cosmos-db","color":"90ccff","default":false},{"id":836703193,"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/cxp","name":"cxp","color":"bf1394","default":false},{"id":836703308,"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/in-progress","name":"in-progress","color":"c1d9ff","default":false},{"id":853283851,"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/product-question","name":"product-question","color":"43e08a","default":false},{"id":854516374,"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/resolved-by-customer","name":"resolved-by-customer","color":"10b501","default":false},{"id":836702742,"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/triaged","name":"triaged","color":"0e8a16","default":false}],"state":"closed","locked":false,"assignee":{"login":"Mike-Ubezzi-MSFT","id":37126106,"avatar_url":"https://avatars0.githubusercontent.com/u/37126106?v=4","gravatar_id":"","url":"https://api.github.com/users/Mike-Ubezzi-MSFT","html_url":"https://github.com/Mike-Ubezzi-MSFT","followers_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/followers","following_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/subscriptions","organizations_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/orgs","repos_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/repos","events_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/received_events","type":"User","site_admin":false},"assignees":[{"login":"Mike-Ubezzi-MSFT","id":37126106,"avatar_url":"https://avatars0.githubusercontent.com/u/37126106?v=4","gravatar_id":"","url":"https://api.github.com/users/Mike-Ubezzi-MSFT","html_url":"https://github.com/Mike-Ubezzi-MSFT","followers_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/followers","following_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/subscriptions","organizations_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/orgs","repos_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/repos","events_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-04-27T18:37:48Z","updated_at":"2018-04-27T21:31:00Z","closed_at":"2018-04-27T21:31:00Z","author_association":"NONE","body":"\r\nI tried a very simple import from documentdb source to a json file target.\r\nThe Verify button works fine with the documenttdb connection string I entered, however,\r\nwhen the import runs it produces no errors and no output.  I can run the same\r\nquery I specified in the documentdb source in data explorer and I get the expected\r\nresults.  In debugging the code,  I don't think the migration tool is getting a valid \r\nTask<Database>back from it's call to the TryGetDatabase method it calls in QueryDocumentsAsync.  \r\nInstead it ends up with a null return value and sets up a EmptyAsyncEnumerator instead of throwing an error.\r\nNot sure why it is having trouble \"getting\" the database when the connection string verification works.\r\n\r\n\r\n---\r\n#### Document Details\r\n\r\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\r\n\r\n* ID: 9edf1df2-588e-01ff-6d1c-234b8e51d550\r\n* Version Independent ID: 27873c08-b6cc-a52f-f277-ff9818a5e4d2\r\n* Content: [Database migration tool for Azure Cosmos DB](https://docs.microsoft.com/en-us/azure/cosmos-db/import-data)\r\n* Content Source: [articles/cosmos-db/import-data.md](https://github.com/Microsoft/azure-docs/blob/master/articles/cosmos-db/import-data.md)\r\n* Service: **cosmos-db**\r\n* GitHub Login: @AndrewHoh\r\n* Microsoft Alias: **anhoh**"},"comment":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/comments/385099502","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/7821#issuecomment-385099502","issue_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/7821","id":385099502,"user":{"login":"Mike-Ubezzi-MSFT","id":37126106,"avatar_url":"https://avatars0.githubusercontent.com/u/37126106?v=4","gravatar_id":"","url":"https://api.github.com/users/Mike-Ubezzi-MSFT","html_url":"https://github.com/Mike-Ubezzi-MSFT","followers_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/followers","following_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/subscriptions","organizations_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/orgs","repos_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/repos","events_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/Mike-Ubezzi-MSFT/received_events","type":"User","site_admin":false},"created_at":"2018-04-27T21:31:00Z","updated_at":"2018-04-27T21:31:00Z","author_association":"CONTRIBUTOR","body":"@50251335 Thanks for updating with the resolution."}}
{"actor":{"display_login":"Mike-Ubezzi-MSFT"}}