Upload your Own Certificate to Azure Automation

There can be requirement of uploading your own self signed certificate or you organizational approved Certificate to Azure Run As account. This article will assist you in doing that, some admins do it, so they do not have to renew every year First let us create a certificate using New-SelfSignedCertificate powershell command. New-SelfSignedCertificate -Subject ‘CN=AutomationRunAsCert’…

PowerShell Exchange Exception – Cannot bind argument to parameter ‘TokenProvider’ because it is null

We have upgraded the Exchange Online Management PowerShell Module to newer version (2.0.3). Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.3 After upgrade some of our solutions started giving below errors: Exception calling “GetSteppablePipeline” with “1” argument(s): “Cannot bind argument to parameter ‘TokenProvider’ because it is null.” On researching, We have found that this is only happening in…

PowerShell – Export Import Scheduled Tasks

We had a requirement to migrate our existing servers that have around hundreds of scheduled tasks. Creating those tasks manually is cumbersome therefore created this solution for current situation and future, for backing up and restoring the tasks to new server. Download and extract the Solution from Github ExportImportTasks.zip First Script is Export Tasks solution,…