How to get the metadata and endpoints for an Azure service instance using PowerShell cmdlets.
Written by Titus Manohar, IT security team, ManageEngine Updated on November 2025
Description:
Executing this command fetches the endpoints and metadata for an instance of Azure services.
The following are some of the details that can be obtained by running Get-AzEnvironment command:
- Name of the Azure instance.
- Resource Manager Url.
- Active Directory Authority.
Syntax:
Example:
| Name | Resource Manager Url | ActiveDirectory Authority |
|---|---|---|
| AzureCloud | https://management.azure.com/ | https://login.microsoftonline.com/ |
This example shows Get-AzEnvironment cmdlet being used to get endpoints and metadata for the Azure instance named 'AzureCloud'.
About ADAudit Plus
ADAudit Plus is a UBA-driven change auditor that helps keep your Active Directory, Azure AD, Windows file servers, NetApp filers, EMC file systems, Synology file systems, Windows member servers, and workstations secure and compliant. For more information on ADAudit Plus, visit https://www.manageengine.com/active-directory-audit/.
Explore Active Directory auditing and reporting with ADAudit Plus.
- Related Products
- ADManager Plus Active Directory Management & Reporting
- ADAudit Plus Real-time Active Directory Auditing and UBA
- EventLog Analyzer Real-time Log Analysis & Reporting
- ADSelfService Plus Self-Service Password Management
- AD360 Integrated Identity & Access Management
- Log360 (On-Premise | Cloud) Comprehensive SIEM and UEBA
- AD Free Tools Active Directory FREE Tools
