Vision Report+ / Administration Guide
Configuration Utility settings
This chapter configures remote links, mail, report approval, Teams, report file storage, printing and change tracking in the Configuration Utility.
Overview
This chapter configures remote links, mail, report approval, Teams, report file storage, printing and change tracking in the Configuration Utility.
These pages follow the PI Vision Toolbar page in the Configuration Utility (see Configuration Utility first run in the Installation Guide). You can run the utility again at any time: after Confirm on the AF Database page it loads the current settings from AF. Changes take effect when you click Apply on the Apply Configuration Change page; the service picks them up within one minute. As in the Reports pane settings, this needs a PI Web API administrator; otherwise the page says the changes apply only after PI Web API restarts (see Reports pane settings).
Settings that the utility does not show, such as debug logging and missed trigger recovery, are kept unchanged when you apply. For every AF configuration attribute, see Configuration attributes.
Remote URL for links
Set a remote URL when users open PI Vision from outside the company network, for example on a phone through Microsoft Entra application proxy or another reverse proxy.
- On the Configure PI Vision Server page, enter the full PI Vision address in Remote URL, for example
https://pivision-contoso.msappproxy.net/PIVision. - Check the hint below the field. Next stays disabled until the URL is an absolute
httporhttpsURL without query or fragment. - Click Apply on the Apply Configuration Change page.
Display links in report and print emails, the links in approval and decline emails, and the report and display links in Teams messages then use the remote URL instead of https://<PI Vision host>/PIVision. Display links to other hosts stay unchanged. The service still renders every report through the PI Vision host. Leave Remote URL blank to keep the PI Vision host in all links.
Note: The remote URL must reach the same PI Vision installation with the Vision Report+ toolbar, because the links contain display IDs and Reports pane actions. Users still sign in through the proxy.
SMTP server
On the Configure SMTP Server page, configure the mail server that sends report emails and approval notifications. To skip mail, leave Enabled off.

- Turn on Enabled and keep Transport SMTP (for Microsoft Graph, see Microsoft 365 with Microsoft Graph).
- Enter Smtp Server and Port (default
587). - Enter Sender Email and, optionally, Sender Display Name (default
Vision Report). - Select the Authentication that the server expects (see the table below) and fill in its fields.
- Turn Enable SSL on or off to match the server. Off never uses TLS, even if the server offers it. On uses TLS from the start on port
465and STARTTLS on every other port. - Enter a Test Recipient and click Send. The page reports Mail successfully sent. Please check your inbox., or the server's error with a hint on how to fix it.
| Authentication | Use it for | Fields |
|---|---|---|
| None (relay) | An internal relay, Exchange Server or a Microsoft 365 connector that accepts mail from this server without a sign-in | None |
| User name and password | Servers that accept a user and password, for example SMTP services with an app password | User, Password |
| OAuth 2.0 (Microsoft 365) | Microsoft 365 (Exchange Online) over SMTP | Mailbox (optional), Microsoft Cloud, Tenant ID, Client ID, Client Secret or Certificate Thumbprint, HTTPS Proxy (see Microsoft 365 with OAuth 2.0) |
Installations upgraded from earlier versions keep their settings: with a User they use User name and password, without one None (relay).
Microsoft 365 with OAuth 2.0
Exchange Online disables user name and password (basic authentication) for SMTP by default at the end of December 2026; sends then fail with 550 5.7.30 or 535 5.7.139. With OAuth 2.0, Vision Report+ signs in as an application registered in Microsoft Entra ID. Until you switch, a Microsoft 365 administrator can re-enable basic authentication for the tenant while Microsoft still allows it.
Prerequisites: a Microsoft 365 administrator, a sender mailbox (a shared mailbox works), and outbound HTTPS (443) to login.microsoftonline.com and SMTP (587) to smtp.office365.com.
- In the Microsoft Entra admin center, open App registrations > New registration and register
Vision Report+ Mailfor this organization only. Note the Application (client) ID and Directory (tenant) ID. - Under Certificates & secrets, create a client secret and copy its Value, or upload a certificate's public key and import the certificate with its private key into Local Computer > Personal on every server, readable by the service account.
- Under API permissions, click Add a permission, select APIs my organization uses > Office 365 Exchange Online > Application permissions > SMTP.SendAsApp, and click Grant admin consent.
- Allow the application to use the sender mailbox in Exchange Online PowerShell (commands below). Take the object ID from Enterprise applications, not from App registrations.
- In the Configuration Utility, enter
smtp.office365.com, port587, turn on Enable SSL, select OAuth 2.0 (Microsoft 365), and enter Tenant ID, Client ID and the Client Secret or Certificate Thumbprint. - Send a test mail.
Connect-ExchangeOnline
New-ServicePrincipal -AppId <Application (client) ID> -ObjectId <Enterprise application object ID> -DisplayName "Vision Report+ Mail"
Add-MailboxPermission -Identity reports@contoso.com -User <Enterprise application object ID> -AccessRights FullAccess
Set-CASMailbox -Identity reports@contoso.com -SmtpClientAuthenticationDisabled $false
Tokens are renewed automatically; renew the client secret before it expires. Mailbox (optional), Microsoft Cloud and HTTPS Proxy are described in Configuration attributes.
Microsoft 365 with Microsoft Graph
Select Transport Microsoft Graph (HTTPS, Microsoft 365) when the server may only connect outbound over HTTPS, for example in OT networks where port 587 is blocked but an HTTPS proxy is available. Vision Report+ then sends through the Microsoft Graph API instead of SMTP, with the same app registration fields. Server, port, SSL and authentication are not used. Attachments of up to 150 MB are uploaded in parts; the Exchange Online message size limit (35 MB by default) still applies.
Prerequisites: outbound HTTPS (443) to login.microsoftonline.com and graph.microsoft.com, directly or through HTTPS Proxy, and the app registration from steps 1 and 2 above.
- Allow the application to send as the sender mailbox. Recommended: in Exchange Online PowerShell, assign the role
Application Mail.Sendlimited to the sender mailbox (commands below). Alternatively, add the Microsoft Graph > Application permissions > Mail.Send permission and grant admin consent; this allows sending as every mailbox of the tenant. - In the Configuration Utility, select Transport Microsoft Graph (HTTPS, Microsoft 365), enter Sender Email, Tenant ID, Client ID and the Client Secret or Certificate Thumbprint.
- Send a test mail.
Connect-ExchangeOnline
New-ManagementScope -Name "Vision Report+ senders" -RecipientRestrictionFilter "PrimarySmtpAddress -eq 'reports@contoso.com'"
New-ManagementRoleAssignment -App <Enterprise application object ID> -Role "Application Mail.Send" -CustomResourceScope "Vision Report+ senders"
New-ManagementRoleAssignment needs the service principal from step 4 of Microsoft 365 with OAuth 2.0 (New-ServicePrincipal). If New-ManagementScope reports that the command is not allowed in your organization, run Enable-OrganizationCustomization once and retry after it has completed. Do not also grant Mail.Send in Entra ID, because that permission applies to all mailboxes regardless of the scope.
Report approval
On the Report Approval page, configure the installation-wide approval policy. With approval, a PDF report run is held as a draft until an approver approves it; only then is it delivered. Approving and declining are described in the User Guide.

| Setting | Description |
|---|---|
| Enabled | Allows reports to require approval before final delivery. |
| PDF Evidence | Adds the approval information to the final PDF: Dedicated approval page, Approval footer on every page, or Approval page and footer. |
| Default AF Identities | Optional approver identities for reports that use the defaults. Leave all unselected when inherited AF security already grants the required Annotate permission. |
| Default Recipients | Optional email addresses notified when approval is required, one per line. Shown only when SMTP is configured; approval also works without notifications. |
Defaults apply only to reports configured to use them; report-specific selections stay unchanged. The same settings are available to PI Vision administrators in the Reports pane Settings (see Reports pane settings and System Status).
For each approval execution, the service grants Read, ReadData and Annotate directly to the report's approver identities. Approval is refused when other, non-administrative identities also have Annotate on the ReportExecution event frame template, so remove Annotate from those identities.
Teams channel integration
Vision Report+ sends execution alerts and display links to Microsoft Teams channels through Microsoft Teams Workflows (Incoming Webhooks). It only needs outbound HTTPS access; no Azure Entra ID app registration or inbound firewall rule is required. Only the optional upload of report files to SharePoint (SharePoint upload) uses an app registration.
Network and firewall requirements
The server running the Vision Report+ service must reach Microsoft's cloud endpoints. If it is behind a strict firewall, allow this outbound traffic:
| Item | Requirement |
|---|---|
| Protocol and port | TCP 443 (HTTPS) |
| Direction | Outbound only (no inbound rules required) |
| Destination URLs | *.environment.api.powerplatform.com (Microsoft Teams Workflows are built on the Microsoft Power Platform) |
| Optional destination | *.logic.azure.com (recommended; used by some legacy or region-specific Microsoft routing) |
Note: The webhook URL contains a unique security signature token (&sig=...), so no additional API headers or authentication tokens need to be configured in the firewall.
Generate a Teams webhook URL
To test the integration, generate a webhook URL from a Microsoft Teams channel.
- Open Microsoft Teams and navigate to the channel where you want to send the test notification.
- Click the More options (...) icon next to the channel name and select Workflows. If you do not see Workflows, ask your IT administrator to enable the Workflows app in Teams.
- Search for the template Post to a channel when a webhook request is received.
- Click the template, give it a recognizable name (for example Vision Report+ Webhook) and click Next.
- Verify that the correct team and channel are selected, and then click Add workflow.
- Copy the generated webhook URL to your clipboard.
Enable and test Teams
On the Teams Channel Integration page, enable the feature and verify connectivity from the server.

- Turn on Enabled. This enables Teams delivery for the service globally.
- Paste the generated URL into Webhook URL.
- Click Test. The utility sends a test Adaptive Card; on success it reports Teams test message sent successfully. and the card appears in the channel.
- If the test fails, check the outbound firewall rules and make sure the URL was copied completely.
Note: This URL only verifies connectivity. Report authors enter the actual channel webhook URLs in each report.
Report file storage
On the Report File Storage page (sidebar Local Reports), check that output files can be stored in the PI System, and optionally keep a local copy.
Vision Report+ always stores generated files (PDF, PNG, XLSX, CSV) as annotation attachments of the execution event frames. Before deleting its temporary files, the service compares the stored size with the local file. Some PI Web API environments, proxies or security products alter binary uploads; such PDFs then open blank.

- Next to PI System Storage, click Test upload. The utility uploads a small test file to a temporary event frame, downloads it, compares the bytes, tries the encoded fallback if needed, and deletes everything again.
- Read the result (see the table below). The test runs as your own identity; the service uploads as its own service account.
- To keep an additional copy of every output file, turn on Save Copy Locally and select the Path (local or network folder). The service account needs write access to it.
| Result | Meaning | Action |
|---|---|---|
| File uploads work correctly. | Files are stored unchanged. | None. |
| Your PI Web API changes binary file uploads. ... | Binary uploads are altered, but the encoded fallback works. | None required. To store files in their original form, ask your PI administrator to check PI Web API and any proxy or security software in between. |
| Report files cannot be stored in the PI System until this is resolved | Both uploads failed. | Check annotation write permissions, the PI Web API allowed attachment file types (including txt), and proxies or security software between the server and PI Web API. |
When the service detects an altered upload, it deletes the damaged attachment and stores the file Base64-encoded as <file>.vrp64.txt (description suffix (Base64 encoded)). After one detection, the service node uploads encoded files directly for 60 minutes. The Reports pane and the Print pane decode these files transparently; older toolbars cannot open them, so update all servers together.
If storing still fails, the execution completes with errors and the files stay in the local output folder. The service log records each upload with file names, sizes and annotation IDs (search for Output persistence or Encoded attachment).
Printing
On the Printing page, select the printers that reports may print to.
- Turn on Enabled.
- In Printers, check every printer report authors may select. The service prints only to these printers; a report or print that names another printer completes with errors and nothing is printed. The list shows the printers installed on this server; Microsoft Print to PDF and Microsoft XPS printers are not offered.
Printers must be installed on the server running the service and be usable by the service account without a dialog. Printing fails fast: an unavailable or interactive printer produces a visible error or Completed with Errors, and the generated files remain available. Print timeout and parallel print jobs are service defaults (see Service defaults).
Change tracking
On the Change Tracking page, turn on Enabled to require a reason for every change a user makes to a report. Each saved change is stored as a version, so users can see the change history and revert to previous versions.


