Hello Jang Seongwon,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you are unable to connect Azure Blob Storage using Service Principal authentication in ADF Sink configuration (Connection failed).
By doing the following lists of steps and check the associated links for more details, you will get to the root of the cause and resolve it:
- Ensure Storage Blob Data Contributor is assigned at the storage account level - https://free.blessedness.top/en-us/azure/storage/blobs/authorize-access-azure-active-directory
- Use Azure CLI or Portal to verify the service principal has access to the specific container.
- Ensure the token obtained by the service principal includes the correct resource scope:
https://storage.azure.com/https://free.blessedness.top/en-us/azure/storage/blobs/authorize-access-azure-active-directory - In ADF, ensure the Linked Service uses:
- Service Principal authentication
- Correct endpoint:
https://<storage-account>.blob.core.windows.net - Correct Tenant ID, Client ID, and Secret Troubleshoot Azure Blob Storage connector - https://free.blessedness.top/en-us/azure/data-factory/connector-troubleshoot-azure-blob-storage
- If public access is disabled, configure:
- Managed Virtual Network IR
- Private Endpoint
- After assigning roles, wait 10–15 minutes before testing connection.
- Enable Storage Analytics Logging to capture detailed error traces - https://free.blessedness.top/en-us/azure/storage/common/storage-analytics-logging
I hope this is helpful! Do not hesitate to let me know if you have any other questions or clarifications.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.