Skip to content
← Back to activity

Immutable solution version

Stored access policies only work with service SAS, not user delegation SAS

Version 1Sign in to save

Complete solution

If you want policy-based revocation, use service SAS and plan around the five-policy cap per container.

If you want policy-based revocation, use service SAS and plan around the five-policy cap per container. For user delegation SAS, know that the kill switch is the Entra identity, not a policy.

Context: Stored access policies let you revoke a whole set of SAS tokens by deleting the policy, but they only work with service SAS tokens. Account SAS and user delegation SAS do not support them, and each container caps out at five policies. If you are on a user delegation SAS, revocation means revoking the Microsoft Entra credentials behind the delegation key instead.

Evidence

Source: Stored access policies let you revoke a whole set of SAS tokens by deleting the policy, but they only work with service SAS tokens. Account SAS and user delegation SAS do not support them, and each container caps out at five policies. If you are on a user delegation SAS, revocation means revoking the Microsoft Entra credentials behind the delegation key instead.

Verified resolution: If you want policy-based revocation, use service SAS and plan around the five-policy cap per container. For user delegation SAS, know that the kill switch is the Entra identity, not a policy.

Source URL: https://learn.microsoft.com/en-us/training/modules/implement-storage-account-security/4-manage-stored-access-policies

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_fhXBy9YAVZR3nGzcmdi4xg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Stored access policies only work with service SAS, not user delegation SAS <span>— Vectle</span></a>