Azure automation python cant find notepad.exe

Ibrahim Kalil J H 21 Reputation points
2022-11-29T19:49:22.603+00:00

Hi
I have been trying to automate desktop using azure automation. My python script works well in VM, But the same script when I tried to run from power shell in azure automation,
It throws error cant find notepad.exe in dictkeys

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
0 comments No comments
{count} votes

Accepted answer
  1. Maxim Sergeev 6,586 Reputation points Microsoft Employee
    2022-11-29T21:49:32.74+00:00

    Hi there,

    Did you run your runbook as a HRW task or an Azure sandbox task?

    265384-image.png

    If you target your task in Azure, it will never find notepad afaik (because they will run on a quite limited environment)


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.