cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ouowen
New Member

How to implement download in powerapps without CDS

Hi Guys, 

I have a question about download function in PowerApps.   As of now, I noticed that the Download function downloads a file from the web to the local device, and the resource should be placed in public internet, and then download function use this Url. 

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-download 

 

But in our projects (HK), customer require the data/file CANNOT be placed outside of HK,  it just can be placed in a virtual tenant network (private) that carved out of Azure, so from my understanding, we cannot use the CDS to implement this function.

 

any suggestion/solution on this? thanks a lot!

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @ouowen :

   Download function can directly download files stored on public networks. But according to your situation, I temporarily understand that the file is stored in a network that can only be accessed after identity authentication. In this case, the Download function cannot download the file directly.

   It is recommended that you use the launch function to navigate the user to the specified website, and let him download after authenticating.

  Best Regards,

  Bof

View solution in original post

2 REPLIES 2
v-bofeng-msft
Community Support
Community Support

Hi @ouowen :

   Download function can directly download files stored on public networks. But according to your situation, I temporarily understand that the file is stored in a network that can only be accessed after identity authentication. In this case, the Download function cannot download the file directly.

   It is recommended that you use the launch function to navigate the user to the specified website, and let him download after authenticating.

  Best Regards,

  Bof

View solution in original post

Hi, thanks for your reply and suggestion, I use the similar approach to implement: Azure File SAS, 

we set a valid time range & IP whitelisting(for clients) in Azure File, and then generate a SAS token for PowerApps to use in Url which is used in download.  

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Users online (52,928)