cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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 @Anonymous :

   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 @Anonymous :

   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

Anonymous
Not applicable

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (3,312)