Function access to AZ FileShare?

Anyone know whether an Epicor function can read/write to Epicor managed Azure File Share? Like the one Epicare sets up for Bartender (KB0132856)?

Who manages the AZ File Share? If it’s your tenant, then you can use Azure’s Roll-Based Access Control to grant write access from an Azure Function to, well, any kind of storage - from cheap blob storage to more expensive Azure File Shares.

It would be nice if we could grant access to the Epicor managed identity to our tenants.

1 Like

Epicor manages the FileShare for bartender and sends a script with cert to connect on prem. So I assume at least their bartender reports can write to it but don’t know how their processes are siloed.

I wonder if the cert can be used somehow in erp-function to enable file io instead of more complicated rest based file handling.

Say for example user attach to ‘local’ image (not really local cuz az file share) and erp-function loads ‘local’ image from file share, converts base64, displays in kinetic. No api just disk io.

I assume my own file share cannot be accessed from erp cloud except via rest.

Are you doing a Bartender application or something different?

Bartender plus more if possible.

The file share is used for Bartender and EDI files.

Yes you can use a function to save files to the AZ Share.

I am doing just that to save a Trial Balance CSV and then picking up the AZShare trialBal.CSV to upload to another system.

I do not know if this is a “sanctioned” execution - but for now . . . it works.
DaveO

1 Like

Thanks, have you tried sandbox.io or system.io?

Looks like this will be supported via sandbox, curious whether it now is.

Yes, it is available with 2025.1. You can use ServerFolder.FileShare. Examples can be found here:

1 Like

Thank you @Epic_Santiago for your reply.