0

Exchange Online App-Only Authentication Error AADSTS70011 Invalid Scope

As more people are starting to use the Exchange Online V2 module (yay!), there are some new and different issues appearing.

In this case, the command to connect to the tenant was failing when App-Only authentication was used.  A certificate was installed onto the machine where PowerShell was running.

The command used is shown followed by a glorious error.

 

Exchange Online App-Only Authentication Error AADSTS70011 Invalid Scope

Error Acquiring Token:
System.Exception:… Read the rest “Exchange Online App-Only Authentication Error AADSTS70011 Invalid Scope”

0

Does Exchange Setup Automatically Run PrepareSchema?

The question "Does Exchange setup automatically run /PrepareSchema?" was something that came up many times in the recent Hafnium remediation activities.  This was due to many customers not updating Exchange for multiple years, and being extremely behind on updates.  In order to get Exchange updated, it was necessary to perform multiple steps in the upgrade process.  Sometimes the /PrepareSchema ta… Read the rest “Does Exchange Setup Automatically Run PrepareSchema?”

7

TenantOrganizationConfig Required When Preparing Active Directory

When running /PrepareSchema in an Exchange organisation with an existing Exchange Hybrid deployment you may run into an error which states:

"A hybrid deployment with Office 365 has been detected. Please ensure that you are running setup with the /TenantOrganizationConfig switch"

This is shown below:

Error - A hybrid deployment with Office 365 has been detected. Please ensure that you are running setup with the /TenantOrganizationConfig switch

A similar issue will occur if you specify only /PrepareAD

Same Issue - Error - A hybrid deployment with Office 365 has been detected. Please ensure that you are running setup with the /TenantOrganizationConfig switch

Note that the /TenantOrganizationConfig switc… Read the rest “TenantOrganizationConfig Required When Preparing Active Directory”

0

Create Azure Az VM Using Existing UnManaged VHD

The days change, but sometimes the issues stay the same.  This is a redux of an existing post where there was an issue back in 2016 when I was not able to easily re-create a VM in a different Availability Set.  As you can see in Create Azure RM VM Using Existing VHD – 250 Hello (rmilne.ca)  PowerShell was used to re-create the VM as it allowed all of the resources to be specified.

The original VM was… Read the rest “Create Azure Az VM Using Existing UnManaged VHD”

0

Unable to Run Exchange Setup–Pending Reboot From a Previous Installation

When installing Exchange updates, I place the server into maintenance mode and restart it prior to installing the actual Exchange update.  This is due to have being burned many times by other teams or third party tools that conveniently "overlooked" the fact that their setup required the machine to restart.  It also provides an opportunity for issues caused by those third party tools to surface be… Read the rest “Unable to Run Exchange Setup–Pending Reboot From a Previous Installation”

0

Exchange Managed Availability State Unknown

The below is one of the cases where the "Zen of Exchange Management" is what fixes the issue.  I've been know to say that sometimes you just need to wait for Exchange to do what it needs to do.  To pass the time, feel free to adopt a meditation pose and emit calm and peaceful humming noises.  This is Zen.

 

Exchange Managed Availability Reports Status:  Unknown

After remediating multiple other i… Read the rest “Exchange Managed Availability State Unknown”

1

Exchange 2016 CU20 PrepareAD Required

This is a quick heads up for those who may be deploying Exchange 2016 in the near future.  If you are currently on Exchange 2016 CU19 there are no AD schema changes required, but there are AD changes.  The former is performed by /PrepareSchema, and the latter by /PrepareAD.

You can take a look at the history of Exchange 2016 schema changes in Active Directory schema changes in Exchange Server and th… Read the rest “Exchange 2016 CU20 PrepareAD Required”

0

Exchange .NET Framework Upgrade – The Unsupported Kangaroo In The Room

Exchange Upgrade CU .NET Framework Support

It is critical Exchange installations are properly maintained in all regards.  In order to stay current with Exchange Cumulative Updates (CUs), it is necessary to read the release notes for a given CU to determine if an update is required for the .NET Framework.  Staying current on updates is required to receive full support from Microsoft.  Exchange Hybrid supports N and N-1 for on-premises CUs, … Read the rest “Exchange .NET Framework Upgrade – The Unsupported Kangaroo In The Room”

0

Exchange 2019 Setup Screenshots – Commandline Install

Exchange 2019 Setup

This is a reference post for Exchange 2019 screenshots of the command line installation process.  You will note similarities to the Exchange 2016 installation.

Update 30-9-2021 Newer versions of Exchange 2019 have slightly modified the prerequisites and also the original command line options that are shown below.  Please see the Exchange 2019 CU11 setup changes post for details.

Planning And Preparat

Read the rest “Exchange 2019 Setup Screenshots – Commandline Install”
13

Should I Overwrite The Default Exchange SMTP Certificate?

Exchange Prompt To Overwrite Default SMTP Certificate

When adding a TLS certificate on an Exchange server, the inevitable prompt will appear to enquire if you wish to overwrite the default SMTP certificate binding.  While the UI in the current versions of Exchange is slightly different, it was basically the same prompt in Exchange 2010 & Exchange 2007.

Exchange Prompt To Overwrite Default SMTP Certificate

While the prompt language was the same in Exchange 2007 and newer versions, the way that transpo… Read the rest “Should I Overwrite The Default Exchange SMTP Certificate?”