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 / 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 248 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 160 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 142 Super User 2026 Season 2

Last 30 days Overall leaderboard