09-12-2023 06:47 AM
I have a new requirement to read the files stored in Azure "File Shares". I didnt have the knowledge about "File Shares" in azure and did a little research. Its a virtual drive which can be used for storing files and uses the SMB protocol to read from this storage.
i have setup the file reader like this
09-12-2023 06:49 AM
@bojanvelevski @sreddi @del Requesting your expertise on this topic.
09-12-2023 07:28 AM
Please find the SMB Account and Snap settings -
SMB Account Settings -
SMB Snap settings from pipeline parameters -
SMB Snap settings along with Output Preview -
09-13-2023 06:54 AM
I'm able to create the SMB string but i guess the SMB account setup is messed up.
I'm using correct domain name <myazureaccountname>.file.core.windows.net
What i dont understand is what should i put username and password.
Is it the Active Directory credentials of my user account i should put here ?
is there a way i can just connect to SMB storage using azure account name and access key ?
09-13-2023 07:16 AM
Hi @Chandan,
Have you used MS Azure Storage explorer by any chance? Reason being, it will make things easier for you. If you have admin rights in your organization then I would suggest to create a "Basic Auth" account like below in snapLogic:
With the following username and password (works ONLY if you have admin rights):
After the account has been setup, you can pretty much use it across different pipelines, please ensure that the account has been created in "shared" folder. Using a directory browser (if you have multiple files under that location in Azure) followed up by a file reader should help you.
Thank you.
Regards,
Darsh