Microsoft Entra application proxy PowerShell examples

The following table includes links to PowerShell script examples for Microsoft Entra application proxy. These samples require the Microsoft Graph Beta PowerShell module 2.10 or newer, unless otherwise noted.

For more information about the cmdlets used in these samples, see application proxy application management and private network connector management.

Link Description
Application proxy apps
List basic information for all application proxy apps Lists basic information (AppId, DisplayName, ObjId) about all the application proxy apps in your directory.
List extended information for all application proxy apps Lists extended information (AppId, DisplayName, ExternalUrl, InternalUrl, ExternalAuthenticationType) about all the application proxy apps in your directory.
List all application proxy apps by connector group Lists information about all the application proxy apps in your directory and which connector groups the apps are assigned to.
Get all application proxy apps with a token lifetime policy Lists all application proxy apps in your directory with a token lifetime policy and its details.
Connector groups
Get all connector groups and connectors in the directory Lists all the connector groups and connectors in your directory.
Move all apps assigned to a connector group to another connector group Moves all applications currently assigned to a connector group to a different connector group.
Users and group assigned
Display users and groups assigned to an application proxy application Lists the users and groups assigned to a specific application proxy application.
Assign a user to an application Assigns a specific user to an application.
Assign a group to an application Assigns a specific group to an application.
External URL configuration
Get all application proxy apps using default domains (.msappproxy.net) Lists all the application proxy applications using default domains (.msappproxy.net).
Get all application proxy apps using wildcard publishing Lists all application proxy apps using wildcard publishing.
Custom Domain configuration
Get all application proxy apps using custom domains and certificate information Lists all application proxy apps that are using custom domains and the certificate information associated with the custom domains.
Get all Microsoft Entra ID Proxy application apps published with no certificate uploaded Lists all application proxy apps that are using custom domains but don't have a valid TLS/SSL certificate uploaded.
Get all Microsoft Entra ID Proxy application apps published with the identical certificate Lists all the Microsoft Entra ID Proxy application apps published with the identical certificate.
Get all Microsoft Entra ID Proxy application apps published with the identical certificate and replace it For Microsoft Entra ID Proxy application apps that are published with an identical certificate, allows you to replace the certificate in bulk.