[GH-ISSUE #288] 401 Unauthorized Error on Azure Single Sign-On #1181

Closed
opened 2026-03-14 00:33:58 +03:00 by kerem · 4 comments
Owner

Originally created by @twes3 on GitHub (Oct 6, 2020).
Original GitHub issue: https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/288

We use Confluence as a platform and would like to use CalDav-Synchronizer to Synch Calendars between Confluence and Outlook.
To log into Confluence we recently switched to Azure AD and Single Sign On.

However, now CalDav can't access Confluence any more, even though the credentials are correct.
Up until this point, the calendar synchronization was working perfectly well.

I've attached the error message:

grafik

Any help is appreciated.

Originally created by @twes3 on GitHub (Oct 6, 2020). Original GitHub issue: https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/288 We use Confluence as a platform and would like to use CalDav-Synchronizer to Synch Calendars between Confluence and Outlook. To log into Confluence we recently switched to Azure AD and Single Sign On. However, now CalDav can't access Confluence any more, even though the credentials are correct. Up until this point, the calendar synchronization was working perfectly well. I've attached the error message: ![grafik](https://user-images.githubusercontent.com/45464588/95203649-5467ee00-07e3-11eb-98de-e6e3eb6b2409.png) Any help is appreciated.
kerem closed this issue 2026-03-14 00:34:03 +03:00
Author
Owner

@aluxnimm commented on GitHub (Oct 6, 2020):

Did you try different auth options?

If you expand the tree view of the profile you can configure network and proxy options and mapping configuration options. (only in advanced settings)

See force basic auth/preemptive auth settings there.

<!-- gh-comment-id:704256849 --> @aluxnimm commented on GitHub (Oct 6, 2020): Did you try different auth options? If you expand the tree view of the profile you can configure network and proxy options and mapping configuration options. (only in advanced settings) See force basic auth/preemptive auth settings there.
Author
Owner

@twes3 commented on GitHub (Oct 6, 2020):

Thank you for the answer, unfortunately it didn't solve the problem.
I tried any combination of basic auth/preemptive auth without luck.

Any other suggestions?

<!-- gh-comment-id:704262372 --> @twes3 commented on GitHub (Oct 6, 2020): Thank you for the answer, unfortunately it didn't solve the problem. I tried any combination of basic auth/preemptive auth without luck. Any other suggestions?
Author
Owner

@tpenndorf commented on GitHub (Nov 5, 2020):

Hi,
the question is: Is the outlook synchronizer able to authenticate via SAML?

<!-- gh-comment-id:722331527 --> @tpenndorf commented on GitHub (Nov 5, 2020): Hi, the question is: Is the outlook synchronizer able to authenticate via SAML?
Author
Owner

@twes3 commented on GitHub (Nov 12, 2020):

We managed to find a working solution for this issue:

When using SAML SSO in Confluence Datacenter/ Server and Team Calendars from Atlassian, https://marketplace.atlassian.com/apps/72307/team-calendars-for-confluence?hosting=server&tab=overview, you can use this API Token app https://marketplace.atlassian.com/apps/72307/team-calendars-for-confluence?hosting=server&tab=overview. Since it's latest release (1.5.1, released on 11/10/2020) it also supports CalDAV. Every user can then create a personal token which replaces the password in the CalDAV Synchronizer Outlook profile.
Confluence Cloud already provides API Tokens by default, so it should also work.

<!-- gh-comment-id:726205025 --> @twes3 commented on GitHub (Nov 12, 2020): We managed to find a working solution for this issue: When using SAML SSO in Confluence Datacenter/ Server and Team Calendars from Atlassian, [https://marketplace.atlassian.com/apps/72307/team-calendars-for-confluence?hosting=server&tab=overview](https://marketplace.atlassian.com/apps/72307/team-calendars-for-confluence?hosting=server&tab=overview), you can use this API Token app [https://marketplace.atlassian.com/apps/72307/team-calendars-for-confluence?hosting=server&tab=overview](https://marketplace.atlassian.com/apps/1221608/api-token-authentication-confluence?hosting=server&tab=overview). Since it's latest release (1.5.1, released on 11/10/2020) it also supports CalDAV. Every user can then create a personal token which replaces the password in the CalDAV Synchronizer Outlook profile. Confluence Cloud already provides API Tokens by default, so it should also work.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/outlookcaldavsynchronizer#1181
No description provided.