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,…

PowerShell TIP – .replace vs -replace

I have been writing PowerShell scripts simple to advanced from a long time but still sometimes I get amazed with things that I come across while reviewing the automations and scripts. These are smaill things but can cause big issues if awareness is not there. We always consider Powershell as case insensitive but this scenario…

Multi Geo Move Scripts

Our Migration team contacted us for providing some quick solution as they need to quickly move to Multi geo. So, we have written this simple bundled solution which I want to share with the community along with the process. Download the solution zip file from below github link and extract it. MultiGeo.zip It contains 3…