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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error LogonTypeNotGran...
Power Automate
Unanswered

Error LogonTypeNotGranted when excecuting unattended RPA flow

(0) ShareShare
ReportReport
Posted on by 15

Hi

When I run unattended RPA flow against my laptop, I get the following error message:

 

 

{
 "error": {
 "code": "LogonTypeNotGranted",
 "message": "Cannot create a session to run an unattended desktop flow. The system administrator has restricted the types of logon (network or interactive) that the user may use. For assistance, contact your system administrator or techincal support."
 }
}

 

 Everything is setup and working great in attended mode. It is just when trying to run in unattended mode that is seems there are something with my user account that needs to change for it to work?

I have the same question (0)
  • Pavel_NaNoi Profile Picture
    1,074 on at

    A bit of a basic question, but, do you have the unattended licence?

  • badalsharma0608 Profile Picture
    17 on at

    @Pavel_NaNoi I am also getting the same error and the organisation has provided unattended rpa add-on on top of power automate premium license. Any pointers?

  • Pavel_NaNoi Profile Picture
    1,074 on at

    Huh this is an oldie, man time sure flies, anyways:

     

    Make sure that whatever machine you're running the automation on has no one logged into it, especially if it has multiple user accounts. Always Log off it after testing rather than disconnecting / shutting down.

     

    Another reason for this is as the error states, the account that is logging in doesn't have permissions of some sort, perhaps the security is interferring with the UIFlowService.exe process? It's responsible for the connection between the cloud and desktop.

     

    Also check your machine settings on that machine in Power Automate Desktop, see if it throws any other errors related to any connections to your cloud envrionment.

     

    Finally if all else fails, check if perhaps someone put in an over-restrictive DLP policy in the admin centre for Power Automate Desktop for some reason? Though unlikely.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard