SC-300 study notes · 20–25% of the exam
Plan and implement workload identities
First draft for review. Check details against Microsoft Learn before relying on them.
What this area covers
Identities for apps and Azure workloads, enterprise app integration and consent, app registrations, and controlling app access with Defender for Cloud Apps.
Workload identities
- Managed identities work for Azure-hosted workloads and need no stored secrets.
- System-assigned: one per resource, deleted along with it.
- User-assigned: a standalone resource you can share.
- Grant them RBAC roles. Code gets tokens from IMDS (169.254.169.254).
- Service principals suit apps outside Azure. Use certificates or federated credentials, for example for GitHub Actions.
- gMSAs are for services running on-premises.
Enterprise applications
- Assignment required and Visible to users control who can sign in and what appears in My Apps.
- Roles:
- Application Administrator covers everything, including Application Proxy.
- Cloud Application Administrator covers everything except Application Proxy.
- Application Developer can create registrations.
- Owners manage a single app.
- Application proxy publishes on-premises web apps with pre-authentication. Connectors need outbound 443 only. Use KCD for apps that use Integrated Windows Authentication, and the header-based option for apps that read identity from headers.
- SaaS SSO: SAML, OIDC, password-based or linked. Provisioning uses SCIM.
- App roles are assigned to users and groups. Group assignment needs P1, and nested groups aren't supported.
- Consent:
- Restrict user consent to verified publishers and low-impact permissions.
- Turn on the admin consent workflow.
- Application permissions always need admin consent.
- Collections group apps into tabs in My Apps.
App registrations
- Pick the supported account type, usually single tenant for internal apps.
- Registering creates an application object and a service principal.
- Platforms:
- SPA uses the auth code flow with PKCE.
- Web apps are confidential clients.
- Desktop and mobile apps are public clients.
- Delegated permissions act for a user. Application permissions act as the app itself.
- App roles appear in the token's
rolesclaim. Add optional claims for extra attributes.
Defender for Cloud Apps
- Cloud discovery draws on Defender for Endpoint, log collectors or snapshots. Mark apps sanctioned or unsanctioned.
- App connectors use APIs for visibility and governance.
- Conditional Access app control proxies sessions. Access policies run at sign-in, and session policies act during the session, for example to block downloads.
- OAuth app policies and app governance catch risky consents.
- The cloud app catalog risk score can be tuned by reweighting its metrics.