web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / OneDrive access denied...
Power Automate
Unanswered

OneDrive access denied error during flow list loading in power-automate-desktop

(5) ShareShare
ReportReport
Posted on by 11
I get "access denied" when trying to load "My flows" inside the power automate desktop. The log messages shows this exception:
```
Microsoft.Flow.RPA.Desktop.Shared.Clients.Common.Repos.OneDrive.OneDriveClientException: Access denied
```
My account isn't work or educational account. I tried to login to my PowerAutomate account from more than 5 place, maybe this is because of it. Now I can't load my flows from anywhere. Also it may be related to the region. I can't find the real reason behind this issue and can't resolve it. 
One strange thing is this geo value inside the logs when application tries to access the Onedrive:
```
{"azureRegionInfo":{"cloud":"tip0",
"geo":"unitedstates",
"region":"one-drive-environment-Region"},
"agentVersion":"2.45.00406.24170",
"executionInfo":{"contextId":0,
"is64BitProcess":true,
"processName":"PAD.Console.Host",
"sessionId":1,
"threadId":0},
"httpStatusCode":"Forbidden",
```
Even so my PowerAutomate account's region is GLOBAL but for Onedrive it uses the "unitedstate" geo.
 
I tried logout/login and changing my password too. Also I waited 2 days and issue still exists. Also I tried login with another account and it worked fine without problem. But my flows are inside my accounts and I need to access them.
I login to my Onedrive account in the web and application without problem and I can see the powerautomate files inside the Graph folder.
  • CU07101618-1 Profile Picture
    3 on at
    I have the same problem, and I only access my flows from one computer, at one location (IP address). All of a sudden I get an "Unhandled  error" screen with the following:
     
    Message = unspecified error
    Error = Microsoft.Flow.RPA.Desktop.Shared.Clients.Common.Repos.OneDrive.OneDriveClientException
    Full text = Microsoft.Flow.RPA.Desktop.Shared.Clients.Common.Repos.OneDrive.OneDriveClientException: unspecified error
       at Microsoft.Flow.RPA.Desktop.Shared.Clients.DataClients.OneDrive.Http.OneDriveHttpClient.CheckForNonSuccessfulStatusCode_DisposeResponse_AndThrowException(HttpResponseMessage response, Action logEventAction, String callerMethodName, String requestUrl)
       at Microsoft.Flow.RPA.Desktop.Shared.Clients.DataClients.OneDrive.Http.OneDriveHttpClient.<DownloadFileAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Flow.RPA.Desktop.Shared.Clients.DataClients.OneDrive.OneDriveClient.<DownloadMetadataFileAsync>d__21.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Flow.RPA.Desktop.Shared.Clients.DataClients.OneDrive.OneDriveClient.<GetOneDriveValidWorkflowAsync>d__28.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Flow.RPA.Desktop.Shared.Clients.DataClients.OneDrive.OneDriveClient.<GetOneDriveValidWorkflowAsync>d__27.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Flow.RPA.Desktop.Shared.Clients.DataClients.OneDrive.OneDriveClient.<GetWorkflowAsync>d__13.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Flow.RPA.Desktop.Console.Application.Persistence.Repositories.Processes.OneDrive.OneDriveProcessesRepository.<FetchByIdInnerAsync>d__16.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Flow.RPA.Desktop.Console.Application.Persistence.Repositories.Processes.OneDrive.OneDriveProcessesRepository.<FetchByIdAsync>d__11.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Flow.RPA.Desktop.Console.Application.Persistence.Repositories.Processes.ProcessesRepositoryProxy.<FetchByIdInSelectedEnvironmentAsync>d__12.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Flow.RPA.Desktop.Console.UI.ViewModel.MainViewModel.<RefreshFlowAsync>d__212.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard