/azure-identity-scripts

Azure Identity Scripts for Entra ID & Azure DevOps Service Connections

Primary LanguagePowerShellMIT LicenseMIT

Azure Identity Scripts

gh-secrets-ci Build Status Build Status Build Status

This repo contains a few PowerShell scripts that use the Azure CLI to create or find Entra ID objects:

Entra ID

  • Find Service Principal or Managed Identity with find_workload_identity.ps1, using any of these as argument:
    • Application/Client id
    • Object/Principal id
    • (Display) Name
    • Service Principal Name
    • Resource id of a resource with a System-assigned Identity
    • Resource id or name of a User-assigned Identity
  • Use Microsoft Graph to list Managed Identities with list_managed_identities.ps1, using:
    • Azure subscription and optional resource group
    • Name (pattern)
  • Purge deleted directory objects (e.g. applications): purge_deleted_objects.ps1
  • Add IT Service Management data (reference, co-owner) to applications: add_app_itsm_information.ps1

Azure DevOps

Terraform-managed Azure Service Connection

Moved to geekzter/azure-service-connection.

GitHub