Hi,
The onedrive create a file action gave this error:
Any suggestions on how to resolve?
We received the same error few days back but it was just for few runs, after which it got fixed automatically and flow is running fine after that. Strange!
did you ever get to the bottom of this issue, we are seeing the same error currently?
I am getting the same error with a service account
I do not have the prompt to validate account
Password for service account is valid
I assumed that the flow was giving error when you are running it.
I take that for some of your users this is working fine, while not working for a few users - is this correct?
Sharing OneDrive folder is not an issue. You don't have to share that, because OneDrive connector will use User's OneDrive and create PDF file through it.
For the user who is getting this error, most likely they changed their account password and that is when the access token expired.
If your users are initiating the cloud Flow from Power Apps, then can they (who changed their password) reload the Power App so that they see the initial permission screen (consent pop-up)?
Alternatively, can you make this a feature App within your organization so that nobody see the initial permission screen (consent pop-up) when they open the Power App - this way user password change will have no impact on the access token. See https://www.o365dude.com/2019/01/06/bypass-consent-pop-ups-in-powerapps/ for further information.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up
Hi @happyume ,
Thank you for helping me. Unfortunately this didn't help.
It's a flow that other people in my organisation are using.
It works for me.
The Ondrive connector is signed in with a service account. I did your check in the service account flow portal as well but the connection is valid.
I haven't shared the onedrive folder that this connector is trying to work in with those users. Could that be the issue?
I'll run a test and report back.
Thanks again.
Regards,
Daniel
From the left navigation rail in Power Automate, go to Data -> Connections.
Find the OneDrive connector and Ssign-in again (most likely Single Sign-On).
This will revalidate your connector.
Now come to the failed run and resubmit.
Alternatively, go to Edit Flow and from the OneDrive action - revalidate the account used for connector using single-sign on.
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2