Configure For Power Automative
For additional support, create a ticketPREPARATION
The Power Automate interface can work with either SSL or without. However, unlike the Power Translator app, it requires an address that is routable with public DNS. The AppReg script that is provided assumes that the same hostname, port, and scheme are used for the app and for Power Automate, but that can easily be changed afterward.
PointFire Translator server communicates via TCP on port 33080 or 33443. These ports are typically blocked by default rules on network and server firewalls. If the server is using Windows Firewall, you will need to create inbound rules to open those ports, using Microsoft Management Console or netsh. If the server is an Azure VM, you will also have to go to the Azure Portal on the VM's Networking tab to add inbound port rules for those two ports.
INSTALLATION
Before the Power Automate can be used to translate pages or documents, it is essential to register it and grant it the necessary permissions through the Azure Active Directory portal corresponding to the SharePoint Online tenancy.
The simplest way to do this is to use the “AppReg.ps1” script. This script will register the PointFire Translator server for use with Power Automate, and will also carry out the steps to use it with the PointFire Translator app. The script will log in once to register and request permissions, and a second time to grant the permissions. If you wish to re-run the script after successfully registering the application, you will need to delete the “PointFire Translator” application in AzureAD. The appropriate Power Automate parameters are saved in a Swagger file that can be imported as a custom connector by Power Automate.
To accomplish this registration manually instead of using the script, follow the steps below.
1. If you have already configured a PointFire Translator entry in Azure AD App Registrations for the Translator App with Delegated Permission for SharePoint, you can also configure it for app-only access to SharePoint. Alternatively, you can register a new App for use with Power Automate whether or not there is already a PointFire Translator App registered.
Go to https://portal.azure.com/ and click on "App Registrations", then click on "New registration" (or select the existing registration) It should allow only accounts within this tenant, and in the case of Power Automate only no redirect URI is required. Then click on "API permissions" then "Add a permission", then choose "SharePoint". Select "Application permissions". The permission that is required is "Sites.FullControl.All". You will probably need to Grant admin consent to this API permission.
![Register application with Application permissions](https://cdn.prod.website-files.com/667ae253e13cfe3362e5fe6a/667ae253e13cfe3362e5ff72_RegistrationAppPermissions.jpeg)
2. Run the Create-SelfSignedCertificate.ps1 script to create a .cer and a .pfx file in the PFX subdirectory. When prompted for the name, avoid characters that are not valid in file names and characters that need to be URLencoded. Make sure that the file name and the password are hard to guess and are kept confidential, as well as the App ID, since access to all three can give someone unauthorized access.
3. Upload the new .cer file to the App registration under Certificates and Secrets.