Public Folder Scripts and Basic Authentication

By now you ought to be conscious that Microsoft will turn off simple authentication in Office 365 later this 12 months and that will hit Exchange Online seriously. It is not a major offer when it comes to mail clientele or the administrator console (EAC), but automation employing PowerShell scripts will be impacted and I lately ran into these kinds of an situation.

If you have an Exchange hybrid atmosphere and are working with Public Folders, (some of) your Mailboxes are in Trade On-line, but your Community Folders are even now on-premises. For this to function appropriately, your Community Folder Mailboxes will have to be synchronized employing Azure Advert Hook up, and you will have to operate a PowerShell script (named Sync-ModernMailPublicFolders.ps1) to synchronize the mail-enabled General public Folders with Trade Online.

This performs high-quality, until finally Primary Authentication is turned off and an mistake is shown:

public-folders-error

Or in plain text:

Unable to make a distant shell session to Trade On-line. The error is as follows: “Connecting to remote server outlook.office environment365.com unsuccessful with the pursuing error concept: Entry is denied

You won’t see this mistake immediately, but at some point you will notice that adjustments in Community Folders are not seen in Outlook any more.

The not advised alternative is to re-help fundamental authentication, but you can also download the up to date script from Microsoft that guidance fashionable authentication as of May well 2022. You can find the updated Community Folder migration scripts on the Microsoft site.

Be aware: Another pitfall in this article is conditional obtain enforcing MFA, I ran into this as very well at a client, resulting in the same error concept.

 


Exchange-Monitoring-and-Reporting-CTA-banner

With e mail staying one of the most mission-crucial equipment for businesses now, how do you guarantee vital organization conversation stays up and running? How do you reveal to senior management that extra sources are necessary to fulfill rising demand from customers or that service concentrations are remaining fulfilled?

Created by Trade architects with immediate product or service enter from Trade MVPs, ENow’s Mailscape tends to make your task easier by putting every little thing you want into a one, concise OneLook dashboard, as a substitute of forcing you to use fragmented and difficult resources for monitoring and reporting. Straightforward to deploy and intuitive to use, get started off with Mailscape in minutes rather than days.

Access YOUR Free of charge 14-Working day Demo and merge all critical components for your Trade checking and reporting to maintain your messaging infrastructure up and working like a professional!

Merchandise HIGHLIGHTS

  • Consolidated dashboard check out of messaging environments wellbeing
  • Mechanically validate external Mail movement, OWA, ActiveSync, Outlook Any where
  • Mail stream queue monitoring
  • DAG configuration and failover monitoring
  • Microsoft Protection Patch verification
  • 200+ crafted-in, customizable studies, together with: Mailbox dimensions, Mail Visitors, Quota, Storage, Distribution Lists, Community Folders, Database dimension, OWA, Outlook version, permissions, SLA and mobile device stories

Access Free 14-Day Trial