How to setup an Azure SQL database as a data source

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2022 05:55 AM
I cannot find any documentation on how to setup a data source for importing data from an Azure SQL database. We have several on premise JDBC connections, but I am not having any luck setting up a connection to Azure. The account I am using is able to connect to the DB via SQL Management Studio from our mid server just fine.
- Labels:
-
IntegrationHub

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2022 03:09 PM
Are you getting any specific error messages when you try to connect to the Azure SQL database from the platform?
Have you looked at potentially using a Data Stream action to import the data? https://docs.servicenow.com/bundle/sandiego-application-development/page/administer/integrationhub/concept/data-stream-actions.html

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-16-2022 11:39 AM
I was able to setup a data stream action. The JDBC test works just fine and I see the SQL columns, however I get "Failed to iterate on data stream: null" when I test the action itself.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-19-2022 05:52 AM
Make sure your Parsing step is correct. Are you using a JSON/XML Splitter or a Script step? Can you share the script if that is what you're using?