Show duplicate content in SharePoint Online Search Results

Are you not seeing all results when searching for documents in Sharepoint? Are you confident that there is another, newer version? Then probably it’s filtered out by Sharepoints duplicate content removal in the search results. A document does not have to be 100% similar to be flagged as duplicate, similar documents or sites seems to … Read moreShow duplicate content in SharePoint Online Search Results

Connect to Google API with Powershell

We are going to connect to the Google API with OAuth2.0 and the Powershell Invoke-RestMethod cmdlet. Before we can start scripting in Powershell we first need to get a ClientId, ClientSecret, AuthCode and finally the Access and Refresh tokens. It took me half a day to figure out how to connect to where to get … Read moreConnect to Google API with Powershell

Using Microsoft Graph API with Powershell

Microsoft Graph API gives you the ability to interact with the continually evolving Azure services through a single endpoint: https://graph.microsoft.com. We are going to connect to Graph with Powershell, OAuth 2.0 and REST. Registering your App To interact with Graph we need to register our app. Go to https://apps.dev.microsoft.com/portal/register-app to get started. Login with your account that … Read moreUsing Microsoft Graph API with Powershell

Remove Office 365 license from a Computer with PowerShell

One of my users got a notice in Office 2016 that he needed to reactivate his Office 365 subscription. After clicking reactivated a warning came up that “there was a problem with your Office 365 subscription, and we need your help to fix it“. The problem was that the registered license belonged to a user … Read moreRemove Office 365 license from a Computer with PowerShell

Enabling in-place archive for all users with PowerShell

The In-Place Archive that you get with Exchange Online, provides your users with additional storage space. With PowerShell we can enable the archive mailboxes quickly for all users. Connect to Exchange Online First we need to connect to Exchange Online, you can use this connector script or run the following code: #Create credential object $credObject = Get-Credential #Import … Read moreEnabling in-place archive for all users with PowerShell

Setting up your PowerShell Environment with PowerShell Profile

If you are using PowerShell frequently you might want to change some default settings to modify your PowerShell window. We can do this by creating a PowerShell Profile where you can add Alias for function you use a lot, load modules at startup, change the root directory or add path variables. First we need to check if … Read moreSetting up your PowerShell Environment with PowerShell Profile