Deploying email tracking error - Upload interrupted: exception calling "GetRequestStream"
Who is this article for?
Administrators who receive the error - Upload interrupted: exception calling "GetRequestStream.
Administrator permissions are required.
If you receive an "Upload interrupted: exception calling GetRequestStream" error when installing email tracking, you can deploy email tracking using an alternative PowerShell method.
Getting the required variables
Before running the deployment command, you need to gather specific information from your Azure Console.
To retrieve the required variables:
- Open your Azure Console > Search resource group and function app
- Note your Resource Group Name.
- Note your Function App Name.
Downloading the required files
You need two files to complete the deployment: the email tracking package and the 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 deployment script from https://upd.Ideagen Mail Manager.com/public-uploads/20261020_024130Z-deployCode_alternative-OCT26.zip.
- Extract the deployment script.
Running the deployment command
Use PowerShell to run the deployment command 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 as detailed in the below article.
- Continue with the remaining configuration steps in Setting up email tracking and automation – Ideagen Mail Manager • Enterprise.