Microsoft Entra Global Secure Access

PowerShell samples for Global Secure Access

In brief

Use these PowerShell samples to automate common Global Secure Access tasks, including connector registration, client install, traffic forwarding bypasses, break glass scenarios, TLS certificate creation, operations monitoring, and recovery.

What Entra admins need to know

Review the documentation change to determine whether it affects tenant configuration, security posture, or rollout plans.

This editorial summary was generated by AI from the documentation changes. Verify important details in the full Microsoft Learn article.

Documentation change

Open on Microsoft Learn ↗

The comparison below is an extract of the Microsoft Learn article showing only the changed content. Open the full article for complete context.

| Create and sign TLS certificates using Active Directory Certificate Services | Generate a certificate signing request through the TLS inspection Graph API, sign it with ADCS, and upload the certificate and chain to TLS inspection settings. | | Create and sign TLS certificates using OpenSSL | Generate a certificate signing request through the TLS inspection Graph API, sign it with a self-signed root CA created by OpenSSL, and upload the certificate and chain to TLS inspection settings. |

Operations monitoring

SampleDescription
Shared helper functions for operations scriptsUse shared authentication, Log Analytics token, and alert email helper functions for operations automation scripts.
Verify configuration backup complianceCheck recent Azure Automation jobs for your Global Secure Access configuration backup runbook and alert when backups fail or miss a scheduled run.
Check role assignment reviewsQuery Global Secure Access-related role assignments and identify administrator accounts that need quarterly review.
Calculate alert noise ratioCalculate the Microsoft Sentinel alert noise ratio for Global Secure Access detections and identify noisy analytics rules.

Recovery

SampleDescription
List Microsoft Entra snapshotsList Microsoft Entra Backup and Recovery snapshots for the tenant and identify the latest available snapshot.
Preview Microsoft Entra recoveryCreate a non-destructive recovery preview job scoped to directory objects that affect Global Secure Access.
Run Microsoft Entra recoveryRun a Microsoft Entra recovery job after reviewing and approving the matching preview job.

Related content