Add all Skype for Business Online Users to AD group

We had a requirement to Add all Skype for Business Online users to Active directory group on daily basis. This is required because we want to implement a Group Policy for ALL Skype for Business Online users but not  for on-premise Lync users. Our environment is Hybrid and Migration is in progress. Script will run daily and compare the…

PowerShell TIP – Exception calling “DownloadString” with “1” argument(s)

Sharing the recent issues that we have faced with some of our older scripts that reads/download XML using System.Net.WebClient and report on system health status.(Ironport) All the scripts suddenly started throwing below error: Exception calling “DownloadString” with “1” argument(s): “The underlying connection was closed: An unexpected error occurred on a send.” On researching on internet…

Microsoft Teams Report for Office 365 Tenant

As Technet Gallery is retiring so moving the code to Git Hub. (click below github download link for this script) Microsoft Teams Report for Office 365 Tenant This requirement came from our management to extract the Teams report across our tenant. Fortunately in the latest team module released by Microsoft, you can extract all the…