---
title: "Discussion on \"Solution for running scheduled task with 'run whether user is logged on or not' option as an AAD user?\" | Hashnode"
description: "Discussion on \"Solution for running scheduled task with 'run whether user is logged on or not' option as an AAD user?\". Recently I've noticed that it is not possible to run a scheduled task as an Azure AD user (AAD) with the enabled option 'run whether user is logged on or not'. No matter if you also enable 'do not store password...' option.\nThe only way how you can r..."
url: "https://hashnode.com/posts/solution-for-running-scheduled-task-with-run-whether-user-is-logged-on-or-not-option-as-an-aad-user/63721d5efa19b80c54f318d8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Solution for running scheduled task with 'run whether user is logged on or not' option as an AAD user?](https://doitpshway.com/solution-for-running-scheduled-task-with-run-whether-user-is-logged-on-or-not-option-as-an-aad-user?utm_source=hashnode&utm_medium=feed)

Recently I've noticed that it is not possible to run a scheduled task as an Azure AD user (AAD) with the enabled option 'run whether user is logged on or not'. No matter if you also enable 'do not store password...' option. The only way how you can r...

Nov 14, 2022 · 3 min read · doitpshway.com  
Updated Nov 18, 2022  
Read the article

-   [#wscript](https://hashnode.com/tag/wscript)
-   [#azure-ad-user](https://hashnode.com/tag/azure-ad-user)
-   [#task-schedule](https://hashnode.com/tag/task-schedule)

## Written by

[Ondrej Sebela](https://hashnode.com/@AndrewZtrhgf)

@AndrewZtrhgf · Czech Republic

  
[View profile](https://hashnode.com/@AndrewZtrhgf)

System Administrator that loves PowerShell

I work as System Administrator for more than 15 years now and I love to make my life easier by automating work &amp; personal stuff via PowerShell (even silly things like food recipes list generation).

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
