Outlook certificate warning when adding an Exchange server

Certificate warning when adding an Exchange server Background When introducing a new Exchange server in an existing organization there is a common issue that appears.The new server doesn't have any certificates and because of this you will most likely see this message in Outlook on clients that are connected to your environment. I've seen this at multiple customers when they are installing a new Exchange 2016 server and adding it to their existing environment. A common scenario where this occurs is when you have an Exchange environment and a Office 365 tenant and are in the final steps of migrating to…

0 Comments
PowerShell – Implicit remoting issue after Windows Update

Implicit remoting issue after Windows Update Today I discovered a problem on my computer when trying to connect to Exchange Online.I was about to add some mailbox permissions in Exchange Online when I was interrupted during the sign in process. Issue When running my script to connect to Exchange Online I was greeted by an error message instead of the usual information.I usually run my script, supply my credentials and continue happily. It looked like this: I was using this a few days ago without any problem so something must have happened recently.This means that it was unable to import the…

0 Comments
Powershell – Connect to Exchange Online

Connect to Exchange Online using powershell I thought that I would share my script to connect to Exchange Online. It is quite simple but is required to be able to work with Exchange Online together with Powershell.This version also uses an URI that supports uploading user photos that are up to 100kb in size.   Solution Copy this code and run it as a script in Powershell ISE. $Credentials = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/?proxymethod=rps -Credential $Credentials -Authentication Basic -AllowRedirection Import-PSSession $Session When running this script you will be prompted for credentials to your Office 365 tenant.Supply…

0 Comments
Office 365 – A users password is not working

Hi, In my environment there is a DirSync server with password sync, an Active Directory and a tenant for Office 365.Some users had issues logging on to their Outlook and Skype even though they were using the correct information.After some troubleshooting we noticed that the password sync had failed for these users. The first step to figure this out was to change the users password from the Office 365 administration portal.We had no issues logging on with the new password that was created. To solve this we took the following steps.On the DirSync server, open powershell and run Import-Module Dirsync.Run…

0 Comments
Office 365 – Change UPN for an existing user

Hello, Sometimes you might have to change the UPN for a user that has already been synced to the cloud.This can be due to typos during creation, a new surname or similar scenarios. You can change the UPN in the local Active Directory but this will not sync to the cloud with DirSync.This is due to that the UPN in Azure Active Directory is created during the first sync and it will not be changed by any future sync. To resolve this you have to change the value manually using powershell.You need to download and install this Microsoft Online Services…

0 Comments
Office 365 Set resource calendar permissions

Hi, As more and more of users move to the cloud the requirements for administrators change.Simply starting Powershell is no longer enough as the systems we want to configure and monitor are further away from us.Fortunately for us the step to connect to Office 365 is quite easy, as long as you know what to do.I have a script to connect using the cmdlets in step 1. The default settings for resource calendars in Office 365 is to show you busy/free information and nothing else. This can't be changed from the web-gui, but we can easily do it from Powershell.…

0 Comments