Deploying email tracking using the alternative PowerShell script
Who is this article for?Support staff who encounter problems upgrading a customer's email tracking software, including the error "Upload interrupted: exception calling GetRequestStream".
Administrator access is required.
This article explains how to deploy or upgrade Email Tracking using an alternative PowerShell script when the standard production deployment fails — for example, when you receive an "Upload interrupted: exception calling GetRequestStream" error or the script cannot connect to mailboxes.
Gathering required information
Before running the deployment script, you need to gather specific information from your Azure Console.
To retrieve the required variables:
- Open your Azure Console and search for your resource group and function app.
- Note your Email Tracking Resource Group Name.
- Note your Email Tracking Function App Name.
You will also need the path to the Email Tracking package zip file.
Downloading the required files
You need two files to complete the deployment: the email tracking package and the alternative deployment script.
To download the necessary files:
- Download the email tracking package from https://cdn.oneplacesolutions.com/emailtracking-releases/latest/service.
- Note the download path for the email tracking package.
- Download the alternative deployment script attached to this article.
- Extract the zip file.
Note: The alternative deployment script is attached as a zip file to this article.
Running the deployment script
Use PowerShell to run the deployment script with your specific values.
To deploy the function app:
- Open PowerShell.
- Navigate to the directory containing the extracted deployment script.
- Run the following command, replacing the placeholder values with your actual Resource Group Name, Function App Name, and the path to your downloaded email tracking package:
./Deploy-FunctionApp.ps1 `
-ResourceGroup 'OnePlaceMailEmailTracking' `
-FunctionAppName 'emailtracking-rtayog3uqpowq' `
-ZipPath 'C:\Users\yourname\Downloads\IdeagenMailManagerEmailTracking-20260729.zip'- Wait for the script to complete.
- Verify that the output displays "deployment complete".
Completing the setup
After the deployment completes successfully, you need to swap the deployment slots and finish the configuration.
To finalise the email tracking setup:
- Swap the deployment slots in your Azure Console.
- Continue with the remaining configuration steps in Setting up email tracking and automation – Ideagen Mail Manager • Enterprise.