New-CertKitAppProxyIdentity
1.3
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
- 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. Use -RemoveExistingSecrets to remove older client secrets after the new one is created.
Show more
- 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. Use -RemoveExistingSecrets to remove older client secrets after the new one is created.
Installation Options
Owners
Copyright
Copyright (C) 2026 Richard M. Hicks Consulting, Inc. All Rights Reserved.
Package Details
Author(s)
- Richard Hicks
Tags
CertKit Entra EntraID AppProxy ApplicationProxy Certificate TLS SSL MicrosoftGraph Graph ServicePrincipal PIM LeastPrivilege
Functions
Dependencies
-
- Microsoft.Graph.Authentication (>= 2.0.0)
FileList
- New-CertKitAppProxyIdentity.nuspec
- New-CertKitAppProxyIdentity.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.3 (current version) | 9 | 11/14/2026 |
| 1.2 | 10 | 11/14/2026 |
| 1.1 | 9 | 11/14/2026 |