The trust relationship between this workstation and the primary domain failed

This can happen if a computer/server is offline for a longer period, or is restored from backup and in the meantime the computerobject password is changed. There is an easy fix for this, on the affected machine, login with the local administrator, start powershell and type; reset-computermachinepassword -Server DomainController -Credential DomainAdmin

Read More »

Purge ADObject from Active Directory recycle bin

When deleting an AD object, it will (if the Recycle bin is enabled) be moved to the Active Directory recycle bin. Sometimes you want to permamently remove the object, for example if you want to recreate a pc or server with the same name. To do this, open PowerShell and type in the following commands; […]

Read More »

SharePoint Online – Change timezone for all SPO Sites

Today i needed to change the TimeZone for a lot of sites, when searching online i found some other scripts but i found them too complicated and needed something easier to manage. I combined and script some other script and came up with this: # Define variable $adminurl = https://tenantname-admin.sharepoint.com $timezone = “(UTC+01:00) Amsterdam, Berlijn, […]

Read More »

SharePoint Online – Give permission to single user on all SharePoint Online sites

I was looking for a way to grant a single user permissions on all sharepoint sites without giving admin permissions. In the end only a single PowerShell command was needed to accomplish this (apart from running ‘Connect-SPOService’) Get-SPOSite | ForEach {Set-SPOUser -Site $_.Url -LoginName info@iterrors.com -IsSiteCollectionAdmin $true} Where info@iterrors.com is the username you want to […]

Read More »

Error code; 0x80070005-0x000004dc-0x00000524 when trying to sent an email from shared mailbox

Recently a customer was getting the error code; 0x80070005-0x000004dc-0x00000524 when trying to email ‘sent as’ from a newly created shared mailbox. After searching online I found a lot of potential solutions like; – Make sure only Full Access and Full control are set as permissions, do not use sent on behalf aswell. – Start Outlook […]

Read More »

Microsoft 365 – Create an organization library

Alot of posts have been written about the late-2019 rolled out feature to create organization library’s. After playing around a bit I’ve decided to make a short manual on how to achieve these 2 types of library’s. General info for this topic I used is: https://docs.microsoft.com/en-us/sharepoint/organization-assets-library There are two types of Organization asset types; 1. […]

Read More »