Hi @Rafael CST
Welcome to Microsoft Q&A Forum. Thanks for posting your query here!
As we see from the above provided information that there are connection issues when trying to connect to Data Lake Gen2 from Azure VM using Power BI also from Azure Storage Explorer.
As per the above error message, issue could be related to network configuration or authorization issue.
Please try checking the below suggestions to get the issue resolved.
- If there are any firewall settings made, please do check the firewall settings and make sure that the firewall settings for the storage account are properly configured to allow access from the VM. You can do this by checking the firewall settings in the Azure portal and ensuring that the IP address of the VM is added to the allowed IP addresses.
- checked if your account has the necessary permissions to access the Data Lake Gen2? check if your account has been granted the
Storage Blob Data Contributor role
or the Storage Blob Data Owner role.
- If you have already checked your access permissions and they seem to be in order, then the issue might be related to the VM and storage account which are located in the same region. In this case, the connection might not be using the public IP address.
- Check the region settings: If the VM and the storage account are located in the same region, it's possible that the connection is not using the public IP address. To resolve this, you can try connecting to the storage account using the private IP address of the storage account.
Later, after trying the above. Please do test the connectivity by using the Azure Storage Explorer to test connectivity from the VM. If you continue to receive authorization errors, it may indicate that the VM's network configuration is preventing access.
If the above steps don't work, please do check if there are any network security groups or virtual network service endpoints that might be blocking the connection.
For more information, please refer the below link which might be helpful.
Hope the above give suggestions helps in resolving the issue.
Please do let us know if there is any else or the issue still persists. We will be glad to assist you closely.
Please do consider to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.