Running PowerShell script for Entra ID app registration

You need to complete the steps on the Add Permissions to the App Registration page before starting the steps on this page.

Important: After downloading the script you need to rename the file extension to .ps1 before you run it.

Use this PowerShell script to generate a certificate and private key that can be used to connect your Entra ID app registration to SaaS Backup.

Supported Formats:

  1. Open PowerShell on your PC as an Administrator.
  2. Enable execution of PowerShell scripts on your PC with the following command:
  3. Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
  4. Note: If you exit PowerShell, you will have to run this command again to run scripts
  5. Download the newest version of the script from: https://help.keepit.com/helpdesk/attachments/6196263740 and save it to a preferred location and navigate to that location.
  6. For example: C:\Users\(Your username)\Documents\Multiapp and then change directories to that location by typing:
  7. cd C:\Users\(Your user name)\Documents\Multiapp
  8. Rename the file extension to .ps1 and run the following command:
  9. ./generate-self-signed-cert.ps1
  10. Enter the PubKeyFileName with a .key at the end (see image below) and click Enter.
  11. Note: You will need this name in the next steps:
  12. Enter the PriveKeyFileName with a .key at the end then click Enter.
  13. Enter the Certificate file name with an .cer extension.
  14. Enter the following information as prompted:
  15. When all the information is entered, the certificate will be generated and saved in the location where the script was saved.

Go to the Using Your Own Certificate page and complete the steps on that page as applicable.