Skip to content

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

@timmgreen

Description

@timmgreen

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions