When working with Shared Access Signatures (SAS) in Azure Blob Storage, the “Allowed IP addresses” field is optional. If you leave it blank, the SAS token permits access from any IP address, effectively avoiding IP-based restrictions. However, if you want to restrict access to specific IP addresses or ranges, you’ll need to configure this field.
Note that Azure Storage doesn’t store the SAS tokens; it validates them when it receives a request via the SAS URL. So generating separate tokens won’t invalidate or remove previous ones. Ensure that the new SAS tokens include the appropriate permissions (e.g., read, write, or delete) required for your specific operations.
The request is declined If the SAS token is deemed invalid. If so, error code 403 (Forbidden) is returned. Hence, verify the SAS token settings and ensure that the correct permissions and IP addresses are configured. The error message you received indicates that the request is not authorized, likely due to missing or incorrect permissions or IP restrictions. Double-check your SAS token configuration and consider specifying the allowed IP addresses to address this issue.Hope this helps! Please let us know if you have any further queries. I’m happy to assist you further.
Please "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.