Azure / Azure/Azure-Functions

Get-Job \ Start-Job not working for powershell azure function

Open
#1,446 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

I am trying to build some powershell automation that can run multiple async threads. For this I am using Start-Job and Get-Job commands. Function is throwing following error -
**_Access to the path 'Microsoft\Windows\PowerShell\ScheduledJobs' is denied._**

![image](https://user-images.githubusercontent.com/59564281/71817511-11d68100-30ac-11ea-95b4-bc896330768f.png)

It was working fine a week ago. Then it stopped working.

I am using azure function v1 based on powershell Desktop (_Have dependencies on some dlls that are not supported on Powershell Core_)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.