An Azure service that provides messaging queues in the cloud.
Hi @ Afif,
Welcome to Microsoft Q&A Platform.
I understand that you are unable to access the storage account even though you have the required role. Please note that RBAC is used for authentication; however, if the storage account is not reachable from your device, you may still encounter access errors.
To resolve this issue, first verify whether the storage account is reachable from your device. If the storage account is configured with a private endpoint and public access is disabled, ensure that your network has proper connectivity to the private endpoint.
Note: Another important consideration when validating this solution is that
nslookupis not the appropriate tool to validate private endpoint DNS resolution, Windows 10 includes a feature called the Network Resolution Policy Table, and VPN connections add DNS configuration entries into the NRPT, which affects name resolution behavior.
Please test the DNS result using the command below.
Resolve-DNSName teststorage1rtg.blob.core.windows.net
If the IP is resolving to a public IP instead of the private endpoint IP, the issue is likely related to DNS rather than authentication (RBAC).
There are multiple ways to resolve DNS issues when a storage account is configured with a private endpoint:
Option 1: Add the private endpoint IP and corresponding FQDN entry in the local hosts file. This is a simple and quick workaround.
Option 2: Configure a DNS Private Resolver and set up a conditional forwarder on your local DNS server to forward requests to the Azure DNS resolver.
Refer: Traffic flow for an on-premises DNS query for more details
Please
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.