Public Folder Scripts and Basic Authentication

By now you must be conscious that Microsoft will flip off simple authentication in Office 365 later this calendar year and that will hit Exchange On the net severely. It’s not a huge offer when it comes to mail shoppers or the administrator console (EAC), but automation employing PowerShell scripts will be impacted and I not long ago ran into these an issue.

If you have an Exchange hybrid environment and are utilizing Community Folders, (some of) your Mailboxes are in Trade On the net, but your Community Folders are continue to on-premises. For this to work correctly, you General public Folder Mailboxes ought to be synchronized employing Azure Advert Connect, and you will have to run a PowerShell script (named Sync-ModernMailPublicFolders.ps1) to synchronize the mail-enabled General public Folders with Exchange On line.

This will work wonderful, right up until Fundamental Authentication is turned off and an error is proven:


Or in basic textual content:

Not able to produce a distant shell session to Trade Online. The mistake is as follows: “Connecting to remote server unsuccessful with the next error information: Entry is denied

You won’t detect this mistake instantly, but at some place you will recognize that modifications in General public Folders are not visible in Outlook any more.

The not proposed remedy is to re-enable standard authentication, but you can also down load the up to date script from Microsoft that assist modern-day authentication as of Could 2022. You can find the up to date Community Folder migration scripts on the Microsoft web page.

Notice: An additional pitfall listed here is conditional access enforcing MFA, I ran into this as nicely at a shopper, resulting in the very same error concept



With e mail being a person of the most mission-important resources for corporations nowadays, how do you guarantee crucial company conversation stays up and working? How do you display to senior administration that further assets are essential to meet developing demand from customers or that provider amounts are staying fulfilled?

Designed by Trade architects with direct product or service input from Trade MVPs, ENow’s Mailscape will make your position a lot easier by placing anything you need to have into a solitary, concise OneLook dashboard, in its place of forcing you to use fragmented and sophisticated resources for checking and reporting. Quick to deploy and intuitive to use, get started off with Mailscape in minutes fairly than days.

Accessibility YOUR Totally free 14-Day Demo and blend all crucial aspects for your Trade monitoring and reporting to retain your messaging infrastructure up and operating like a professional!


  • Consolidated dashboard look at of messaging environments health
  • Routinely validate exterior Mail flow, OWA, ActiveSync, Outlook Any where
  • Mail stream queue monitoring
  • DAG configuration and failover checking
  • Microsoft Security Patch verification
  • 200+ crafted-in, customizable reports, including: Mailbox dimension, Mail Website traffic, Quota, Storage, Distribution Lists, General public Folders, Databases measurement, OWA, Outlook model, permissions, SLA and cellular machine reviews

Access Free 14-Day Trial