Office 365 License Report by Email V2

As Microsoft MSOL Online module is being retired so we need to update our existing scripts, one of the scripts is office 365 License report that uses this module to extract license information and send Email summary of licenses along with full report saved on file share. Prerequisites for this Solution: Active Directory Module Microsoft…

Send HTML Email using Microsoft Graph SDK

  We were in a situation where we want to send the email from one of the automations without using our on-premises relay. I was recently exploring Microsoft Graph SDK because of the future retirement for MSOL and AZUREAD modules. Its not just a module but it is a utilities box for Microsoft cloud eco…

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 https://github.com/VikasSukhija/Downloads/blob/master/ExportImportTasks.zip First Script is Export Tasks solution,…