New-CertKitAppProxyIdentity

1.2

This script creates everything CertKit needs to deploy certificates to Microsoft Entra Application Proxy applications using client secret authentication, following least privilege.

- A dedicated app registration and service principal for CertKit.
- A custom Entra role that can only read Application Proxy settings and update the Application Proxy SSL certificate.
- Th
This script creates everything CertKit needs to deploy certificates to Microsoft Entra Application Proxy applications using client secret authentication, following least privilege.

- A dedicated app registration and service principal for CertKit.
- A custom Entra role that can only read Application Proxy settings and update the Application Proxy SSL certificate.
- The read-only Microsoft Graph application permission Application.Read.All, used by CertKit to find App Proxy applications.
- A tenant-wide assignment of the custom role to the CertKit service principal, made directly or through Privileged Identity Management (PIM).
- A client secret, which is copied to the clipboard and never displayed on screen.

The script is safe to run more than once. Existing objects with the same names are reused, and existing role and permission assignments are not duplicated. A new client secret is created on every run.

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name New-CertKitAppProxyIdentity -RequiredVersion 1.2

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Copyright (C) 2026 Richard M. Hicks Consulting, Inc. All Rights Reserved.

Package Details

FileList

Version History

Version Downloads Last updated
1.3 9 11/14/2026
1.2 (current version) 10 11/14/2026
1.1 9 11/14/2026