EXCHANGE

How to Fix "WorkHoursVersion1 is null" in Exchange Online

Andres Bohren
Hi All, I’ve performed a lot of Exchange Online Migrations this Year. After the Mailbox was migrated i did run a Post Migration Script to set some Setting on the Mailbox like: Set-MailboxRegionalConfiguration -Identity $UPN -TimeZone "W. Europe Standard Time" -DateFormat "dd.MM.yyyy" -TimeFormat "HH:mm" -Language "de-CH" -ErrorAction Stop Set-MailboxCalendarConfiguration -Identity $UPN -WeekStartDay Monday -WorkDays Weekdays -WorkingHoursStartTime 08:00:00 -WorkingHoursEndTime 17:00:00 -WorkingHoursTimeZone "W. Europe Standard Time" -ShowWeekNumbers $True -ErrorAction Stop In some cases there where this Error: “WorkHoursVersion1 is null”

Exchange Online - Other ways of Testing IMAP OAuth2 Client Credential Flow

Andres Bohren
Hi All, I write this Blog Article in Addition to the Exchange Online POP and IMAP OAUTH 2.0 Client Credentials Flow I tried out other ways of testing First we need to get the Access Token ############################################################################### # Get Access Token with MSAL ############################################################################### Import-Module MSAL.PS $AppID = "3bf0cf36-87bf-47a9-927b-0ef9df7cf146" $TenantID = "icewolfch.onmicrosoft.com" $ClientSecret = ConvertTo-SecureString "YourClientSecret" -AsPlainText -Force $Scope = "https://outlook.office.com/.default" Clear-MsalTokenCache $Token = Get-MSALToken -ClientId $AppID -ClientSecret $ClientSecret -TenantId $TenantID -Scope $Scope $AccessToken = $Token.

ExchangeOnlineManagement 3.1.0-Preview2 released

Andres Bohren
Hi All, Yesterday the ExchangeOnlineManagement 3.1.0-Preview2 PowerShell Module has been released to the PowerShell Gallery. ExchangeOnlineManagement 3.1.0-Preview2 A few REST API cmdlets in Exchange Online PowerShell have been updated with the experimental UseCustomRouting switch. This switch routes the command directly to the required Mailbox server, and might improve overall performance. When you use the UseCustomRouting switch, you can use only the following values for identity of the mailbox: User principal name (UPN) Email address Mailbox GUID The UseCustomRouting switch is available only on the following REST API cmdlets in Exchange Online PowerShell:

Exchange Online POP and IMAP OAuth 2.0 Client Credentials Flow

Andres Bohren
Hi All, OAuth 2 Authentication for POP and IMAP was announced already back in June 2022 at the Exchange Team Blog. Announcing OAuth 2.0 Client Credentials Flow support for POP and IMAP protocols in Exchange Online There is a pretty decent Step-by-step Guide here. But there are some steps missing - that’s why i have created a more detailed Guide. Authenticate an IMAP, POP or SMTP connection using OAuth As a personal Opinion: I don’t like this POP/IMAP approach.

Quicksteps in Outlook on the Web

Andres Bohren
Hi All, Recently i noticed the “Quicksteps” in Outlook on the Web in Exchange Online. Don’t konw how long they are already there - found nothing about that in the Message Center nor the M365 Roadmap. It seems that the Quicksteps in Outlook on the Web are completly independent from the Quicksteps in Outlook for Windows. If you click on Quicksteps you come to the OWA Settings where you can configure a new Quckstep

ExchangeOnlineManagement 3.1.0-Preview1 released

Andres Bohren
Hi All, Just a few Hours ago, Microsoft has released the ExchangeOnlineManagement 3.1.0-Previe1 PowerShell Module. ExchangeOnlineManagement 3.1.0-Preview1 Whats new in this release v3.1.0-Preview1 : Support for providing an Access Token with Connect-ExchangeOnline. Bug fixes in Connect-ExchangeOnline and Get-ConnectionInformation. Check what Version is installed and what’s available from the PowerShell Gallery Get-InstalledModule ExchangeOnlineManagement Find-Module ExchangeOnlineManagement -AllowPrerelease Uninstall the old Module and install the Preview Module Uninstall-Module ExchangeOnlineManagement -Force Install-Module ExchangeOnlineManagement -AllowPrerelease Get-InstalledModule ExchangeOnlineManagement Testing.

Exchange Online Name Attribute change creates some inconsistencys

Andres Bohren
Hi All, Back in April 2022 Microsoft has anounced in theyr Exchange Team Blog, that they will change the Name Attribute of the Objects to the ExternalDirectoryObjectId (EDOID). After some Feedback from Customers and the Community they stopped the Rollout for Reflection as you can read on the Blog post of Tony Redmond. Exchange Online Plans Changes to Make Mailbox Identification More Effective Change in naming convention of user’s Name parameter

How IAM Systems can use Exchange RecipientManagement PSSnapin

Andres Bohren
Hi All, I have already blogged about the Exchange 2019 Recipient Managemen PowerShell that can Manage Echange Objects without an Exchange Server running. Install and use Exchange 2019 CU12 Recipient Management PowerShell For Identity and Access Management Systems (IAM) provisioning, management and deprovisioning based in the past on crating a Remote PowerShell to Exchange Server. How do you Address this with the new Recipient Management? In Fact there are two Solutions:

ExchangeOnlineManagement 3.0.1-Preview1 released

Andres Bohren
Hi All, Today Microsoft has released the ExchangeOnlineManagement-Preview1 PowerShell Module. ExchangeOnlineManagement 3.0.1-Preview1 Whats new in this release - v3.0.1-Preview1: Bug fixes in Connect-ExchangeOnline. Bug fix in Connect-IPPSSession for connecting to Security and Compliance PowerShell using Certificate Thumbprint. Mitigation for the known vulnerability in Newtonsoft.Json library. More details here: https://github.com/advisories/GHSA-5crp-9r3c-p9vr Check what Version is installed and what’s available from the PowerShell Gallery Get-InstalledModule ExchangeOnlineManagement Find-Module ExchangeOnlineManagement -AllowPrerelease Uninstall the old Module and install the Preview Module

Use Managed Identity with Exchange Online on Azure Automation

Andres Bohren
Hi All, With the ExchangeOnlineManagement PowerShell Module 3.0.0, Microsoft has providet the Ability to use Managed Identity in Azure. Time to test that on my own. ExchangeOnlineManagement 3.0.0 v3.0.0 : General Availability of REST-backed cmdlets for Exchange Online which do not require WinRM Basic Authentication to be enabled. General Availability of Certificate Based Authentication for Security and Compliance PowerShell cmdlets. Support for System-Assigned and User-Assigned ManagedIdentities to connect to ExchangeOnline from Azure VMs, Azure Virtual Machine Scale Sets and Azure Functions.