February 29, 2024


Welcome to World technology

Public Folder Scripts and Basic Authentication


By now you need to be informed that Microsoft will change off simple authentication in Office environment 365 later this 12 months and that will strike Exchange On-line seriously. It’s not a massive offer when it comes to mail customers or the administrator console (EAC), but automation making use of PowerShell scripts will be impacted and I not too long ago ran into such an concern.

If you have an Exchange hybrid atmosphere and are working with Community Folders, (some of) your Mailboxes are in Exchange On line, but your Community Folders are nevertheless on-premises. For this to do the job properly, your Public Folder Mailboxes must be synchronized employing Azure Advert Join, and you need to run a PowerShell script (known as Sync-ModernMailPublicFolders.ps1) to synchronize the mail-enabled General public Folders with Trade On the internet.

This operates great, right up until Fundamental Authentication is turned off and an mistake is demonstrated:


Or in plain text:

Not able to create a distant shell session to Trade Online. The mistake is as follows: “Connecting to distant server outlook.office environment365.com unsuccessful with the subsequent error information: Accessibility is denied

You will not see this error promptly, but at some stage you will observe that alterations in Community Folders are not noticeable in Outlook any more.

The not advisable resolution is to re-permit standard authentication, but you can also obtain the up-to-date script from Microsoft that assist present day authentication as of May possibly 2022. You can uncover the up to date General public Folder migration scripts on the Microsoft web site.

Be aware: Another pitfall in this article is conditional access imposing MFA, I ran into this as properly at a purchaser, ensuing in the exact mistake message.



With e mail remaining a single of the most mission-crucial resources for corporations currently, how do you assure crucial company communication stays up and managing? How do you show to senior management that extra sources are necessary to meet up with rising desire or that company degrees are currently being satisfied?

Designed by Trade architects with immediate merchandise enter from Exchange MVPs, ENow’s Mailscape makes your occupation much easier by placing every thing you need to have into a one, concise OneLook dashboard, alternatively of forcing you to use fragmented and challenging instruments for checking and reporting. Straightforward to deploy and intuitive to use, get began with Mailscape in minutes rather than times.

Accessibility YOUR No cost 14-Day Demo and blend all critical features for your Trade checking and reporting to maintain your messaging infrastructure up and working like a professional!

Product or service HIGHLIGHTS

  • Consolidated dashboard check out of messaging environments overall health
  • Mechanically confirm exterior Mail stream, OWA, ActiveSync, Outlook Wherever
  • Mail flow queue checking
  • DAG configuration and failover checking
  • Microsoft Security Patch verification
  • 200+ built-in, customizable reviews, together with: Mailbox measurement, Mail Targeted traffic, Quota, Storage, Distribution Lists, Public Folders, Databases sizing, OWA, Outlook model, permissions, SLA and cellular product stories

Access Free 14-Day Trial


Resource url