# Keycloak Integration with Outlook

**URL:** <https://forum.keycloak.org/t/keycloak-integration-with-outlook/25171>\
**Category:** Getting advice\
**Created:** [March 22, 2024, 9:49am UTC](https://forum.keycloak.org/t/keycloak-integration-with-outlook/25171 "2024-03-22T09:49:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abenchrifa](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@Abenchrifa](https://forum.keycloak.org/u/Abenchrifa)\
**Post date:** [March 22, 2024, 9:49am UTC](https://forum.keycloak.org/t/keycloak-integration-with-outlook/25171/1 "2024-03-22T09:49:04Z")

</div>

Hello Keycloak Community,

I’m currently exploring options for implementing Single Sign-On (SSO) within Outlook using Keycloak. Could anyone share insights or best practices on how to configure Keycloak for seamless SSO integration with Outlook? Any tips or resources would be greatly appreciated. Thank you!

I’ve been following the steps outlined in the guide provided here [https://forum.keycloak.org/t/using-keycloak-as-idp-for-office365-and-sharepoint-online/21475/6](https://forum.keycloak.org/t/using-keycloak-as-idp-for-office365-and-sharepoint-online/21475/6) to set up Keycloak as the Identity Provider (IdP) for Office365 and SharePoint Online. However, during the configuration process, I encountered an error message:

```auto
Set-MsolDomainAuthentication : Unable to complete this action. Try again later.
At line:1 char:1
+ Set-MsolDomainAuthentication `
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : OperationStopped: (:) [Set-MsolDomainAuthentication], MicrosoftOnlineException
    + FullyQualifiedErrorId : Microsoft.Online.Administration.Automation.InternalServiceException,Microsoft.Online.Adm
   inistration.Automation.SetDomainAuthentication

```

I would appreciate any insights or guidance on resolving this issue. Thank you for your assistance!"
