Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Suggestiong on Credential Management #1
Great stuff Jan! You might try using the default credential management, at least for the Scheduled Task case. Once you call Connect-Tesla without the -NoProfile parameter, the encrypted credential is stored in the user profile for the currently logged-on user. I suspect that you can skip Connect-Tesla entirely as long as the task runs under that same credential. I can't speak for Azure Automation.