What is a Service Principal and how is it used in automation?
- Service Principal is a security identity for apps or automation.
- Used for authentication in scripts, CI/CD pipelines, and service-to-service
communication.
Example – Azure CLI login:
az login --service-principal -u <appId> -p <password> --tenant
<tenantId>