Published calendar link stops long before events finish.

Outlook 365 calendar link stops in November.  Can find any setting to fix it.  We do this all the time and have no idea why it isn't working.  Thanks.
Pat O'BrienPastorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vasil Michev (MVP)Commented:
When you publish a Calendar, there's a default cutoff date of 6 months. You can see the settings via:

Get-MailboxCalendarFolder user:\Calendar | fl Publish*

Open in new window

and change them if needed:

Set-MailboxCalendarFolder user:\Calendar -PublishDateRangeTo OneYear

Open in new window

You cannot go above 1year.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Pat O'BrienPastorAuthor Commented:
OK...worked last year...where is that setting?
Pat O'BrienPastorAuthor Commented:
I figure out powershell, but not getting results
PS C:\WINDOWS\system32> Set-MailboxCalendarFolder frpat:\calendar -PublishDateRangeTo OneYear
The parameters 'ResetUrl', 'SearchableUrlEnabled', 'PublishDateRangeFrom', 'PublishDateRangeTo' or 'DetailLevel'
cannot be set unless publishing is enabled. Please enable publishing using 'PublishEnabled' parameter first.
    + CategoryInfo          : NotSpecified: (frpat:\calendar:MailboxFolderIdParameter) [Set-MailboxCalendarFolder], Pu
    + FullyQualifiedErrorId : [Server=DM5PR15MB1691,RequestId=2d3e01bf-3317-4df7-a4fa-9688d7c4ddf4,TimeStamp=5/17/2018
    4:13:32 PM] [FailureCategory=Cmdlet-PublishingNotEnabledException] BCAA7537,Microsoft.Exchange.Management.StoreTa
    + PSComputerName        :
HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

Vasil Michev (MVP)Commented:
Have you verified that publishing is enabled on that folder? The example I gave assumes that it is, if not you have to enable it via -PublishEnabled $true.
Pat O'BrienPastorAuthor Commented:
I know nothing about this...Thanks...this is where we are, yet it isn't working
PublishEnabled       : True
PublishDateRangeFrom : ThreeMonths
PublishDateRangeTo   : OneYear
PublishedCalendarUrl :
PublishedICalUrl     :
Pat O'BrienPastorAuthor Commented:
Ok..I have it working for primary calendars...this is a secondary do I get its path?
Vasil Michev (MVP)Commented:
Same thing really, simply replace the identity parameter from user:\Calendar to user:\secondarycalendar.

Set-MailboxCalendarFolder user:\blabla\Cal -PublishEnabled $true -PublishDateRangeTo 1year

Open in new window

Vasil Michev (MVP)Commented:
If you feel this question wasn't answered or should be closed differently, post an objection. The moderators will review all objections and close it as they feel fit.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Office 365

From novice to tech pro — start learning today.