Public Folder Scripts and Basic Authentication

Maria J. Smith

By now you need to be conscious that Microsoft will convert off primary authentication in Workplace 365 later on this calendar year and that will strike Exchange On-line seriously. It’s not a big offer when it will come to mail consumers or the administrator console (EAC), but automation utilizing PowerShell scripts will be impacted and I not long ago ran into these an concern.

If you have an Trade hybrid environment and are making use of Public Folders, (some of) your Mailboxes are in Exchange Online, but your General public Folders are nevertheless on-premises. For this to operate correctly, your Community Folder Mailboxes should be synchronized applying Azure Advert Connect, and you will have to operate a PowerShell script (known as Sync-ModernMailPublicFolders.ps1) to synchronize the mail-enabled Public Folders with Trade On line.

This operates fine, till Primary Authentication is turned off and an mistake is shown:

public-folders-error

Or in basic text:

Unable to make a remote shell session to Trade On the internet. The error is as follows: “Connecting to distant server outlook.workplace365.com unsuccessful with the subsequent mistake message: Access is denied

You will not see this mistake instantly, but at some place you will notice that modifications in Community Folders are not visible in Outlook anymore.

The not recommended resolution is to re-help essential authentication, but you can also down load the updated script from Microsoft that assistance modern day authentication as of May 2022. You can locate the up to date General public Folder migration scripts on the Microsoft site.

Observe: A different pitfall in this article is conditional access enforcing MFA, I ran into this as well at a shopper, resulting in the same error message.

 


Exchange-Monitoring-and-Reporting-CTA-banner

With electronic mail currently being one of the most mission-critical resources for corporations these days, how do you ensure vital business enterprise conversation stays up and managing? How do you show to senior management that additional resources are necessary to meet up with rising demand from customers or that services concentrations are becoming satisfied?

Created by Trade architects with immediate solution input from Exchange MVPs, ENow’s Mailscape helps make your job less complicated by placing everything you want into a solitary, concise OneLook dashboard, rather of forcing you to use fragmented and intricate instruments for checking and reporting. Effortless to deploy and intuitive to use, get began with Mailscape in minutes somewhat than days.

Entry YOUR Cost-free 14-Working day Trial and mix all essential features for your Exchange monitoring and reporting to retain your messaging infrastructure up and functioning like a pro!

Item HIGHLIGHTS

  • Consolidated dashboard perspective of messaging environments well being
  • Mechanically validate external Mail flow, OWA, ActiveSync, Outlook Everywhere
  • Mail flow queue checking
  • DAG configuration and failover checking
  • Microsoft Security Patch verification
  • 200+ created-in, customizable reviews, together with: Mailbox dimensions, Mail Site visitors, Quota, Storage, Distribution Lists, General public Folders, Databases measurement, OWA, Outlook variation, permissions, SLA and cell unit experiences

Access Free 14-Day Trial

Next Post

Apple and Google are coming for your car

We may possibly have gotten a sneak peek at the very long-rumored, extensive-awaited Apple Automobile when the firm unveiled the future era of its CarPlay aspect at its once-a-year Worldwide Builders Conference. The new CarPlay, due to be launched next yr, will primarily change your car’s dashboard into a large […]