All sources
Integration
Microsoft Defender for Cloud
Pull Defender for Cloud recommendations. Lighter-scope than the full Azure connection — needs only Security Reader on the subscriptions you want scanned.
Connect with Service Principal
Auth mode: ServicePrincipal · scope: Security Reader
What you'll need
Tenant ID — Microsoft Entra ID directory id.
Client ID — App Registration Application (client) ID.
Client Secret — secret value (not its ID).
Security Reader role on every subscription you want pulled.
Reuse the Azure SP if it already has Security Reader — VinTekh stores each connector's credentials separately so rotation is independent.
One-line bootstrap
Run once in Cloud Shell
SUB=$(az account show --query id -o tsv) az ad sp create-for-rbac \ --name VinTekh-Defender \ --role "Security Reader" \ --scopes /subscriptions/$SUBDefender role docs