cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerAutomate3
Helper I
Helper I

Getting files from urls that need authentication

Hello

 

I have some direct links to xls files from a domain. This domain needs authentication via a form.

 

I want to create a connection to that domain and trigger the flow every x minutes so that it never expires and the authentication session always renews so that I download the files.

 

I want then to download the files to sharepoint or onedrive every x minutes, replace them each time with the newest versions and save them with the same filenames as they are downloaded.

 

Can you tell me please how I can do that? Unfortunately, I would not be able to use PREMIUM functions due to restrictions.

 

Thanks!

2 REPLIES 2
eric-cheng
Solution Sage
Solution Sage

Hi @PowerAutomate3 ,

 

Will probably need more info like what type of platform/site are the files currently located on.  Can you share a screenshot?

 

But judging from the authentication part, you may need to look at Power Automate Desktop flows / RPA which will allow you to record the steps to download the files from your browser and then replicate those within a flow.  There is more info here and there is an additional cost.  I guess even if they gave you access to the APIs, you will still need to use the HTTP connector which is a premium connector.

 

However, if the files are on something like SharePoint or another supported platform with standard connectors, it may be achievable if you have the relevant account and credentials.  Again, need more info.

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

 

PowerAutomate3
Helper I
Helper I

Thanks I think I need a Flow that will ping/download the files every 30min so that the authentication/session is renewed. I would assume since the frequent requests will renew the session and prevent it from expiring so that login will be required.

 

However, the problem is how to initiate this, as for the first time, I will need to login 'manually'.

 

Unfortunately the website has a second step verification so it is impossible to robotically automate it.

 

If a Flow can emulate Edge/IE and download the files recursively, it could work.

 

Is there anything like that? Maybe an Azure free service can do it better?

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,154)