Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drives map when task run manually but not when triggered #50

Open
timmgreen opened this issue Jun 29, 2023 · 0 comments
Open

Drives map when task run manually but not when triggered #50

timmgreen opened this issue Jun 29, 2023 · 0 comments

Comments

@timmgreen
Copy link

timmgreen commented Jun 29, 2023

I have setup the script with the VPN trigger modification and installed through Intune. When I connect VPN the task is triggered but no drives are mapped and the log shows "Unable to access path '###########' verify permissions and authentication!". I can see in the log that it has the proper account for RunAs and I am using the $searchRoot variable. The very odd thing is if I run the task manually from Task Scheduler it maps the drives. Am I missing something obvious?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant