Help using Power Automate Desktop


  1. Posts : 59
    Windows 10
       #1

    Help using Power Automate Desktop


    Windows Version 20H2 (OS Build 19042.867)

    I have an rtf file I wish to save to multiple locations. I have set up a new flow. Then I select Desktop recorder and start the recording. I am then able to save the rtf file. Now I need to go to a different location such as Desktop and select a folder located there on which to save the new rtf file. Then I select the file and "save as" it. This last action seems to cause an error in Power Automate Desktop and the last action will not be saved.

    I can successfully save and use all the above actions until the last one. In other words All works fine UNTIL I try to change the directory.
      My Computer


  2. Posts : 1,244
    Windows 10 Pro x64 21H2 (Build: 19044.1415)
       #2

    Hello, see link below:
    https://docs.microsoft.com/en-us/pow...p-flows/errors

    Can you share some error code, description or logs as described on link?

    If not, you can try to debug your specific issue:
    https://docs.microsoft.com/en-us/pow...debugging-flow
      My Computer


  3. Posts : 59
    Windows 10
    Thread Starter
       #3

    I just tried to set up a new flow and got the following error"

    Message = The cache contains multiple tokens satisfying the requirements. Try to clear token cache
    Error = Microsoft.Identity.Client.MsalClientException
    Full text = MSAL.Desktop.4.15.0.0.MsalClientException:
    ErrorCode: multiple_matching_tokens_detected
    Microsoft.Identity.Client.MsalClientException: The cache contains multiple tokens satisfying the requirements. Try to clear token cache
    at Microsoft.Identity.Client.TokenCache.GetSingleResult(AuthenticationRequestParameters requestParams, IEnumerable`1 filteredItems)
    at Microsoft.Identity.Client.TokenCache.<Microsoft-Identity-Client-ITokenCacheInternal-FindAccessTokenAsync>d__60.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.Identity.Client.Cache.CacheSessionManager.<FindAccessTokenAsync>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.Identity.Client.Internal.Requests.Silent.SilentClientAuthStretegy.<ExecuteAsync>d__13.Move Next()
    --- 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.Identity.Client.Internal.Requests.Silent.SilentRequest.<ExecuteAsync>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at Microsoft.Identity.Client.Internal.Requests.Silent.SilentRequest.<ExecuteAsync>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.Identity.Client.Internal.Requests.RequestBase.<RunAsync>d__14.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.Identity.Client.ApiConfig.Executors.ClientApplicationBaseExecutor.<ExecuteAsync>d__2.MoveN ext()
    --- 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 WinAutomation.MsAccountAuthenticator.MicrosoftAuthenticationService.<GetAccessTokenAsync>d__8.MoveNe xt()
    --- 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 WinAutomation.Console.Persistence.Core.Repositories.OneDriveProcessesRepository.<ExistsById>d__10.Mo veNext()
    --- 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 WinAutomation.Console.Application.Process.EventHandlers.ProcessClosedEventHandler.<Handle>d__5.MoveN ext()
    --- 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)
    --------------------------------------------------------------------
    Now I am unable to delete the new flows that have the above error. The delete is greyed out. See Attached.
    Last edited by oldtraveler; 15 Mar 2021 at 16:34.
      My Computer


  4. Posts : 1,244
    Windows 10 Pro x64 21H2 (Build: 19044.1415)
       #4

    Maybe this can help:

    Close all instances
    Delete %LOCALAPPDATA%\.IdentityService
    c# - multiple_matching_tokens_detected with ADAL - Stack Overflow
      My Computer


  5. Posts : 59
    Windows 10
    Thread Starter
       #5

    Unable to find

    Delete %LOCALAPPDATA%\.IdentityService
      My Computer


  6. Posts : 1,244
    Windows 10 Pro x64 21H2 (Build: 19044.1415)
       #6

    This is supposed to be:
    C:\Users\YOUR_USERNAME\AppData\Local\.IdentityService

    Try to find into which location does Power Automate write it's program data, ex:
    C:\ProgramData
    %LOCALAPPDATA%\Power Automate
    etc..

    did you try suggestion from log?
    Try to clear token cache
    See if there is option for this or find cache location.

    Microsoft.Identity.Client.MsalClientException
    Seems to imply some log in information, try to log out of program, restart it and log in back.

    Try to reproduce problem in another Windows account.

    Other than that I don't know what else to suggest.
      My Computer


  7. Posts : 59
    Windows 10
    Thread Starter
       #7

    I uninstalled and then re-installed.
    Set up new flow called test file.
    Ran new test file and got error "Flow test file failed. Error in 'main' action #7 'Click UI element in window'

    See attached.
    Attached Thumbnails Attached Thumbnails Help using Power Automate Desktop-flow.jpg  
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:07.
Find Us




Windows 10 Forums