How to get using PowerShell scripts

This cmdlet can be used to obtain the service principals in an Azure Active Directory environment.

Azure PowerShell syntax

 Copied
Get-AzADServicePrincipal
[-DefaultProfile <IAzureContextContainer>]
[-IncludeTotalCount]
[-Skip <UInt64>]
[-First <UInt64>]
[<CommonParameters>]
Click to copy entire script

Example:

The following is an example script for fetching the service principal names using display name:

 Copied
Get-AzADServicePrincipal -DisplayName Example-Application
Click to copy entire script

About ManageEngine ADManager Plus

ManageEngine ADManager Plus helps administrators manage and report on the identities across Active Directory (AD), Azure AD, and Google Workspace environments. Here are some highlights of the product:

  • 360-degree identity provisioning across AD, Azure AD, and Google Workspace platforms.
  • √íver 200 comprehensive prepackaged reports.
  • Automated and orchestrated user lifecycle management.
  • Secure and role-based delegation of tasks.
  • Workflow-controlled automation execution.
  • Integration with HCM, ITSM/help desk, and log forwarding applications.
  • Backup and restoration capabilities across AD, Azure AD, and Google Workspace platforms.

To learn more about ADManager Plus, click here.

Simplify Azure AD management and reporting with ADManager Plus

  Get 30-day free trial.
  • Embark on your script-free AD management, reporting, and automation journey with ADManager Plus.
  •  
  • By clicking 'Start your free trial now', you agree to processing of personal data according to the Privacy Policy.
  • Thanks
  • Your download should begin automatically in 15 seconds. If not, click here to download manually.

Related Powershell How-to Guides:

The one-stop solution toActive Directory Management and Reporting

Email Download Link