← AZ-204: Azure development, historical path
AZ-204 retired July 31, 2026. Independent historical content without Microsoft affiliation, accreditation, or certification award. Microsoft and Azure are trademarks of their respective owners. Fictional scenarios do not represent internal banking procedures.
04 / 6 · 25 MIN

Identity, tokens, and authorization

Connect the right identity to the right operation and resource.

Concept and mechanism

Authentication establishes identity; authorization decides the permitted operation. A managed identity avoids managing an application password but needs destination permissions. Its lifecycle also matters: a user-assigned identity exists independently of the resource using it. A signed, unexpired token may have been issued for another API. The receiving resource must validate audience, issuer, and other applicable conditions. Afterward, it still needs access rules for the specific requested object.

Guided application

For a Graph job without a user, assess app-only access and permissions supported by the operation. In an RBAC vault, separate resource management from reading values. To delegate temporary blob access, limit SAS scope, operations, and lifetime and treat it as a credential. Do not assume every SAS type shares revocation or stored access policies. At handover, record principal, role, scope, owner, and functional verification without including tokens or secrets in the document.

IN PRACTICE

A GetSecret 403 with confirmed networking and Key Vault Contributor requires checking data-plane access, not opening the vault to the Internet.

Common pitfalls

Accepting a Graph token in your own API; confusing Reader with secret-value access; hiding interface IDs as the only control.

Related topics: Telemetry and request diagnosis · Messages, events, and API contracts

Take this idea with you

Validate identity and authorization at each relevant boundary.

Create account

Reference: Access tokens · AZ-204 archived objectives 2026-01-14; retired 2026-07-31