Skype For Business PowerShell Module Retirement

As many of you have seen the message Skype For Business PowerShell Module will stop working after June 30, 2021. Commands have been merged with latest Teams Module but the command New-CsOnlineSession does not exists so breaking of script is evident. For all my past Scripts where the Skype module is used, I have prefixed…

Available Team Numbers Report

Our Voice team needs a report of available numbers in Microsoft teams, they can see that in the portal as shown below but cannot see the users to whom the numbers are assigned. So I have created a simple PowerShell spell for them that can achieve this à save the report in report folder as…

Office 365 License Assignment Dates

I was contacted by one of our teams that is making a PowerBI dashboard for some of their licenses, they want to know the dates on which the license was assigned to the user. In this blog post I will share a Powershell Spell that can be utilized to export the report of license assignment…

CSOM Error – Exception calling “ExecuteQuery” with “0” argument(s): The underlying connection was closed

I woke up one morning and seen majority of my scripts started failing with error: Exception calling “ExecuteQuery” with “0” argument(s): The underlying connection was closed On troubleshooting, it was found these were all scripts where I have utilized SharePoint Client Object Model (CSOM). After a thought I immediately pin pointed it to TLS 1.2…

Active Directory Health Check V2

This is one of my work that is being used by thousands of customers, it was downloaded more than 30000 times before Microsoft TechNet gallery was retired. (AD Health Check V1) I can still see a lot of interest in this script so parameterizing/small updates and placing it in Powershell Gallery for ease of download.…