Skip to content
Ask the community about this page

Powershell Data Factory in Timextender Orchestration

In this article, you will read about the PowerShell data factory in Timextender Orchestration Data Enrichment.

  1. Download the Powershell script and DLL required to run Data Factory in Timextender Orchestration, here
  2. Place these two files into a folder on the machine that should run the Data Factory. In my example, I will use the directory C:\Modules
  3. In the Azure Portal, we need to create an App registration which we will use to access our Data Factory:
  4. Azure Portal
  5. Azure Active Directory
  6. App Registration

Powershell Data Factory in Timextender Orchestration — screenshot 1

  1. There we select the New registration button

Powershell Data Factory in Timextender Orchestration — screenshot 2

  1. When we have created our registration we get a window with some key information. Make a note of these values as they will be used in Timextender Orchestration to authenticate our execution.

Powershell Data Factory in Timextender Orchestration — screenshot 3

  1. Now we want to create a client secret to use so we select Certificates and Secrets in the menu on the left and select the New client secret button

Powershell Data Factory in Timextender Orchestration — screenshot 4

We create our secret and get a value that Timextender Orchestration will use:

Powershell Data Factory in Timextender Orchestration — screenshot 5

Make sure to copy this value 7. Now you need to go open your data factory under Data factories. Note down your subscription id and resource group:

Powershell Data Factory in Timextender Orchestration — screenshot 6

Then move to Access Control(IAM) –> Role Assignments and select the add button. Make your new App registration a Contributor to your Data factory

Powershell Data Factory in Timextender Orchestration — screenshot 7

  1. Lastly, you need to find your Data Factory name and pipeline name. These should be easily found under your Data Factory under https://adf.azure.com/:

Powershell Data Factory in Timextender Orchestration — screenshot 8

  1. Now we should have all the information we need to create a package in Timextender Orchestration.
  2. Open Timextender Orchestration Administrator and create a new Command Line package in Timextender Orchestration The Command line should look like this:

    powershell C:\Modules\DataFactory.ps1 -tenantId "XXXXX" -appId "XXXXX" -clientSecrets "XXXX" -subscriptionId "XXXX" -resourceGroupName "XXX" -factoryName "XXX" -apiVersion "2018-06-01" -pipelineName "XXX"
    

    Add your own parameters to this command line from the information we created above.

    Powershell Data Factory in Timextender Orchestration — screenshot 9

Discussed in the community

Looking for related questions…

Didn't find your answer? Ask the community about this page — questions are answered by Timextender experts, partners and other users.