@Alexander OliverIt seems that you are getting a Forbidden (HTTP 403) error when trying to connect to your Azure blob container from RStudio. This error usually indicates that the authentication process failed, and the server could not verify your request. There are a few possible reasons for this error, such as:
- You are using an invalid or expired account key, SAS token, or authorization header.
- You are using a wrong or mismatched account name, container name, or blob name.
- You are using a different or unsupported protocol, such as HTTP instead of HTTPS.
- You are using a proxy or firewall that blocks or modifies your request.
To troubleshoot this error, you can try the following steps:
- Check your account key, SAS token, and authorization header and make sure they are valid, correct, and match the account name and container name you are using. You can use the Azure portal or the Azure Storage Explorer to generate or verify these credentials.
- Check your account name, container name, and blob name and make sure they are spelled correctly and match the ones you have created in Azure. You can use the Azure portal or the Azure Storage Explorer to view or manage these resources.
- Check your protocol and make sure you are using HTTPS, which is required for accessing Azure blob storage.
I am not familiar with RStudio but found this third party post which might be helpful to you.
I hope this helps! Let me know if you are still facing issues or have further questions.
If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.
If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.
Thank you for helping to improve Microsoft Q&A!